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 72 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
83 const WebKit::WebIDBKey& key, | 83 const WebKit::WebIDBKey& key, |
84 const WebKit::WebSerializedScriptValue& value, | 84 const WebKit::WebSerializedScriptValue& value, |
85 const WebKit::WebString& keyPath) OVERRIDE; | 85 const WebKit::WebString& keyPath) OVERRIDE; |
86 | 86 |
87 #if defined(OS_WIN) || defined(OS_MACOSX) | 87 #if defined(OS_WIN) || defined(OS_MACOSX) |
88 void SetThemeEngine(WebKit::WebThemeEngine* engine); | 88 void SetThemeEngine(WebKit::WebThemeEngine* engine); |
89 virtual WebKit::WebThemeEngine *themeEngine() OVERRIDE; | 89 virtual WebKit::WebThemeEngine *themeEngine() OVERRIDE; |
90 #endif | 90 #endif |
91 | 91 |
92 virtual WebKit::WebSharedWorkerRepository* sharedWorkerRepository() OVERRIDE; | 92 virtual WebKit::WebSharedWorkerRepository* sharedWorkerRepository() OVERRIDE; |
93 virtual WebKit::WebGraphicsContext3D* createGraphicsContext3D() OVERRIDE; | |
94 virtual WebKit::WebGraphicsContext3D* createOffscreenGraphicsContext3D( | 93 virtual WebKit::WebGraphicsContext3D* createOffscreenGraphicsContext3D( |
95 const WebKit::WebGraphicsContext3D::Attributes&); | 94 const WebKit::WebGraphicsContext3D::Attributes&); |
96 | 95 |
97 WebURLLoaderMockFactory* url_loader_factory() { | 96 WebURLLoaderMockFactory* url_loader_factory() { |
98 return &url_loader_factory_; | 97 return &url_loader_factory_; |
99 } | 98 } |
100 | 99 |
101 const FilePath& file_system_root() const { | 100 const FilePath& file_system_root() const { |
102 return file_system_root_.path(); | 101 return file_system_root_.path(); |
103 } | 102 } |
(...skipping 35 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
139 bool unit_test_mode_; | 138 bool unit_test_mode_; |
140 WebKit::WebGamepads gamepad_data_; | 139 WebKit::WebGamepads gamepad_data_; |
141 | 140 |
142 #if defined(OS_WIN) || defined(OS_MACOSX) | 141 #if defined(OS_WIN) || defined(OS_MACOSX) |
143 WebKit::WebThemeEngine* active_theme_engine_; | 142 WebKit::WebThemeEngine* active_theme_engine_; |
144 #endif | 143 #endif |
145 DISALLOW_COPY_AND_ASSIGN(TestWebKitPlatformSupport); | 144 DISALLOW_COPY_AND_ASSIGN(TestWebKitPlatformSupport); |
146 }; | 145 }; |
147 | 146 |
148 #endif // WEBKIT_SUPPORT_TEST_WEBKIT_PLATFORM_SUPPORT_H_ | 147 #endif // WEBKIT_SUPPORT_TEST_WEBKIT_PLATFORM_SUPPORT_H_ |
OLD | NEW |