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" |
11 #include "third_party/WebKit/Source/WebKit/chromium/public/WebIDBKey.h" | |
12 #include "third_party/WebKit/Source/WebKit/chromium/public/WebIDBKeyPath.h" | |
13 #include "third_party/WebKit/Source/WebKit/chromium/public/WebStorageNamespace.h
" | 11 #include "third_party/WebKit/Source/WebKit/chromium/public/WebStorageNamespace.h
" |
14 #include "third_party/WebKit/Source/WebKit/chromium/public/platform/WebSerialize
dScriptValue.h" | |
15 #include "webkit/glue/webclipboard_impl.h" | 12 #include "webkit/glue/webclipboard_impl.h" |
16 #include "webkit/glue/webfileutilities_impl.h" | 13 #include "webkit/glue/webfileutilities_impl.h" |
17 #include "webkit/glue/webkit_glue.h" | 14 #include "webkit/glue/webkit_glue.h" |
18 #include "webkit/glue/webkitplatformsupport_impl.h" | 15 #include "webkit/glue/webkitplatformsupport_impl.h" |
19 #include "webkit/gpu/webgraphicscontext3d_in_process_impl.h" | 16 #include "webkit/gpu/webgraphicscontext3d_in_process_impl.h" |
20 #include "webkit/support/simple_database_system.h" | 17 #include "webkit/support/simple_database_system.h" |
21 #include "webkit/tools/test_shell/mock_webclipboard_impl.h" | 18 #include "webkit/tools/test_shell/mock_webclipboard_impl.h" |
22 #include "webkit/tools/test_shell/simple_appcache_system.h" | 19 #include "webkit/tools/test_shell/simple_appcache_system.h" |
23 #include "webkit/tools/test_shell/simple_clipboard_impl.h" | 20 #include "webkit/tools/test_shell/simple_clipboard_impl.h" |
24 #include "webkit/tools/test_shell/simple_dom_storage_system.h" | 21 #include "webkit/tools/test_shell/simple_dom_storage_system.h" |
(...skipping 46 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
71 const WebKit::WebString& value1, | 68 const WebKit::WebString& value1, |
72 const WebKit::WebString& value2) OVERRIDE; | 69 const WebKit::WebString& value2) OVERRIDE; |
73 | 70 |
74 virtual WebKit::WebString defaultLocale() OVERRIDE; | 71 virtual WebKit::WebString defaultLocale() OVERRIDE; |
75 | 72 |
76 virtual WebKit::WebStorageNamespace* createLocalStorageNamespace( | 73 virtual WebKit::WebStorageNamespace* createLocalStorageNamespace( |
77 const WebKit::WebString& path, unsigned quota) OVERRIDE; | 74 const WebKit::WebString& path, unsigned quota) OVERRIDE; |
78 | 75 |
79 virtual WebKit::WebIDBFactory* idbFactory() OVERRIDE; | 76 virtual WebKit::WebIDBFactory* idbFactory() OVERRIDE; |
80 | 77 |
81 virtual void createIDBKeysFromSerializedValuesAndKeyPath( | |
82 const WebKit::WebVector<WebKit::WebSerializedScriptValue>& values, | |
83 const WebKit::WebIDBKeyPath& keyPath, | |
84 WebKit::WebVector<WebKit::WebIDBKey>& keys_out) OVERRIDE; | |
85 | |
86 virtual WebKit::WebSerializedScriptValue injectIDBKeyIntoSerializedValue( | |
87 const WebKit::WebIDBKey& key, | |
88 const WebKit::WebSerializedScriptValue& value, | |
89 const WebKit::WebIDBKeyPath& keyPath) OVERRIDE; | |
90 | |
91 | |
92 #if defined(OS_WIN) | 78 #if defined(OS_WIN) |
93 void SetThemeEngine(WebKit::WebThemeEngine* engine) { | 79 void SetThemeEngine(WebKit::WebThemeEngine* engine) { |
94 active_theme_engine_ = engine ? | 80 active_theme_engine_ = engine ? |
95 engine : WebKitPlatformSupportImpl::themeEngine(); | 81 engine : WebKitPlatformSupportImpl::themeEngine(); |
96 } | 82 } |
97 | 83 |
98 virtual WebKit::WebThemeEngine *themeEngine() OVERRIDE { | 84 virtual WebKit::WebThemeEngine *themeEngine() OVERRIDE { |
99 return active_theme_engine_; | 85 return active_theme_engine_; |
100 } | 86 } |
101 #endif | 87 #endif |
(...skipping 28 matching lines...) Expand all Loading... |
130 SimpleWebCookieJarImpl cookie_jar_; | 116 SimpleWebCookieJarImpl cookie_jar_; |
131 scoped_refptr<TestShellWebBlobRegistryImpl> blob_registry_; | 117 scoped_refptr<TestShellWebBlobRegistryImpl> blob_registry_; |
132 SimpleFileSystem file_system_; | 118 SimpleFileSystem file_system_; |
133 | 119 |
134 #if defined(OS_WIN) | 120 #if defined(OS_WIN) |
135 WebKit::WebThemeEngine* active_theme_engine_; | 121 WebKit::WebThemeEngine* active_theme_engine_; |
136 #endif | 122 #endif |
137 }; | 123 }; |
138 | 124 |
139 #endif // WEBKIT_TOOLS_TEST_SHELL_TEST_SHELL_WEBKIT_INIT_H_ | 125 #endif // WEBKIT_TOOLS_TEST_SHELL_TEST_SHELL_WEBKIT_INIT_H_ |
OLD | NEW |