| OLD | NEW |
| 1 // Copyright (c) 2012 The Chromium Authors. All rights reserved. | 1 // Copyright (c) 2012 The Chromium Authors. All rights reserved. |
| 2 // Use of this source code is governed by a BSD-style license that can be | 2 // Use of this source code is governed by a BSD-style license that can be |
| 3 // found in the LICENSE file. | 3 // found in the LICENSE file. |
| 4 | 4 |
| 5 #ifndef WEBKIT_TOOLS_TEST_SHELL_TEST_SHELL_WEBKIT_INIT_H_ | 5 #ifndef WEBKIT_TOOLS_TEST_SHELL_TEST_SHELL_WEBKIT_INIT_H_ |
| 6 #define WEBKIT_TOOLS_TEST_SHELL_TEST_SHELL_WEBKIT_INIT_H_ | 6 #define WEBKIT_TOOLS_TEST_SHELL_TEST_SHELL_WEBKIT_INIT_H_ |
| 7 | 7 |
| 8 #include "base/compiler_specific.h" | 8 #include "base/compiler_specific.h" |
| 9 #include "base/utf_string_conversions.h" | 9 #include "base/utf_string_conversions.h" |
| 10 #include "third_party/WebKit/Source/WebKit/chromium/public/WebIDBFactory.h" | 10 #include "third_party/WebKit/Source/WebKit/chromium/public/WebIDBFactory.h" |
| (...skipping 62 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 73 | 73 |
| 74 virtual WebKit::WebString defaultLocale() OVERRIDE; | 74 virtual WebKit::WebString defaultLocale() OVERRIDE; |
| 75 | 75 |
| 76 virtual WebKit::WebStorageNamespace* createLocalStorageNamespace( | 76 virtual WebKit::WebStorageNamespace* createLocalStorageNamespace( |
| 77 const WebKit::WebString& path, unsigned quota) OVERRIDE; | 77 const WebKit::WebString& path, unsigned quota) OVERRIDE; |
| 78 | 78 |
| 79 virtual WebKit::WebIDBFactory* idbFactory() OVERRIDE; | 79 virtual WebKit::WebIDBFactory* idbFactory() OVERRIDE; |
| 80 | 80 |
| 81 virtual void createIDBKeysFromSerializedValuesAndKeyPath( | 81 virtual void createIDBKeysFromSerializedValuesAndKeyPath( |
| 82 const WebKit::WebVector<WebKit::WebSerializedScriptValue>& values, | 82 const WebKit::WebVector<WebKit::WebSerializedScriptValue>& values, |
| 83 const WebKit::WebString& keyPath, | 83 const WebKit::WebIDBKeyPath& keyPath, |
| 84 WebKit::WebVector<WebKit::WebIDBKey>& keys_out) OVERRIDE; | 84 WebKit::WebVector<WebKit::WebIDBKey>& keys_out) OVERRIDE; |
| 85 | 85 |
| 86 virtual WebKit::WebSerializedScriptValue injectIDBKeyIntoSerializedValue( | 86 virtual WebKit::WebSerializedScriptValue injectIDBKeyIntoSerializedValue( |
| 87 const WebKit::WebIDBKey& key, | 87 const WebKit::WebIDBKey& key, |
| 88 const WebKit::WebSerializedScriptValue& value, | 88 const WebKit::WebSerializedScriptValue& value, |
| 89 const WebKit::WebString& keyPath) OVERRIDE; | 89 const WebKit::WebIDBKeyPath& keyPath) OVERRIDE; |
| 90 | 90 |
| 91 | 91 |
| 92 #if defined(OS_WIN) | 92 #if defined(OS_WIN) |
| 93 void SetThemeEngine(WebKit::WebThemeEngine* engine) { | 93 void SetThemeEngine(WebKit::WebThemeEngine* engine) { |
| 94 active_theme_engine_ = engine ? | 94 active_theme_engine_ = engine ? |
| 95 engine : WebKitPlatformSupportImpl::themeEngine(); | 95 engine : WebKitPlatformSupportImpl::themeEngine(); |
| 96 } | 96 } |
| 97 | 97 |
| 98 virtual WebKit::WebThemeEngine *themeEngine() OVERRIDE { | 98 virtual WebKit::WebThemeEngine *themeEngine() OVERRIDE { |
| 99 return active_theme_engine_; | 99 return active_theme_engine_; |
| (...skipping 28 matching lines...) Expand all Loading... |
| 128 SimpleWebCookieJarImpl cookie_jar_; | 128 SimpleWebCookieJarImpl cookie_jar_; |
| 129 scoped_refptr<TestShellWebBlobRegistryImpl> blob_registry_; | 129 scoped_refptr<TestShellWebBlobRegistryImpl> blob_registry_; |
| 130 SimpleFileSystem file_system_; | 130 SimpleFileSystem file_system_; |
| 131 | 131 |
| 132 #if defined(OS_WIN) | 132 #if defined(OS_WIN) |
| 133 WebKit::WebThemeEngine* active_theme_engine_; | 133 WebKit::WebThemeEngine* active_theme_engine_; |
| 134 #endif | 134 #endif |
| 135 }; | 135 }; |
| 136 | 136 |
| 137 #endif // WEBKIT_TOOLS_TEST_SHELL_TEST_SHELL_WEBKIT_INIT_H_ | 137 #endif // WEBKIT_TOOLS_TEST_SHELL_TEST_SHELL_WEBKIT_INIT_H_ |
| OLD | NEW |