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 68 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
79 void SetThemeEngine(WebKit::WebThemeEngine* engine) { | 79 void SetThemeEngine(WebKit::WebThemeEngine* engine) { |
80 active_theme_engine_ = engine ? | 80 active_theme_engine_ = engine ? |
81 engine : WebKitPlatformSupportImpl::themeEngine(); | 81 engine : WebKitPlatformSupportImpl::themeEngine(); |
82 } | 82 } |
83 | 83 |
84 virtual WebKit::WebThemeEngine *themeEngine() OVERRIDE { | 84 virtual WebKit::WebThemeEngine *themeEngine() OVERRIDE { |
85 return active_theme_engine_; | 85 return active_theme_engine_; |
86 } | 86 } |
87 #endif | 87 #endif |
88 | 88 |
89 virtual WebKit::WebSharedWorkerRepository* sharedWorkerRepository() OVERRIDE; | |
90 virtual WebKit::WebGraphicsContext3D* createOffscreenGraphicsContext3D( | 89 virtual WebKit::WebGraphicsContext3D* createOffscreenGraphicsContext3D( |
91 const WebKit::WebGraphicsContext3D::Attributes& attributes); | 90 const WebKit::WebGraphicsContext3D::Attributes& attributes); |
92 | 91 |
93 virtual string16 GetLocalizedString(int message_id) OVERRIDE; | 92 virtual string16 GetLocalizedString(int message_id) OVERRIDE; |
94 virtual base::StringPiece GetDataResource( | 93 virtual base::StringPiece GetDataResource( |
95 int resource_id, | 94 int resource_id, |
96 ui::ScaleFactor scale_factor) OVERRIDE; | 95 ui::ScaleFactor scale_factor) OVERRIDE; |
97 virtual void GetPlugins(bool refresh, | 96 virtual void GetPlugins(bool refresh, |
98 std::vector<webkit::WebPluginInfo>* plugins) OVERRIDE; | 97 std::vector<webkit::WebPluginInfo>* plugins) OVERRIDE; |
99 virtual webkit_glue::ResourceLoaderBridge* CreateResourceLoader( | 98 virtual webkit_glue::ResourceLoaderBridge* CreateResourceLoader( |
(...skipping 16 matching lines...) Expand all Loading... |
116 SimpleWebCookieJarImpl cookie_jar_; | 115 SimpleWebCookieJarImpl cookie_jar_; |
117 scoped_refptr<TestShellWebBlobRegistryImpl> blob_registry_; | 116 scoped_refptr<TestShellWebBlobRegistryImpl> blob_registry_; |
118 SimpleFileSystem file_system_; | 117 SimpleFileSystem file_system_; |
119 | 118 |
120 #if defined(OS_WIN) | 119 #if defined(OS_WIN) |
121 WebKit::WebThemeEngine* active_theme_engine_; | 120 WebKit::WebThemeEngine* active_theme_engine_; |
122 #endif | 121 #endif |
123 }; | 122 }; |
124 | 123 |
125 #endif // WEBKIT_TOOLS_TEST_SHELL_TEST_SHELL_WEBKIT_INIT_H_ | 124 #endif // WEBKIT_TOOLS_TEST_SHELL_TEST_SHELL_WEBKIT_INIT_H_ |
OLD | NEW |