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

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

Issue 1328001: Added command buffer implementation of WebGL which runs in the sandbox.... (Closed) Base URL: svn://chrome-svn/chrome/trunk/src/
Patch Set: '' Created 10 years, 9 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/WebRuntimeFeatures.h" 17 #include "third_party/WebKit/WebKit/chromium/public/WebRuntimeFeatures.h"
17 #include "third_party/WebKit/WebKit/chromium/public/WebKit.h" 18 #include "third_party/WebKit/WebKit/chromium/public/WebKit.h"
18 #include "third_party/WebKit/WebKit/chromium/public/WebScriptController.h" 19 #include "third_party/WebKit/WebKit/chromium/public/WebScriptController.h"
19 #include "third_party/WebKit/WebKit/chromium/public/WebSecurityPolicy.h" 20 #include "third_party/WebKit/WebKit/chromium/public/WebSecurityPolicy.h"
20 #include "third_party/WebKit/WebKit/chromium/public/WebStorageArea.h" 21 #include "third_party/WebKit/WebKit/chromium/public/WebStorageArea.h"
21 #include "third_party/WebKit/WebKit/chromium/public/WebStorageEventDispatcher.h" 22 #include "third_party/WebKit/WebKit/chromium/public/WebStorageEventDispatcher.h"
22 #include "third_party/WebKit/WebKit/chromium/public/WebStorageNamespace.h" 23 #include "third_party/WebKit/WebKit/chromium/public/WebStorageNamespace.h"
23 #include "third_party/WebKit/WebKit/chromium/public/WebString.h" 24 #include "third_party/WebKit/WebKit/chromium/public/WebString.h"
24 #include "third_party/WebKit/WebKit/chromium/public/WebURL.h" 25 #include "third_party/WebKit/WebKit/chromium/public/WebURL.h"
25 #include "webkit/appcache/web_application_cache_host_impl.h" 26 #include "webkit/appcache/web_application_cache_host_impl.h"
(...skipping 200 matching lines...) Expand 10 before | Expand all | Expand 10 after
226 227
227 virtual WebKit::WebThemeEngine *themeEngine() { 228 virtual WebKit::WebThemeEngine *themeEngine() {
228 return active_theme_engine_; 229 return active_theme_engine_;
229 } 230 }
230 #endif 231 #endif
231 232
232 virtual WebKit::WebSharedWorkerRepository* sharedWorkerRepository() { 233 virtual WebKit::WebSharedWorkerRepository* sharedWorkerRepository() {
233 return NULL; 234 return NULL;
234 } 235 }
235 236
237 virtual WebKit::WebGraphicsContext3D* createGraphicsContext3D() {
238 return WebKit::WebGraphicsContext3D::createDefault();
239 }
240
236 private: 241 private:
237 webkit_glue::SimpleWebMimeRegistryImpl mime_registry_; 242 webkit_glue::SimpleWebMimeRegistryImpl mime_registry_;
238 MockWebClipboardImpl mock_clipboard_; 243 MockWebClipboardImpl mock_clipboard_;
239 webkit_glue::WebClipboardImpl real_clipboard_; 244 webkit_glue::WebClipboardImpl real_clipboard_;
240 ScopedTempDir appcache_dir_; 245 ScopedTempDir appcache_dir_;
241 SimpleAppCacheSystem appcache_system_; 246 SimpleAppCacheSystem appcache_system_;
242 SimpleDatabaseSystem database_system_; 247 SimpleDatabaseSystem database_system_;
243 SimpleWebCookieJarImpl cookie_jar_; 248 SimpleWebCookieJarImpl cookie_jar_;
244 249
245 #if defined(OS_WIN) 250 #if defined(OS_WIN)
246 WebKit::WebThemeEngine* active_theme_engine_; 251 WebKit::WebThemeEngine* active_theme_engine_;
247 #endif 252 #endif
248 }; 253 };
249 254
250 #endif // WEBKIT_TOOLS_TEST_SHELL_TEST_SHELL_WEBKIT_INIT_H_ 255 #endif // WEBKIT_TOOLS_TEST_SHELL_TEST_SHELL_WEBKIT_INIT_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698