OLD | NEW |
1 // Copyright (c) 2011 The Chromium Authors. All rights reserved. | 1 // Copyright (c) 2011 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/utf_string_conversions.h" | 8 #include "base/utf_string_conversions.h" |
9 #include "third_party/WebKit/Source/WebKit/chromium/public/WebIDBFactory.h" | 9 #include "third_party/WebKit/Source/WebKit/chromium/public/WebIDBFactory.h" |
10 #include "third_party/WebKit/Source/WebKit/chromium/public/WebIDBKey.h" | 10 #include "third_party/WebKit/Source/WebKit/chromium/public/WebIDBKey.h" |
(...skipping 14 matching lines...) Expand all Loading... |
25 #include "webkit/tools/test_shell/test_shell_webblobregistry_impl.h" | 25 #include "webkit/tools/test_shell/test_shell_webblobregistry_impl.h" |
26 #include "webkit/tools/test_shell/test_shell_webmimeregistry_impl.h" | 26 #include "webkit/tools/test_shell/test_shell_webmimeregistry_impl.h" |
27 | 27 |
28 #if defined(OS_WIN) | 28 #if defined(OS_WIN) |
29 #include "webkit/tools/test_shell/test_shell_webthemeengine.h" | 29 #include "webkit/tools/test_shell/test_shell_webthemeengine.h" |
30 #endif | 30 #endif |
31 | 31 |
32 class TestShellWebKitInit : public webkit_glue::WebKitClientImpl { | 32 class TestShellWebKitInit : public webkit_glue::WebKitClientImpl { |
33 public: | 33 public: |
34 explicit TestShellWebKitInit(bool layout_test_mode); | 34 explicit TestShellWebKitInit(bool layout_test_mode); |
35 ~TestShellWebKitInit(); | 35 virtual ~TestShellWebKitInit(); |
36 | 36 |
37 virtual WebKit::WebMimeRegistry* mimeRegistry(); | 37 virtual WebKit::WebMimeRegistry* mimeRegistry(); |
38 virtual WebKit::WebClipboard* clipboard(); | 38 virtual WebKit::WebClipboard* clipboard(); |
39 virtual WebKit::WebFileUtilities* fileUtilities(); | 39 virtual WebKit::WebFileUtilities* fileUtilities(); |
40 virtual WebKit::WebSandboxSupport* sandboxSupport(); | 40 virtual WebKit::WebSandboxSupport* sandboxSupport(); |
41 virtual WebKit::WebCookieJar* cookieJar(); | 41 virtual WebKit::WebCookieJar* cookieJar(); |
42 virtual WebKit::WebBlobRegistry* blobRegistry(); | 42 virtual WebKit::WebBlobRegistry* blobRegistry(); |
43 virtual WebKit::WebFileSystem* fileSystem(); | 43 virtual WebKit::WebFileSystem* fileSystem(); |
44 virtual bool sandboxEnabled(); | 44 virtual bool sandboxEnabled(); |
45 virtual WebKit::WebKitClient::FileHandle databaseOpenFile( | 45 virtual WebKit::WebKitClient::FileHandle databaseOpenFile( |
(...skipping 66 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
112 SimpleWebCookieJarImpl cookie_jar_; | 112 SimpleWebCookieJarImpl cookie_jar_; |
113 scoped_refptr<TestShellWebBlobRegistryImpl> blob_registry_; | 113 scoped_refptr<TestShellWebBlobRegistryImpl> blob_registry_; |
114 SimpleFileSystem file_system_; | 114 SimpleFileSystem file_system_; |
115 | 115 |
116 #if defined(OS_WIN) | 116 #if defined(OS_WIN) |
117 WebKit::WebThemeEngine* active_theme_engine_; | 117 WebKit::WebThemeEngine* active_theme_engine_; |
118 #endif | 118 #endif |
119 }; | 119 }; |
120 | 120 |
121 #endif // WEBKIT_TOOLS_TEST_SHELL_TEST_SHELL_WEBKIT_INIT_H_ | 121 #endif // WEBKIT_TOOLS_TEST_SHELL_TEST_SHELL_WEBKIT_INIT_H_ |
OLD | NEW |