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

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

Issue 9226036: Refactor WebGraphicsContext3DInProcess and TestWebGraphicsContext3D (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 8 years, 11 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) 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/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
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 109
111 virtual string16 GetLocalizedString(int message_id) OVERRIDE; 110 virtual string16 GetLocalizedString(int message_id) OVERRIDE;
112 virtual base::StringPiece GetDataResource(int resource_id) OVERRIDE; 111 virtual base::StringPiece GetDataResource(int resource_id) OVERRIDE;
113 virtual void GetPlugins(bool refresh, 112 virtual void GetPlugins(bool refresh,
114 std::vector<webkit::WebPluginInfo>* plugins) OVERRIDE; 113 std::vector<webkit::WebPluginInfo>* plugins) OVERRIDE;
115 virtual webkit_glue::ResourceLoaderBridge* CreateResourceLoader( 114 virtual webkit_glue::ResourceLoaderBridge* CreateResourceLoader(
116 const webkit_glue::ResourceLoaderBridge::RequestInfo& request_info) 115 const webkit_glue::ResourceLoaderBridge::RequestInfo& request_info)
117 OVERRIDE; 116 OVERRIDE;
118 virtual webkit_glue::WebSocketStreamHandleBridge* CreateWebSocketBridge( 117 virtual webkit_glue::WebSocketStreamHandleBridge* CreateWebSocketBridge(
119 WebKit::WebSocketStreamHandle* handle, 118 WebKit::WebSocketStreamHandle* handle,
(...skipping 11 matching lines...) Expand all
131 SimpleWebCookieJarImpl cookie_jar_; 130 SimpleWebCookieJarImpl cookie_jar_;
132 scoped_refptr<TestShellWebBlobRegistryImpl> blob_registry_; 131 scoped_refptr<TestShellWebBlobRegistryImpl> blob_registry_;
133 SimpleFileSystem file_system_; 132 SimpleFileSystem file_system_;
134 133
135 #if defined(OS_WIN) 134 #if defined(OS_WIN)
136 WebKit::WebThemeEngine* active_theme_engine_; 135 WebKit::WebThemeEngine* active_theme_engine_;
137 #endif 136 #endif
138 }; 137 };
139 138
140 #endif // WEBKIT_TOOLS_TEST_SHELL_TEST_SHELL_WEBKIT_INIT_H_ 139 #endif // WEBKIT_TOOLS_TEST_SHELL_TEST_SHELL_WEBKIT_INIT_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698