| 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 88 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 99 active_theme_engine_ = engine ? | 99 active_theme_engine_ = engine ? |
| 100 engine : WebKitPlatformSupportImpl::themeEngine(); | 100 engine : WebKitPlatformSupportImpl::themeEngine(); |
| 101 } | 101 } |
| 102 | 102 |
| 103 virtual WebKit::WebThemeEngine *themeEngine() OVERRIDE { | 103 virtual WebKit::WebThemeEngine *themeEngine() OVERRIDE { |
| 104 return active_theme_engine_; | 104 return active_theme_engine_; |
| 105 } | 105 } |
| 106 #endif | 106 #endif |
| 107 | 107 |
| 108 virtual WebKit::WebSharedWorkerRepository* sharedWorkerRepository() OVERRIDE; | 108 virtual WebKit::WebSharedWorkerRepository* sharedWorkerRepository() OVERRIDE; |
| 109 virtual WebKit::WebGraphicsContext3D* createGraphicsContext3D() OVERRIDE; | |
| 110 virtual WebKit::WebGraphicsContext3D* createOffscreenGraphicsContext3D( | 109 virtual WebKit::WebGraphicsContext3D* createOffscreenGraphicsContext3D( |
| 111 const WebKit::WebGraphicsContext3D::Attributes& attributes); | 110 const WebKit::WebGraphicsContext3D::Attributes& attributes); |
| 112 | 111 |
| 113 virtual string16 GetLocalizedString(int message_id) OVERRIDE; | 112 virtual string16 GetLocalizedString(int message_id) OVERRIDE; |
| 114 virtual base::StringPiece GetDataResource(int resource_id) OVERRIDE; | 113 virtual base::StringPiece GetDataResource(int resource_id) OVERRIDE; |
| 115 virtual void GetPlugins(bool refresh, | 114 virtual void GetPlugins(bool refresh, |
| 116 std::vector<webkit::WebPluginInfo>* plugins) OVERRIDE; | 115 std::vector<webkit::WebPluginInfo>* plugins) OVERRIDE; |
| 117 virtual webkit_glue::ResourceLoaderBridge* CreateResourceLoader( | 116 virtual webkit_glue::ResourceLoaderBridge* CreateResourceLoader( |
| 118 const webkit_glue::ResourceLoaderBridge::RequestInfo& request_info) | 117 const webkit_glue::ResourceLoaderBridge::RequestInfo& request_info) |
| 119 OVERRIDE; | 118 OVERRIDE; |
| (...skipping 13 matching lines...) Expand all Loading... |
| 133 SimpleWebCookieJarImpl cookie_jar_; | 132 SimpleWebCookieJarImpl cookie_jar_; |
| 134 scoped_refptr<TestShellWebBlobRegistryImpl> blob_registry_; | 133 scoped_refptr<TestShellWebBlobRegistryImpl> blob_registry_; |
| 135 SimpleFileSystem file_system_; | 134 SimpleFileSystem file_system_; |
| 136 | 135 |
| 137 #if defined(OS_WIN) | 136 #if defined(OS_WIN) |
| 138 WebKit::WebThemeEngine* active_theme_engine_; | 137 WebKit::WebThemeEngine* active_theme_engine_; |
| 139 #endif | 138 #endif |
| 140 }; | 139 }; |
| 141 | 140 |
| 142 #endif // WEBKIT_TOOLS_TEST_SHELL_TEST_SHELL_WEBKIT_INIT_H_ | 141 #endif // WEBKIT_TOOLS_TEST_SHELL_TEST_SHELL_WEBKIT_INIT_H_ |
| OLD | NEW |