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 25 matching lines...) Expand all Loading... |
36 namespace content { | 36 namespace content { |
37 class DeviceMotionEventPump; | 37 class DeviceMotionEventPump; |
38 class DeviceOrientationEventPump; | 38 class DeviceOrientationEventPump; |
39 class QuotaMessageFilter; | 39 class QuotaMessageFilter; |
40 class RendererClipboardClient; | 40 class RendererClipboardClient; |
41 class ThreadSafeSender; | 41 class ThreadSafeSender; |
42 class WebClipboardImpl; | 42 class WebClipboardImpl; |
43 class WebCryptoImpl; | 43 class WebCryptoImpl; |
44 class WebDatabaseObserverImpl; | 44 class WebDatabaseObserverImpl; |
45 class WebFileSystemImpl; | 45 class WebFileSystemImpl; |
| 46 class WebScrollbarBehaviorImpl; |
46 | 47 |
47 class CONTENT_EXPORT RendererWebKitPlatformSupportImpl | 48 class CONTENT_EXPORT RendererWebKitPlatformSupportImpl |
48 : public WebKitPlatformSupportImpl { | 49 : public WebKitPlatformSupportImpl { |
49 public: | 50 public: |
50 RendererWebKitPlatformSupportImpl(); | 51 RendererWebKitPlatformSupportImpl(); |
51 virtual ~RendererWebKitPlatformSupportImpl(); | 52 virtual ~RendererWebKitPlatformSupportImpl(); |
52 | 53 |
53 void set_plugin_refresh_allowed(bool plugin_refresh_allowed) { | 54 void set_plugin_refresh_allowed(bool plugin_refresh_allowed) { |
54 plugin_refresh_allowed_ = plugin_refresh_allowed; | 55 plugin_refresh_allowed_ = plugin_refresh_allowed; |
55 } | 56 } |
(...skipping 28 matching lines...) Expand all Loading... |
84 virtual long long databaseGetSpaceAvailableForOrigin( | 85 virtual long long databaseGetSpaceAvailableForOrigin( |
85 const blink::WebString& origin_identifier); | 86 const blink::WebString& origin_identifier); |
86 virtual blink::WebString signedPublicKeyAndChallengeString( | 87 virtual blink::WebString signedPublicKeyAndChallengeString( |
87 unsigned key_size_index, | 88 unsigned key_size_index, |
88 const blink::WebString& challenge, | 89 const blink::WebString& challenge, |
89 const blink::WebURL& url); | 90 const blink::WebURL& url); |
90 virtual void getPluginList(bool refresh, | 91 virtual void getPluginList(bool refresh, |
91 blink::WebPluginListBuilder* builder); | 92 blink::WebPluginListBuilder* builder); |
92 virtual blink::WebPublicSuffixList* publicSuffixList(); | 93 virtual blink::WebPublicSuffixList* publicSuffixList(); |
93 virtual void screenColorProfile(blink::WebVector<char>* to_profile); | 94 virtual void screenColorProfile(blink::WebVector<char>* to_profile); |
| 95 virtual blink::WebScrollbarBehavior* scrollbarBehavior(); |
94 virtual blink::WebIDBFactory* idbFactory(); | 96 virtual blink::WebIDBFactory* idbFactory(); |
95 virtual blink::WebFileSystem* fileSystem(); | 97 virtual blink::WebFileSystem* fileSystem(); |
96 virtual bool canAccelerate2dCanvas(); | 98 virtual bool canAccelerate2dCanvas(); |
97 virtual bool isThreadedCompositingEnabled(); | 99 virtual bool isThreadedCompositingEnabled(); |
98 virtual double audioHardwareSampleRate(); | 100 virtual double audioHardwareSampleRate(); |
99 virtual size_t audioHardwareBufferSize(); | 101 virtual size_t audioHardwareBufferSize(); |
100 virtual unsigned audioHardwareOutputChannels(); | 102 virtual unsigned audioHardwareOutputChannels(); |
101 virtual blink::WebDatabaseObserver* databaseObserver(); | 103 virtual blink::WebDatabaseObserver* databaseObserver(); |
102 | 104 |
103 // TODO(crogers): remove deprecated API as soon as WebKit calls new API. | 105 // TODO(crogers): remove deprecated API as soon as WebKit calls new API. |
(...skipping 107 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
211 scoped_refptr<IPC::SyncMessageFilter> sync_message_filter_; | 213 scoped_refptr<IPC::SyncMessageFilter> sync_message_filter_; |
212 scoped_refptr<ThreadSafeSender> thread_safe_sender_; | 214 scoped_refptr<ThreadSafeSender> thread_safe_sender_; |
213 scoped_refptr<QuotaMessageFilter> quota_message_filter_; | 215 scoped_refptr<QuotaMessageFilter> quota_message_filter_; |
214 | 216 |
215 scoped_ptr<WebDatabaseObserverImpl> web_database_observer_impl_; | 217 scoped_ptr<WebDatabaseObserverImpl> web_database_observer_impl_; |
216 | 218 |
217 webkit::WebCompositorSupportImpl compositor_support_; | 219 webkit::WebCompositorSupportImpl compositor_support_; |
218 | 220 |
219 scoped_ptr<WebCryptoImpl> web_crypto_; | 221 scoped_ptr<WebCryptoImpl> web_crypto_; |
220 | 222 |
| 223 scoped_ptr<WebScrollbarBehaviorImpl> web_scrollbar_behavior_; |
| 224 |
221 DISALLOW_COPY_AND_ASSIGN(RendererWebKitPlatformSupportImpl); | 225 DISALLOW_COPY_AND_ASSIGN(RendererWebKitPlatformSupportImpl); |
222 }; | 226 }; |
223 | 227 |
224 } // namespace content | 228 } // namespace content |
225 | 229 |
226 #endif // CONTENT_RENDERER_RENDERER_WEBKITPLATFORMSUPPORT_IMPL_H_ | 230 #endif // CONTENT_RENDERER_RENDERER_WEBKITPLATFORMSUPPORT_IMPL_H_ |
OLD | NEW |