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 QuotaMessageFilter; | 39 class QuotaMessageFilter; |
39 class RendererClipboardClient; | 40 class RendererClipboardClient; |
40 class ThreadSafeSender; | 41 class ThreadSafeSender; |
41 class WebClipboardImpl; | 42 class WebClipboardImpl; |
42 class WebCryptoImpl; | 43 class WebCryptoImpl; |
43 class WebFileSystemImpl; | 44 class WebFileSystemImpl; |
44 class WebSharedWorkerRepositoryImpl; | 45 class WebSharedWorkerRepositoryImpl; |
45 | 46 |
46 class CONTENT_EXPORT RendererWebKitPlatformSupportImpl | 47 class CONTENT_EXPORT RendererWebKitPlatformSupportImpl |
(...skipping 85 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
132 size_t* private_bytes, size_t* shared_bytes); | 133 size_t* private_bytes, size_t* shared_bytes); |
133 virtual WebKit::WebGraphicsContext3D* createOffscreenGraphicsContext3D( | 134 virtual WebKit::WebGraphicsContext3D* createOffscreenGraphicsContext3D( |
134 const WebKit::WebGraphicsContext3D::Attributes& attributes); | 135 const WebKit::WebGraphicsContext3D::Attributes& attributes); |
135 virtual WebKit::WebGraphicsContext3DProvider* | 136 virtual WebKit::WebGraphicsContext3DProvider* |
136 createSharedOffscreenGraphicsContext3DProvider(); | 137 createSharedOffscreenGraphicsContext3DProvider(); |
137 virtual WebKit::WebCompositorSupport* compositorSupport(); | 138 virtual WebKit::WebCompositorSupport* compositorSupport(); |
138 virtual WebKit::WebString convertIDNToUnicode( | 139 virtual WebKit::WebString convertIDNToUnicode( |
139 const WebKit::WebString& host, const WebKit::WebString& languages); | 140 const WebKit::WebString& host, const WebKit::WebString& languages); |
140 virtual void setDeviceMotionListener( | 141 virtual void setDeviceMotionListener( |
141 WebKit::WebDeviceMotionListener* listener) OVERRIDE; | 142 WebKit::WebDeviceMotionListener* listener) OVERRIDE; |
| 143 virtual void setDeviceOrientationListener( |
| 144 WebKit::WebDeviceOrientationListener* listener) OVERRIDE; |
142 virtual WebKit::WebCrypto* crypto() OVERRIDE; | 145 virtual WebKit::WebCrypto* crypto() OVERRIDE; |
143 virtual void queryStorageUsageAndQuota( | 146 virtual void queryStorageUsageAndQuota( |
144 const WebKit::WebURL& storage_partition, | 147 const WebKit::WebURL& storage_partition, |
145 WebKit::WebStorageQuotaType, | 148 WebKit::WebStorageQuotaType, |
146 WebKit::WebStorageQuotaCallbacks*) OVERRIDE; | 149 WebKit::WebStorageQuotaCallbacks*) OVERRIDE; |
147 | 150 |
148 #if defined(OS_ANDROID) | 151 #if defined(OS_ANDROID) |
149 virtual void vibrate(unsigned int milliseconds); | 152 virtual void vibrate(unsigned int milliseconds); |
150 virtual void cancelVibration(); | 153 virtual void cancelVibration(); |
151 #endif // defined(OS_ANDROID) | 154 #endif // defined(OS_ANDROID) |
(...skipping 43 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
195 | 198 |
196 scoped_ptr<WebKit::WebIDBFactory> web_idb_factory_; | 199 scoped_ptr<WebKit::WebIDBFactory> web_idb_factory_; |
197 | 200 |
198 scoped_ptr<WebFileSystemImpl> web_file_system_; | 201 scoped_ptr<WebFileSystemImpl> web_file_system_; |
199 | 202 |
200 scoped_ptr<WebKit::WebBlobRegistry> blob_registry_; | 203 scoped_ptr<WebKit::WebBlobRegistry> blob_registry_; |
201 | 204 |
202 scoped_ptr<GamepadSharedMemoryReader> gamepad_shared_memory_reader_; | 205 scoped_ptr<GamepadSharedMemoryReader> gamepad_shared_memory_reader_; |
203 | 206 |
204 scoped_ptr<DeviceMotionEventPump> device_motion_event_pump_; | 207 scoped_ptr<DeviceMotionEventPump> device_motion_event_pump_; |
| 208 scoped_ptr<DeviceOrientationEventPump> device_orientation_event_pump_; |
205 | 209 |
206 scoped_refptr<base::MessageLoopProxy> child_thread_loop_; | 210 scoped_refptr<base::MessageLoopProxy> child_thread_loop_; |
207 scoped_refptr<IPC::SyncMessageFilter> sync_message_filter_; | 211 scoped_refptr<IPC::SyncMessageFilter> sync_message_filter_; |
208 scoped_refptr<ThreadSafeSender> thread_safe_sender_; | 212 scoped_refptr<ThreadSafeSender> thread_safe_sender_; |
209 scoped_refptr<QuotaMessageFilter> quota_message_filter_; | 213 scoped_refptr<QuotaMessageFilter> quota_message_filter_; |
210 | 214 |
211 scoped_refptr<cc::ContextProvider> shared_offscreen_context_; | 215 scoped_refptr<cc::ContextProvider> shared_offscreen_context_; |
212 | 216 |
213 webkit::WebCompositorSupportImpl compositor_support_; | 217 webkit::WebCompositorSupportImpl compositor_support_; |
214 | 218 |
215 scoped_ptr<WebCryptoImpl> web_crypto_; | 219 scoped_ptr<WebCryptoImpl> web_crypto_; |
216 }; | 220 }; |
217 | 221 |
218 } // namespace content | 222 } // namespace content |
219 | 223 |
220 #endif // CONTENT_RENDERER_RENDERER_WEBKITPLATFORMSUPPORT_IMPL_H_ | 224 #endif // CONTENT_RENDERER_RENDERER_WEBKITPLATFORMSUPPORT_IMPL_H_ |
OLD | NEW |