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

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

Issue 1763014: Update code to point to new location of WebThemeEngine.h (Closed) Base URL: svn://chrome-svn/chrome/trunk/src/
Patch Set: '' Created 10 years, 7 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) 2010 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2010 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/file_util.h" 8 #include "base/file_util.h"
9 #include "base/path_service.h" 9 #include "base/path_service.h"
10 #include "base/scoped_temp_dir.h" 10 #include "base/scoped_temp_dir.h"
11 #include "base/stats_counters.h" 11 #include "base/stats_counters.h"
12 #include "base/string_util.h" 12 #include "base/string_util.h"
13 #include "media/base/media.h" 13 #include "media/base/media.h"
14 #include "third_party/WebKit/WebKit/chromium/public/WebData.h" 14 #include "third_party/WebKit/WebKit/chromium/public/WebData.h"
15 #include "third_party/WebKit/WebKit/chromium/public/WebDatabase.h" 15 #include "third_party/WebKit/WebKit/chromium/public/WebDatabase.h"
16 #include "third_party/WebKit/WebKit/chromium/public/WebGraphicsContext3D.h" 16 #include "third_party/WebKit/WebKit/chromium/public/WebGraphicsContext3D.h"
17 #include "third_party/WebKit/WebKit/chromium/public/WebRuntimeFeatures.h" 17 #include "third_party/WebKit/WebKit/chromium/public/WebRuntimeFeatures.h"
18 #include "third_party/WebKit/WebKit/chromium/public/WebKit.h" 18 #include "third_party/WebKit/WebKit/chromium/public/WebKit.h"
19 #include "third_party/WebKit/WebKit/chromium/public/WebScriptController.h" 19 #include "third_party/WebKit/WebKit/chromium/public/WebScriptController.h"
20 #include "third_party/WebKit/WebKit/chromium/public/WebSecurityPolicy.h" 20 #include "third_party/WebKit/WebKit/chromium/public/WebSecurityPolicy.h"
21 #include "third_party/WebKit/WebKit/chromium/public/WebStorageArea.h" 21 #include "third_party/WebKit/WebKit/chromium/public/WebStorageArea.h"
22 #include "third_party/WebKit/WebKit/chromium/public/WebStorageEventDispatcher.h" 22 #include "third_party/WebKit/WebKit/chromium/public/WebStorageEventDispatcher.h"
23 #include "third_party/WebKit/WebKit/chromium/public/WebStorageNamespace.h" 23 #include "third_party/WebKit/WebKit/chromium/public/WebStorageNamespace.h"
24 #include "third_party/WebKit/WebKit/chromium/public/WebString.h" 24 #include "third_party/WebKit/WebKit/chromium/public/WebString.h"
25 #include "third_party/WebKit/WebKit/chromium/public/WebThemeEngine.h"
25 #include "third_party/WebKit/WebKit/chromium/public/WebURL.h" 26 #include "third_party/WebKit/WebKit/chromium/public/WebURL.h"
26 #include "webkit/database/vfs_backend.h" 27 #include "webkit/database/vfs_backend.h"
27 #include "webkit/extensions/v8/gears_extension.h" 28 #include "webkit/extensions/v8/gears_extension.h"
28 #include "webkit/extensions/v8/interval_extension.h" 29 #include "webkit/extensions/v8/interval_extension.h"
29 #include "webkit/glue/webclipboard_impl.h" 30 #include "webkit/glue/webclipboard_impl.h"
30 #include "webkit/glue/webkit_glue.h" 31 #include "webkit/glue/webkit_glue.h"
31 #include "webkit/glue/webkitclient_impl.h" 32 #include "webkit/glue/webkitclient_impl.h"
32 #include "webkit/tools/test_shell/mock_webclipboard_impl.h" 33 #include "webkit/tools/test_shell/mock_webclipboard_impl.h"
33 #include "webkit/tools/test_shell/simple_appcache_system.h" 34 #include "webkit/tools/test_shell/simple_appcache_system.h"
34 #include "webkit/tools/test_shell/simple_database_system.h" 35 #include "webkit/tools/test_shell/simple_database_system.h"
35 #include "webkit/tools/test_shell/simple_resource_loader_bridge.h" 36 #include "webkit/tools/test_shell/simple_resource_loader_bridge.h"
36 #include "webkit/tools/test_shell/simple_webcookiejar_impl.h" 37 #include "webkit/tools/test_shell/simple_webcookiejar_impl.h"
37 #include "webkit/tools/test_shell/test_shell_webmimeregistry_impl.h" 38 #include "webkit/tools/test_shell/test_shell_webmimeregistry_impl.h"
38 #include "v8/include/v8.h" 39 #include "v8/include/v8.h"
39 40
40 #if defined(OS_WIN) 41 #if defined(OS_WIN)
41 #include "third_party/WebKit/WebKit/chromium/public/win/WebThemeEngine.h"
42 #include "webkit/tools/test_shell/test_shell_webthemeengine.h" 42 #include "webkit/tools/test_shell/test_shell_webthemeengine.h"
43 #endif 43 #endif
44 44
45 class TestShellWebKitInit : public webkit_glue::WebKitClientImpl { 45 class TestShellWebKitInit : public webkit_glue::WebKitClientImpl {
46 public: 46 public:
47 explicit TestShellWebKitInit(bool layout_test_mode) { 47 explicit TestShellWebKitInit(bool layout_test_mode) {
48 v8::V8::SetCounterFunction(StatsTable::FindLocation); 48 v8::V8::SetCounterFunction(StatsTable::FindLocation);
49 49
50 WebKit::initialize(this); 50 WebKit::initialize(this);
51 WebKit::setLayoutTestMode(layout_test_mode); 51 WebKit::setLayoutTestMode(layout_test_mode);
(...skipping 182 matching lines...) Expand 10 before | Expand all | Expand 10 after
234 } 234 }
235 235
236 private: 236 private:
237 TestShellWebMimeRegistryImpl mime_registry_; 237 TestShellWebMimeRegistryImpl mime_registry_;
238 MockWebClipboardImpl mock_clipboard_; 238 MockWebClipboardImpl mock_clipboard_;
239 webkit_glue::WebClipboardImpl real_clipboard_; 239 webkit_glue::WebClipboardImpl real_clipboard_;
240 ScopedTempDir appcache_dir_; 240 ScopedTempDir appcache_dir_;
241 SimpleAppCacheSystem appcache_system_; 241 SimpleAppCacheSystem appcache_system_;
242 SimpleDatabaseSystem database_system_; 242 SimpleDatabaseSystem database_system_;
243 SimpleWebCookieJarImpl cookie_jar_; 243 SimpleWebCookieJarImpl cookie_jar_;
244 244
245 #if defined(OS_WIN) 245 #if defined(OS_WIN)
246 WebKit::WebThemeEngine* active_theme_engine_; 246 WebKit::WebThemeEngine* active_theme_engine_;
247 #endif 247 #endif
248 }; 248 };
249 249
250 #endif // WEBKIT_TOOLS_TEST_SHELL_TEST_SHELL_WEBKIT_INIT_H_ 250 #endif // WEBKIT_TOOLS_TEST_SHELL_TEST_SHELL_WEBKIT_INIT_H_
OLDNEW
« no previous file with comments | « webkit/support/test_webkit_client.cc ('k') | webkit/tools/test_shell/test_shell_webthemeengine.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698