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 20 matching lines...) Expand all Loading... |
31 namespace blink { | 31 namespace blink { |
32 class WebDeviceMotionData; | 32 class WebDeviceMotionData; |
33 class WebDeviceOrientationData; | 33 class WebDeviceOrientationData; |
34 class WebGraphicsContext3DProvider; | 34 class WebGraphicsContext3DProvider; |
35 class WebScreenOrientationListener; | 35 class WebScreenOrientationListener; |
36 } | 36 } |
37 | 37 |
38 namespace content { | 38 namespace content { |
39 class DeviceMotionEventPump; | 39 class DeviceMotionEventPump; |
40 class DeviceOrientationEventPump; | 40 class DeviceOrientationEventPump; |
| 41 class BatteryStatusDispatcher; |
41 class QuotaMessageFilter; | 42 class QuotaMessageFilter; |
42 class RendererClipboardClient; | 43 class RendererClipboardClient; |
43 class ScreenOrientationDispatcher; | 44 class ScreenOrientationDispatcher; |
44 class ThreadSafeSender; | 45 class ThreadSafeSender; |
45 class WebClipboardImpl; | 46 class WebClipboardImpl; |
46 class WebDatabaseObserverImpl; | 47 class WebDatabaseObserverImpl; |
47 class WebFileSystemImpl; | 48 class WebFileSystemImpl; |
48 | 49 |
49 class CONTENT_EXPORT RendererWebKitPlatformSupportImpl | 50 class CONTENT_EXPORT RendererWebKitPlatformSupportImpl |
50 : public BlinkPlatformImpl { | 51 : public BlinkPlatformImpl { |
(...skipping 81 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
132 blink::WebGraphicsContext3D* share_context); | 133 blink::WebGraphicsContext3D* share_context); |
133 virtual blink::WebGraphicsContext3DProvider* | 134 virtual blink::WebGraphicsContext3DProvider* |
134 createSharedOffscreenGraphicsContext3DProvider(); | 135 createSharedOffscreenGraphicsContext3DProvider(); |
135 virtual blink::WebCompositorSupport* compositorSupport(); | 136 virtual blink::WebCompositorSupport* compositorSupport(); |
136 virtual blink::WebString convertIDNToUnicode( | 137 virtual blink::WebString convertIDNToUnicode( |
137 const blink::WebString& host, const blink::WebString& languages); | 138 const blink::WebString& host, const blink::WebString& languages); |
138 virtual void setDeviceMotionListener( | 139 virtual void setDeviceMotionListener( |
139 blink::WebDeviceMotionListener* listener) OVERRIDE; | 140 blink::WebDeviceMotionListener* listener) OVERRIDE; |
140 virtual void setDeviceOrientationListener( | 141 virtual void setDeviceOrientationListener( |
141 blink::WebDeviceOrientationListener* listener) OVERRIDE; | 142 blink::WebDeviceOrientationListener* listener) OVERRIDE; |
| 143 virtual void setBatteryStatusListener( |
| 144 blink::WebBatteryListener* listener) OVERRIDE; |
| 145 |
142 virtual void queryStorageUsageAndQuota( | 146 virtual void queryStorageUsageAndQuota( |
143 const blink::WebURL& storage_partition, | 147 const blink::WebURL& storage_partition, |
144 blink::WebStorageQuotaType, | 148 blink::WebStorageQuotaType, |
145 blink::WebStorageQuotaCallbacks) OVERRIDE; | 149 blink::WebStorageQuotaCallbacks) OVERRIDE; |
146 virtual void vibrate(unsigned int milliseconds); | 150 virtual void vibrate(unsigned int milliseconds); |
147 virtual void cancelVibration(); | 151 virtual void cancelVibration(); |
148 virtual void setScreenOrientationListener( | 152 virtual void setScreenOrientationListener( |
149 blink::WebScreenOrientationListener*) OVERRIDE; | 153 blink::WebScreenOrientationListener*) OVERRIDE; |
150 virtual void lockOrientation(blink::WebScreenOrientationLockType) OVERRIDE; | 154 virtual void lockOrientation(blink::WebScreenOrientationLockType) OVERRIDE; |
151 virtual void unlockOrientation() OVERRIDE; | 155 virtual void unlockOrientation() OVERRIDE; |
(...skipping 72 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
224 scoped_refptr<QuotaMessageFilter> quota_message_filter_; | 228 scoped_refptr<QuotaMessageFilter> quota_message_filter_; |
225 | 229 |
226 scoped_ptr<WebDatabaseObserverImpl> web_database_observer_impl_; | 230 scoped_ptr<WebDatabaseObserverImpl> web_database_observer_impl_; |
227 | 231 |
228 webkit::WebCompositorSupportImpl compositor_support_; | 232 webkit::WebCompositorSupportImpl compositor_support_; |
229 | 233 |
230 scoped_ptr<ScreenOrientationDispatcher> screen_orientation_dispatcher_; | 234 scoped_ptr<ScreenOrientationDispatcher> screen_orientation_dispatcher_; |
231 | 235 |
232 scoped_ptr<blink::WebScrollbarBehavior> web_scrollbar_behavior_; | 236 scoped_ptr<blink::WebScrollbarBehavior> web_scrollbar_behavior_; |
233 | 237 |
| 238 scoped_ptr<BatteryStatusDispatcher> battery_status_dispatcher_; |
| 239 |
234 DISALLOW_COPY_AND_ASSIGN(RendererWebKitPlatformSupportImpl); | 240 DISALLOW_COPY_AND_ASSIGN(RendererWebKitPlatformSupportImpl); |
235 }; | 241 }; |
236 | 242 |
237 } // namespace content | 243 } // namespace content |
238 | 244 |
239 #endif // CONTENT_RENDERER_RENDERER_WEBKITPLATFORMSUPPORT_IMPL_H_ | 245 #endif // CONTENT_RENDERER_RENDERER_WEBKITPLATFORMSUPPORT_IMPL_H_ |
OLD | NEW |