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 "base/files/scoped_temp_dir.h" | 9 #include "base/files/scoped_temp_dir.h" |
10 #include "third_party/WebKit/public/platform/WebGamepads.h" | 10 #include "third_party/WebKit/public/platform/WebGamepads.h" |
(...skipping 90 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
101 unsigned numberOfChannels, double sampleRate, | 101 unsigned numberOfChannels, double sampleRate, |
102 WebKit::WebAudioDevice::RenderCallback*); | 102 WebKit::WebAudioDevice::RenderCallback*); |
103 | 103 |
104 virtual void sampleGamepads(WebKit::WebGamepads& data); | 104 virtual void sampleGamepads(WebKit::WebGamepads& data); |
105 void setGamepadData(const WebKit::WebGamepads& data); | 105 void setGamepadData(const WebKit::WebGamepads& data); |
106 | 106 |
107 virtual base::string16 GetLocalizedString(int message_id) OVERRIDE; | 107 virtual base::string16 GetLocalizedString(int message_id) OVERRIDE; |
108 virtual base::StringPiece GetDataResource( | 108 virtual base::StringPiece GetDataResource( |
109 int resource_id, | 109 int resource_id, |
110 ui::ScaleFactor scale_factor) OVERRIDE; | 110 ui::ScaleFactor scale_factor) OVERRIDE; |
111 virtual void GetPlugins(bool refresh, | |
112 std::vector<webkit::WebPluginInfo>* plugins) OVERRIDE; | |
113 virtual webkit_glue::ResourceLoaderBridge* CreateResourceLoader( | 111 virtual webkit_glue::ResourceLoaderBridge* CreateResourceLoader( |
114 const webkit_glue::ResourceLoaderBridge::RequestInfo& request_info) | 112 const webkit_glue::ResourceLoaderBridge::RequestInfo& request_info) |
115 OVERRIDE; | 113 OVERRIDE; |
116 virtual webkit_glue::WebSocketStreamHandleBridge* CreateWebSocketBridge( | 114 virtual webkit_glue::WebSocketStreamHandleBridge* CreateWebSocketBridge( |
117 WebKit::WebSocketStreamHandle* handle, | 115 WebKit::WebSocketStreamHandle* handle, |
118 webkit_glue::WebSocketStreamHandleDelegate* delegate) OVERRIDE; | 116 webkit_glue::WebSocketStreamHandleDelegate* delegate) OVERRIDE; |
119 | 117 |
120 virtual WebKit::WebMediaStreamCenter* createMediaStreamCenter( | 118 virtual WebKit::WebMediaStreamCenter* createMediaStreamCenter( |
121 WebKit::WebMediaStreamCenterClient* client); | 119 WebKit::WebMediaStreamCenterClient* client); |
122 virtual WebKit::WebRTCPeerConnectionHandler* createRTCPeerConnectionHandler( | 120 virtual WebKit::WebRTCPeerConnectionHandler* createRTCPeerConnectionHandler( |
(...skipping 35 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
158 | 156 |
159 scoped_refptr<cc::ContextProvider> main_thread_contexts_; | 157 scoped_refptr<cc::ContextProvider> main_thread_contexts_; |
160 | 158 |
161 #if defined(OS_WIN) || defined(OS_MACOSX) | 159 #if defined(OS_WIN) || defined(OS_MACOSX) |
162 WebKit::WebThemeEngine* active_theme_engine_; | 160 WebKit::WebThemeEngine* active_theme_engine_; |
163 #endif | 161 #endif |
164 DISALLOW_COPY_AND_ASSIGN(TestWebKitPlatformSupport); | 162 DISALLOW_COPY_AND_ASSIGN(TestWebKitPlatformSupport); |
165 }; | 163 }; |
166 | 164 |
167 #endif // WEBKIT_SUPPORT_TEST_WEBKIT_PLATFORM_SUPPORT_H_ | 165 #endif // WEBKIT_SUPPORT_TEST_WEBKIT_PLATFORM_SUPPORT_H_ |
OLD | NEW |