| 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 93 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 104 virtual double audioHardwareSampleRate() OVERRIDE; | 104 virtual double audioHardwareSampleRate() OVERRIDE; |
| 105 virtual size_t audioHardwareBufferSize() OVERRIDE; | 105 virtual size_t audioHardwareBufferSize() OVERRIDE; |
| 106 virtual WebKit::WebAudioDevice* createAudioDevice(size_t bufferSize, | 106 virtual WebKit::WebAudioDevice* createAudioDevice(size_t bufferSize, |
| 107 unsigned numberOfChannels, double sampleRate, | 107 unsigned numberOfChannels, double sampleRate, |
| 108 WebKit::WebAudioDevice::RenderCallback*) OVERRIDE; | 108 WebKit::WebAudioDevice::RenderCallback*) OVERRIDE; |
| 109 | 109 |
| 110 virtual void sampleGamepads(WebKit::WebGamepads& data); | 110 virtual void sampleGamepads(WebKit::WebGamepads& data); |
| 111 void setGamepadData(const WebKit::WebGamepads& data); | 111 void setGamepadData(const WebKit::WebGamepads& data); |
| 112 | 112 |
| 113 virtual string16 GetLocalizedString(int message_id) OVERRIDE; | 113 virtual string16 GetLocalizedString(int message_id) OVERRIDE; |
| 114 virtual base::StringPiece GetDataResource(int resource_id) OVERRIDE; | 114 virtual base::StringPiece GetDataResource( |
| 115 virtual base::StringPiece GetImageResource(int resource_id, | 115 int resource_id, |
| 116 float scale_factor) OVERRIDE; | 116 ui::ScaleFactor scale_factor) OVERRIDE; |
| 117 virtual void GetPlugins(bool refresh, | 117 virtual void GetPlugins(bool refresh, |
| 118 std::vector<webkit::WebPluginInfo>* plugins) OVERRIDE; | 118 std::vector<webkit::WebPluginInfo>* plugins) OVERRIDE; |
| 119 virtual webkit_glue::ResourceLoaderBridge* CreateResourceLoader( | 119 virtual webkit_glue::ResourceLoaderBridge* CreateResourceLoader( |
| 120 const webkit_glue::ResourceLoaderBridge::RequestInfo& request_info) | 120 const webkit_glue::ResourceLoaderBridge::RequestInfo& request_info) |
| 121 OVERRIDE; | 121 OVERRIDE; |
| 122 virtual webkit_glue::WebSocketStreamHandleBridge* CreateWebSocketBridge( | 122 virtual webkit_glue::WebSocketStreamHandleBridge* CreateWebSocketBridge( |
| 123 WebKit::WebSocketStreamHandle* handle, | 123 WebKit::WebSocketStreamHandle* handle, |
| 124 webkit_glue::WebSocketStreamHandleDelegate* delegate) OVERRIDE; | 124 webkit_glue::WebSocketStreamHandleDelegate* delegate) OVERRIDE; |
| 125 | 125 |
| 126 private: | 126 private: |
| (...skipping 12 matching lines...) Expand all Loading... |
| 139 bool unit_test_mode_; | 139 bool unit_test_mode_; |
| 140 WebKit::WebGamepads gamepad_data_; | 140 WebKit::WebGamepads gamepad_data_; |
| 141 | 141 |
| 142 #if defined(OS_WIN) || defined(OS_MACOSX) | 142 #if defined(OS_WIN) || defined(OS_MACOSX) |
| 143 WebKit::WebThemeEngine* active_theme_engine_; | 143 WebKit::WebThemeEngine* active_theme_engine_; |
| 144 #endif | 144 #endif |
| 145 DISALLOW_COPY_AND_ASSIGN(TestWebKitPlatformSupport); | 145 DISALLOW_COPY_AND_ASSIGN(TestWebKitPlatformSupport); |
| 146 }; | 146 }; |
| 147 | 147 |
| 148 #endif // WEBKIT_SUPPORT_TEST_WEBKIT_PLATFORM_SUPPORT_H_ | 148 #endif // WEBKIT_SUPPORT_TEST_WEBKIT_PLATFORM_SUPPORT_H_ |
| OLD | NEW |