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 CONTENT_RENDERER_RENDERER_WEBKITPLATFORMSUPPORT_IMPL_H_ | 5 #ifndef CONTENT_RENDERER_RENDERER_WEBKITPLATFORMSUPPORT_IMPL_H_ |
6 #define CONTENT_RENDERER_RENDERER_WEBKITPLATFORMSUPPORT_IMPL_H_ | 6 #define CONTENT_RENDERER_RENDERER_WEBKITPLATFORMSUPPORT_IMPL_H_ |
7 | 7 |
8 #include "base/compiler_specific.h" | 8 #include "base/compiler_specific.h" |
9 #include "base/memory/scoped_ptr.h" | 9 #include "base/memory/scoped_ptr.h" |
10 #include "base/platform_file.h" | 10 #include "base/platform_file.h" |
(...skipping 16 matching lines...) Expand all Loading... |
27 class SyncMessageFilter; | 27 class SyncMessageFilter; |
28 } | 28 } |
29 | 29 |
30 namespace WebKit { | 30 namespace WebKit { |
31 class WebDeviceMotionData; | 31 class WebDeviceMotionData; |
32 class WebGraphicsContext3DProvider; | 32 class WebGraphicsContext3DProvider; |
33 } | 33 } |
34 | 34 |
35 namespace content { | 35 namespace content { |
36 class DeviceMotionEventPump; | 36 class DeviceMotionEventPump; |
| 37 class DeviceOrientationEventPump; |
37 class GamepadSharedMemoryReader; | 38 class GamepadSharedMemoryReader; |
38 class RendererClipboardClient; | 39 class RendererClipboardClient; |
39 class ThreadSafeSender; | 40 class ThreadSafeSender; |
40 class WebClipboardImpl; | 41 class WebClipboardImpl; |
41 class WebCryptoImpl; | 42 class WebCryptoImpl; |
42 class WebFileSystemImpl; | 43 class WebFileSystemImpl; |
43 class WebSharedWorkerRepositoryImpl; | 44 class WebSharedWorkerRepositoryImpl; |
44 | 45 |
45 class CONTENT_EXPORT RendererWebKitPlatformSupportImpl | 46 class CONTENT_EXPORT RendererWebKitPlatformSupportImpl |
46 : public WebKitPlatformSupportImpl { | 47 : public WebKitPlatformSupportImpl { |
(...skipping 86 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
133 size_t* private_bytes, size_t* shared_bytes); | 134 size_t* private_bytes, size_t* shared_bytes); |
134 virtual WebKit::WebGraphicsContext3D* createOffscreenGraphicsContext3D( | 135 virtual WebKit::WebGraphicsContext3D* createOffscreenGraphicsContext3D( |
135 const WebKit::WebGraphicsContext3D::Attributes& attributes); | 136 const WebKit::WebGraphicsContext3D::Attributes& attributes); |
136 virtual WebKit::WebGraphicsContext3DProvider* | 137 virtual WebKit::WebGraphicsContext3DProvider* |
137 createSharedOffscreenGraphicsContext3DProvider(); | 138 createSharedOffscreenGraphicsContext3DProvider(); |
138 virtual WebKit::WebCompositorSupport* compositorSupport(); | 139 virtual WebKit::WebCompositorSupport* compositorSupport(); |
139 virtual WebKit::WebString convertIDNToUnicode( | 140 virtual WebKit::WebString convertIDNToUnicode( |
140 const WebKit::WebString& host, const WebKit::WebString& languages); | 141 const WebKit::WebString& host, const WebKit::WebString& languages); |
141 virtual void setDeviceMotionListener( | 142 virtual void setDeviceMotionListener( |
142 WebKit::WebDeviceMotionListener* listener) OVERRIDE; | 143 WebKit::WebDeviceMotionListener* listener) OVERRIDE; |
| 144 virtual void setDeviceOrientationListener( |
| 145 WebKit::WebDeviceOrientationListener* listener) OVERRIDE; |
143 virtual WebKit::WebCrypto* crypto() OVERRIDE; | 146 virtual WebKit::WebCrypto* crypto() OVERRIDE; |
144 virtual void queryStorageUsageAndQuota( | 147 virtual void queryStorageUsageAndQuota( |
145 const WebKit::WebURL& storage_partition, | 148 const WebKit::WebURL& storage_partition, |
146 WebKit::WebStorageQuotaType, | 149 WebKit::WebStorageQuotaType, |
147 WebKit::WebStorageQuotaCallbacks*) OVERRIDE; | 150 WebKit::WebStorageQuotaCallbacks*) OVERRIDE; |
148 | 151 |
149 #if defined(OS_ANDROID) | 152 #if defined(OS_ANDROID) |
150 virtual void vibrate(unsigned int milliseconds); | 153 virtual void vibrate(unsigned int milliseconds); |
151 virtual void cancelVibration(); | 154 virtual void cancelVibration(); |
152 #endif // defined(OS_ANDROID) | 155 #endif // defined(OS_ANDROID) |
(...skipping 46 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
199 | 202 |
200 scoped_ptr<WebKit::WebIDBFactory> web_idb_factory_; | 203 scoped_ptr<WebKit::WebIDBFactory> web_idb_factory_; |
201 | 204 |
202 scoped_ptr<WebFileSystemImpl> web_file_system_; | 205 scoped_ptr<WebFileSystemImpl> web_file_system_; |
203 | 206 |
204 scoped_ptr<WebKit::WebBlobRegistry> blob_registry_; | 207 scoped_ptr<WebKit::WebBlobRegistry> blob_registry_; |
205 | 208 |
206 scoped_ptr<GamepadSharedMemoryReader> gamepad_shared_memory_reader_; | 209 scoped_ptr<GamepadSharedMemoryReader> gamepad_shared_memory_reader_; |
207 | 210 |
208 scoped_ptr<DeviceMotionEventPump> device_motion_event_pump_; | 211 scoped_ptr<DeviceMotionEventPump> device_motion_event_pump_; |
| 212 scoped_ptr<DeviceOrientationEventPump> device_orientation_event_pump_; |
209 | 213 |
210 scoped_refptr<base::MessageLoopProxy> child_thread_loop_; | 214 scoped_refptr<base::MessageLoopProxy> child_thread_loop_; |
211 scoped_refptr<IPC::SyncMessageFilter> sync_message_filter_; | 215 scoped_refptr<IPC::SyncMessageFilter> sync_message_filter_; |
212 scoped_refptr<ThreadSafeSender> thread_safe_sender_; | 216 scoped_refptr<ThreadSafeSender> thread_safe_sender_; |
213 | 217 |
214 scoped_refptr<cc::ContextProvider> shared_offscreen_context_; | 218 scoped_refptr<cc::ContextProvider> shared_offscreen_context_; |
215 | 219 |
216 webkit::WebCompositorSupportImpl compositor_support_; | 220 webkit::WebCompositorSupportImpl compositor_support_; |
217 | 221 |
218 scoped_ptr<WebCryptoImpl> web_crypto_; | 222 scoped_ptr<WebCryptoImpl> web_crypto_; |
219 }; | 223 }; |
220 | 224 |
221 } // namespace content | 225 } // namespace content |
222 | 226 |
223 #endif // CONTENT_RENDERER_RENDERER_WEBKITPLATFORMSUPPORT_IMPL_H_ | 227 #endif // CONTENT_RENDERER_RENDERER_WEBKITPLATFORMSUPPORT_IMPL_H_ |
OLD | NEW |