OLD | NEW |
1 // Copyright (c) 2011 The Chromium Authors. All rights reserved. | 1 // Copyright (c) 2011 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 "webkit/glue/webfileutilities_impl.h" | 10 #include "webkit/glue/webfileutilities_impl.h" |
(...skipping 71 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
82 const WebKit::WebIDBKey& key, | 82 const WebKit::WebIDBKey& key, |
83 const WebKit::WebSerializedScriptValue& value, | 83 const WebKit::WebSerializedScriptValue& value, |
84 const WebKit::WebString& keyPath) OVERRIDE; | 84 const WebKit::WebString& keyPath) OVERRIDE; |
85 | 85 |
86 #if defined(OS_WIN) || defined(OS_MACOSX) | 86 #if defined(OS_WIN) || defined(OS_MACOSX) |
87 void SetThemeEngine(WebKit::WebThemeEngine* engine); | 87 void SetThemeEngine(WebKit::WebThemeEngine* engine); |
88 virtual WebKit::WebThemeEngine *themeEngine() OVERRIDE; | 88 virtual WebKit::WebThemeEngine *themeEngine() OVERRIDE; |
89 #endif | 89 #endif |
90 | 90 |
91 virtual WebKit::WebSharedWorkerRepository* sharedWorkerRepository() OVERRIDE; | 91 virtual WebKit::WebSharedWorkerRepository* sharedWorkerRepository() OVERRIDE; |
92 virtual WebKit::WebGraphicsContext3D* createGraphicsContext3D() OVERRIDE; | |
93 | 92 |
94 WebURLLoaderMockFactory* url_loader_factory() { | 93 WebURLLoaderMockFactory* url_loader_factory() { |
95 return &url_loader_factory_; | 94 return &url_loader_factory_; |
96 } | 95 } |
97 | 96 |
98 const FilePath& file_system_root() const { | 97 const FilePath& file_system_root() const { |
99 return file_system_root_.path(); | 98 return file_system_root_.path(); |
100 } | 99 } |
101 | 100 |
102 // Mock out the WebAudioDevice since the real one | 101 // Mock out the WebAudioDevice since the real one |
(...skipping 33 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
136 bool unit_test_mode_; | 135 bool unit_test_mode_; |
137 WebKit::WebGamepads gamepad_data_; | 136 WebKit::WebGamepads gamepad_data_; |
138 | 137 |
139 #if defined(OS_WIN) || defined(OS_MACOSX) | 138 #if defined(OS_WIN) || defined(OS_MACOSX) |
140 WebKit::WebThemeEngine* active_theme_engine_; | 139 WebKit::WebThemeEngine* active_theme_engine_; |
141 #endif | 140 #endif |
142 DISALLOW_COPY_AND_ASSIGN(TestWebKitPlatformSupport); | 141 DISALLOW_COPY_AND_ASSIGN(TestWebKitPlatformSupport); |
143 }; | 142 }; |
144 | 143 |
145 #endif // WEBKIT_SUPPORT_TEST_WEBKIT_PLATFORM_SUPPORT_H_ | 144 #endif // WEBKIT_SUPPORT_TEST_WEBKIT_PLATFORM_SUPPORT_H_ |
OLD | NEW |