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

Side by Side Diff: webkit/support/test_webkit_platform_support.h

Issue 9655017: Implement WebKitPlatformSupport::canAccelerate2dCanvas (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: fix clang warning about inline virtual function body Created 8 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) 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_SUPPORT_TEST_WEBKIT_PLATFORM_SUPPORT_H_ 5 #ifndef WEBKIT_SUPPORT_TEST_WEBKIT_PLATFORM_SUPPORT_H_
6 #define WEBKIT_SUPPORT_TEST_WEBKIT_PLATFORM_SUPPORT_H_ 6 #define WEBKIT_SUPPORT_TEST_WEBKIT_PLATFORM_SUPPORT_H_
7 7
8 #include "base/compiler_specific.h" 8 #include "base/compiler_specific.h"
9 #include "third_party/WebKit/Source/WebKit/chromium/public/platform/WebGamepads. h" 9 #include "third_party/WebKit/Source/WebKit/chromium/public/platform/WebGamepads. h"
10 #include "third_party/WebKit/Source/WebKit/chromium/public/platform/WebGraphicsC ontext3D.h" 10 #include "third_party/WebKit/Source/WebKit/chromium/public/platform/WebGraphicsC ontext3D.h"
(...skipping 106 matching lines...) Expand 10 before | Expand all | Expand 10 after
117 virtual base::StringPiece GetDataResource(int resource_id) OVERRIDE; 117 virtual base::StringPiece GetDataResource(int resource_id) OVERRIDE;
118 virtual void GetPlugins(bool refresh, 118 virtual void GetPlugins(bool refresh,
119 std::vector<webkit::WebPluginInfo>* plugins) OVERRIDE; 119 std::vector<webkit::WebPluginInfo>* plugins) OVERRIDE;
120 virtual webkit_glue::ResourceLoaderBridge* CreateResourceLoader( 120 virtual webkit_glue::ResourceLoaderBridge* CreateResourceLoader(
121 const webkit_glue::ResourceLoaderBridge::RequestInfo& request_info) 121 const webkit_glue::ResourceLoaderBridge::RequestInfo& request_info)
122 OVERRIDE; 122 OVERRIDE;
123 virtual webkit_glue::WebSocketStreamHandleBridge* CreateWebSocketBridge( 123 virtual webkit_glue::WebSocketStreamHandleBridge* CreateWebSocketBridge(
124 WebKit::WebSocketStreamHandle* handle, 124 WebKit::WebSocketStreamHandle* handle,
125 webkit_glue::WebSocketStreamHandleDelegate* delegate) OVERRIDE; 125 webkit_glue::WebSocketStreamHandleDelegate* delegate) OVERRIDE;
126 126
127 virtual bool canAccelerate2dCanvas();
darin (slow to review) 2012/03/13 19:34:36 nit: put this in the "correct" location relative t
128
127 private: 129 private:
128 TestShellWebMimeRegistryImpl mime_registry_; 130 TestShellWebMimeRegistryImpl mime_registry_;
129 MockWebClipboardImpl mock_clipboard_; 131 MockWebClipboardImpl mock_clipboard_;
130 webkit_glue::WebFileUtilitiesImpl file_utilities_; 132 webkit_glue::WebFileUtilitiesImpl file_utilities_;
131 ScopedTempDir appcache_dir_; 133 ScopedTempDir appcache_dir_;
132 SimpleAppCacheSystem appcache_system_; 134 SimpleAppCacheSystem appcache_system_;
133 SimpleDatabaseSystem database_system_; 135 SimpleDatabaseSystem database_system_;
134 SimpleDomStorageSystem dom_storage_system_; 136 SimpleDomStorageSystem dom_storage_system_;
135 SimpleWebCookieJarImpl cookie_jar_; 137 SimpleWebCookieJarImpl cookie_jar_;
136 scoped_refptr<TestShellWebBlobRegistryImpl> blob_registry_; 138 scoped_refptr<TestShellWebBlobRegistryImpl> blob_registry_;
137 SimpleFileSystem file_system_; 139 SimpleFileSystem file_system_;
138 ScopedTempDir file_system_root_; 140 ScopedTempDir file_system_root_;
139 WebURLLoaderMockFactory url_loader_factory_; 141 WebURLLoaderMockFactory url_loader_factory_;
140 bool unit_test_mode_; 142 bool unit_test_mode_;
141 WebKit::WebGamepads gamepad_data_; 143 WebKit::WebGamepads gamepad_data_;
142 144
143 #if defined(OS_WIN) || defined(OS_MACOSX) 145 #if defined(OS_WIN) || defined(OS_MACOSX)
144 WebKit::WebThemeEngine* active_theme_engine_; 146 WebKit::WebThemeEngine* active_theme_engine_;
145 #endif 147 #endif
146 DISALLOW_COPY_AND_ASSIGN(TestWebKitPlatformSupport); 148 DISALLOW_COPY_AND_ASSIGN(TestWebKitPlatformSupport);
147 }; 149 };
148 150
149 #endif // WEBKIT_SUPPORT_TEST_WEBKIT_PLATFORM_SUPPORT_H_ 151 #endif // WEBKIT_SUPPORT_TEST_WEBKIT_PLATFORM_SUPPORT_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698