Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(75)

Side by Side Diff: webkit/tools/test_shell/test_shell_webkit_init.h

Issue 10873028: Revert 152873 - Remove all the indexeddb-related utility process code (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src/
Patch Set: Created 8 years, 3 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch | Annotate | Revision Log
OLDNEW
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"
11 #include "third_party/WebKit/Source/WebKit/chromium/public/WebStorageNamespace.h " 13 #include "third_party/WebKit/Source/WebKit/chromium/public/WebStorageNamespace.h "
14 #include "third_party/WebKit/Source/WebKit/chromium/public/platform/WebSerialize dScriptValue.h"
12 #include "webkit/glue/webclipboard_impl.h" 15 #include "webkit/glue/webclipboard_impl.h"
13 #include "webkit/glue/webfileutilities_impl.h" 16 #include "webkit/glue/webfileutilities_impl.h"
14 #include "webkit/glue/webkit_glue.h" 17 #include "webkit/glue/webkit_glue.h"
15 #include "webkit/glue/webkitplatformsupport_impl.h" 18 #include "webkit/glue/webkitplatformsupport_impl.h"
16 #include "webkit/gpu/webgraphicscontext3d_in_process_impl.h" 19 #include "webkit/gpu/webgraphicscontext3d_in_process_impl.h"
17 #include "webkit/support/simple_database_system.h" 20 #include "webkit/support/simple_database_system.h"
18 #include "webkit/tools/test_shell/mock_webclipboard_impl.h" 21 #include "webkit/tools/test_shell/mock_webclipboard_impl.h"
19 #include "webkit/tools/test_shell/simple_appcache_system.h" 22 #include "webkit/tools/test_shell/simple_appcache_system.h"
20 #include "webkit/tools/test_shell/simple_clipboard_impl.h" 23 #include "webkit/tools/test_shell/simple_clipboard_impl.h"
21 #include "webkit/tools/test_shell/simple_dom_storage_system.h" 24 #include "webkit/tools/test_shell/simple_dom_storage_system.h"
(...skipping 46 matching lines...) Expand 10 before | Expand all | Expand 10 after
68 const WebKit::WebString& value1, 71 const WebKit::WebString& value1,
69 const WebKit::WebString& value2) OVERRIDE; 72 const WebKit::WebString& value2) OVERRIDE;
70 73
71 virtual WebKit::WebString defaultLocale() OVERRIDE; 74 virtual WebKit::WebString defaultLocale() OVERRIDE;
72 75
73 virtual WebKit::WebStorageNamespace* createLocalStorageNamespace( 76 virtual WebKit::WebStorageNamespace* createLocalStorageNamespace(
74 const WebKit::WebString& path, unsigned quota) OVERRIDE; 77 const WebKit::WebString& path, unsigned quota) OVERRIDE;
75 78
76 virtual WebKit::WebIDBFactory* idbFactory() OVERRIDE; 79 virtual WebKit::WebIDBFactory* idbFactory() OVERRIDE;
77 80
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
78 #if defined(OS_WIN) 92 #if defined(OS_WIN)
79 void SetThemeEngine(WebKit::WebThemeEngine* engine) { 93 void SetThemeEngine(WebKit::WebThemeEngine* engine) {
80 active_theme_engine_ = engine ? 94 active_theme_engine_ = engine ?
81 engine : WebKitPlatformSupportImpl::themeEngine(); 95 engine : WebKitPlatformSupportImpl::themeEngine();
82 } 96 }
83 97
84 virtual WebKit::WebThemeEngine *themeEngine() OVERRIDE { 98 virtual WebKit::WebThemeEngine *themeEngine() OVERRIDE {
85 return active_theme_engine_; 99 return active_theme_engine_;
86 } 100 }
87 #endif 101 #endif
(...skipping 28 matching lines...) Expand all
116 SimpleWebCookieJarImpl cookie_jar_; 130 SimpleWebCookieJarImpl cookie_jar_;
117 scoped_refptr<TestShellWebBlobRegistryImpl> blob_registry_; 131 scoped_refptr<TestShellWebBlobRegistryImpl> blob_registry_;
118 SimpleFileSystem file_system_; 132 SimpleFileSystem file_system_;
119 133
120 #if defined(OS_WIN) 134 #if defined(OS_WIN)
121 WebKit::WebThemeEngine* active_theme_engine_; 135 WebKit::WebThemeEngine* active_theme_engine_;
122 #endif 136 #endif
123 }; 137 };
124 138
125 #endif // WEBKIT_TOOLS_TEST_SHELL_TEST_SHELL_WEBKIT_INIT_H_ 139 #endif // WEBKIT_TOOLS_TEST_SHELL_TEST_SHELL_WEBKIT_INIT_H_
OLDNEW
« no previous file with comments | « webkit/support/test_webkit_platform_support.cc ('k') | webkit/tools/test_shell/test_shell_webkit_init.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698