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 24 matching lines...) Expand all Loading... |
35 } | 35 } |
36 | 36 |
37 namespace content { | 37 namespace content { |
38 class DeviceMotionEventPump; | 38 class DeviceMotionEventPump; |
39 class DeviceOrientationEventPump; | 39 class DeviceOrientationEventPump; |
40 class QuotaMessageFilter; | 40 class QuotaMessageFilter; |
41 class RendererClipboardClient; | 41 class RendererClipboardClient; |
42 class ScreenOrientationDispatcher; | 42 class ScreenOrientationDispatcher; |
43 class ThreadSafeSender; | 43 class ThreadSafeSender; |
44 class WebClipboardImpl; | 44 class WebClipboardImpl; |
45 class WebCryptoImpl; | |
46 class WebDatabaseObserverImpl; | 45 class WebDatabaseObserverImpl; |
47 class WebFileSystemImpl; | 46 class WebFileSystemImpl; |
48 | 47 |
49 class CONTENT_EXPORT RendererWebKitPlatformSupportImpl | 48 class CONTENT_EXPORT RendererWebKitPlatformSupportImpl |
50 : public WebKitPlatformSupportImpl { | 49 : public WebKitPlatformSupportImpl { |
51 public: | 50 public: |
52 RendererWebKitPlatformSupportImpl(); | 51 RendererWebKitPlatformSupportImpl(); |
53 virtual ~RendererWebKitPlatformSupportImpl(); | 52 virtual ~RendererWebKitPlatformSupportImpl(); |
54 | 53 |
55 void set_plugin_refresh_allowed(bool plugin_refresh_allowed) { | 54 void set_plugin_refresh_allowed(bool plugin_refresh_allowed) { |
(...skipping 88 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
144 #endif | 143 #endif |
145 virtual blink::WebGraphicsContext3DProvider* | 144 virtual blink::WebGraphicsContext3DProvider* |
146 createSharedOffscreenGraphicsContext3DProvider(); | 145 createSharedOffscreenGraphicsContext3DProvider(); |
147 virtual blink::WebCompositorSupport* compositorSupport(); | 146 virtual blink::WebCompositorSupport* compositorSupport(); |
148 virtual blink::WebString convertIDNToUnicode( | 147 virtual blink::WebString convertIDNToUnicode( |
149 const blink::WebString& host, const blink::WebString& languages); | 148 const blink::WebString& host, const blink::WebString& languages); |
150 virtual void setDeviceMotionListener( | 149 virtual void setDeviceMotionListener( |
151 blink::WebDeviceMotionListener* listener) OVERRIDE; | 150 blink::WebDeviceMotionListener* listener) OVERRIDE; |
152 virtual void setDeviceOrientationListener( | 151 virtual void setDeviceOrientationListener( |
153 blink::WebDeviceOrientationListener* listener) OVERRIDE; | 152 blink::WebDeviceOrientationListener* listener) OVERRIDE; |
154 virtual blink::WebCrypto* crypto() OVERRIDE; | |
155 virtual void queryStorageUsageAndQuota( | 153 virtual void queryStorageUsageAndQuota( |
156 const blink::WebURL& storage_partition, | 154 const blink::WebURL& storage_partition, |
157 blink::WebStorageQuotaType, | 155 blink::WebStorageQuotaType, |
158 blink::WebStorageQuotaCallbacks) OVERRIDE; | 156 blink::WebStorageQuotaCallbacks) OVERRIDE; |
159 virtual void vibrate(unsigned int milliseconds); | 157 virtual void vibrate(unsigned int milliseconds); |
160 virtual void cancelVibration(); | 158 virtual void cancelVibration(); |
161 virtual void setScreenOrientationListener( | 159 virtual void setScreenOrientationListener( |
162 blink::WebScreenOrientationListener*) OVERRIDE; | 160 blink::WebScreenOrientationListener*) OVERRIDE; |
163 virtual void lockOrientation(blink::WebScreenOrientations) OVERRIDE; | 161 virtual void lockOrientation(blink::WebScreenOrientations) OVERRIDE; |
164 virtual void unlockOrientation() OVERRIDE; | 162 virtual void unlockOrientation() OVERRIDE; |
(...skipping 56 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
221 | 219 |
222 scoped_refptr<base::MessageLoopProxy> child_thread_loop_; | 220 scoped_refptr<base::MessageLoopProxy> child_thread_loop_; |
223 scoped_refptr<IPC::SyncMessageFilter> sync_message_filter_; | 221 scoped_refptr<IPC::SyncMessageFilter> sync_message_filter_; |
224 scoped_refptr<ThreadSafeSender> thread_safe_sender_; | 222 scoped_refptr<ThreadSafeSender> thread_safe_sender_; |
225 scoped_refptr<QuotaMessageFilter> quota_message_filter_; | 223 scoped_refptr<QuotaMessageFilter> quota_message_filter_; |
226 | 224 |
227 scoped_ptr<WebDatabaseObserverImpl> web_database_observer_impl_; | 225 scoped_ptr<WebDatabaseObserverImpl> web_database_observer_impl_; |
228 | 226 |
229 webkit::WebCompositorSupportImpl compositor_support_; | 227 webkit::WebCompositorSupportImpl compositor_support_; |
230 | 228 |
231 scoped_ptr<WebCryptoImpl> web_crypto_; | |
232 | |
233 scoped_ptr<ScreenOrientationDispatcher> screen_orientation_dispatcher_; | 229 scoped_ptr<ScreenOrientationDispatcher> screen_orientation_dispatcher_; |
234 | 230 |
235 scoped_ptr<blink::WebScrollbarBehavior> web_scrollbar_behavior_; | 231 scoped_ptr<blink::WebScrollbarBehavior> web_scrollbar_behavior_; |
236 | 232 |
237 DISALLOW_COPY_AND_ASSIGN(RendererWebKitPlatformSupportImpl); | 233 DISALLOW_COPY_AND_ASSIGN(RendererWebKitPlatformSupportImpl); |
238 }; | 234 }; |
239 | 235 |
240 } // namespace content | 236 } // namespace content |
241 | 237 |
242 #endif // CONTENT_RENDERER_RENDERER_WEBKITPLATFORMSUPPORT_IMPL_H_ | 238 #endif // CONTENT_RENDERER_RENDERER_WEBKITPLATFORMSUPPORT_IMPL_H_ |
OLD | NEW |