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

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: move canAccelerate.. call next to createOffscreenGraphicsContext3D call 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 75 matching lines...) Expand 10 before | Expand all | Expand 10 after
86 const WebKit::WebString& keyPath) OVERRIDE; 86 const WebKit::WebString& keyPath) OVERRIDE;
87 87
88 #if defined(OS_WIN) || defined(OS_MACOSX) 88 #if defined(OS_WIN) || defined(OS_MACOSX)
89 void SetThemeEngine(WebKit::WebThemeEngine* engine); 89 void SetThemeEngine(WebKit::WebThemeEngine* engine);
90 virtual WebKit::WebThemeEngine *themeEngine() OVERRIDE; 90 virtual WebKit::WebThemeEngine *themeEngine() OVERRIDE;
91 #endif 91 #endif
92 92
93 virtual WebKit::WebSharedWorkerRepository* sharedWorkerRepository() OVERRIDE; 93 virtual WebKit::WebSharedWorkerRepository* sharedWorkerRepository() OVERRIDE;
94 virtual WebKit::WebGraphicsContext3D* createOffscreenGraphicsContext3D( 94 virtual WebKit::WebGraphicsContext3D* createOffscreenGraphicsContext3D(
95 const WebKit::WebGraphicsContext3D::Attributes&); 95 const WebKit::WebGraphicsContext3D::Attributes&);
96 virtual bool canAccelerate2dCanvas();
96 97
97 WebURLLoaderMockFactory* url_loader_factory() { 98 WebURLLoaderMockFactory* url_loader_factory() {
98 return &url_loader_factory_; 99 return &url_loader_factory_;
99 } 100 }
100 101
101 const FilePath& file_system_root() const { 102 const FilePath& file_system_root() const {
102 return file_system_root_.path(); 103 return file_system_root_.path();
103 } 104 }
104 105
105 // Mock out the WebAudioDevice since the real one 106 // Mock out the WebAudioDevice since the real one
(...skipping 34 matching lines...) Expand 10 before | Expand all | Expand 10 after
140 bool unit_test_mode_; 141 bool unit_test_mode_;
141 WebKit::WebGamepads gamepad_data_; 142 WebKit::WebGamepads gamepad_data_;
142 143
143 #if defined(OS_WIN) || defined(OS_MACOSX) 144 #if defined(OS_WIN) || defined(OS_MACOSX)
144 WebKit::WebThemeEngine* active_theme_engine_; 145 WebKit::WebThemeEngine* active_theme_engine_;
145 #endif 146 #endif
146 DISALLOW_COPY_AND_ASSIGN(TestWebKitPlatformSupport); 147 DISALLOW_COPY_AND_ASSIGN(TestWebKitPlatformSupport);
147 }; 148 };
148 149
149 #endif // WEBKIT_SUPPORT_TEST_WEBKIT_PLATFORM_SUPPORT_H_ 150 #endif // WEBKIT_SUPPORT_TEST_WEBKIT_PLATFORM_SUPPORT_H_
OLDNEW
« no previous file with comments | « content/renderer/renderer_webkitplatformsupport_impl.cc ('k') | webkit/support/test_webkit_platform_support.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698