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_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 61 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
72 virtual WebKit::WebStorageNamespace* createLocalStorageNamespace( | 72 virtual WebKit::WebStorageNamespace* createLocalStorageNamespace( |
73 const WebKit::WebString& path, unsigned quota) OVERRIDE; | 73 const WebKit::WebString& path, unsigned quota) OVERRIDE; |
74 | 74 |
75 virtual WebKit::WebIDBFactory* idbFactory() OVERRIDE; | 75 virtual WebKit::WebIDBFactory* idbFactory() OVERRIDE; |
76 | 76 |
77 #if defined(OS_WIN) || defined(OS_MACOSX) | 77 #if defined(OS_WIN) || defined(OS_MACOSX) |
78 void SetThemeEngine(WebKit::WebThemeEngine* engine); | 78 void SetThemeEngine(WebKit::WebThemeEngine* engine); |
79 virtual WebKit::WebThemeEngine *themeEngine() OVERRIDE; | 79 virtual WebKit::WebThemeEngine *themeEngine() OVERRIDE; |
80 #endif | 80 #endif |
81 | 81 |
82 virtual WebKit::WebSharedWorkerRepository* sharedWorkerRepository() OVERRIDE; | |
83 virtual WebKit::WebGraphicsContext3D* createOffscreenGraphicsContext3D( | 82 virtual WebKit::WebGraphicsContext3D* createOffscreenGraphicsContext3D( |
84 const WebKit::WebGraphicsContext3D::Attributes&); | 83 const WebKit::WebGraphicsContext3D::Attributes&); |
85 virtual bool canAccelerate2dCanvas(); | 84 virtual bool canAccelerate2dCanvas(); |
86 | 85 |
87 WebURLLoaderMockFactory* url_loader_factory() { | 86 WebURLLoaderMockFactory* url_loader_factory() { |
88 return &url_loader_factory_; | 87 return &url_loader_factory_; |
89 } | 88 } |
90 | 89 |
91 const FilePath& file_system_root() const { | 90 const FilePath& file_system_root() const { |
92 return file_system_root_.path(); | 91 return file_system_root_.path(); |
(...skipping 45 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
138 WebKit::WebGamepads gamepad_data_; | 137 WebKit::WebGamepads gamepad_data_; |
139 WebKit::Platform* shadow_platform_delegate_; | 138 WebKit::Platform* shadow_platform_delegate_; |
140 | 139 |
141 #if defined(OS_WIN) || defined(OS_MACOSX) | 140 #if defined(OS_WIN) || defined(OS_MACOSX) |
142 WebKit::WebThemeEngine* active_theme_engine_; | 141 WebKit::WebThemeEngine* active_theme_engine_; |
143 #endif | 142 #endif |
144 DISALLOW_COPY_AND_ASSIGN(TestWebKitPlatformSupport); | 143 DISALLOW_COPY_AND_ASSIGN(TestWebKitPlatformSupport); |
145 }; | 144 }; |
146 | 145 |
147 #endif // WEBKIT_SUPPORT_TEST_WEBKIT_PLATFORM_SUPPORT_H_ | 146 #endif // WEBKIT_SUPPORT_TEST_WEBKIT_PLATFORM_SUPPORT_H_ |
OLD | NEW |