| 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" |
| 11 #include "content/child/webkitplatformsupport_impl.h" | 11 #include "content/child/webkitplatformsupport_impl.h" |
| 12 #include "content/common/content_export.h" | 12 #include "content/common/content_export.h" |
| 13 #include "content/renderer/webpublicsuffixlist_impl.h" |
| 13 #include "third_party/WebKit/public/platform/WebGraphicsContext3D.h" | 14 #include "third_party/WebKit/public/platform/WebGraphicsContext3D.h" |
| 14 #include "third_party/WebKit/public/platform/WebIDBFactory.h" | 15 #include "third_party/WebKit/public/platform/WebIDBFactory.h" |
| 15 #include "webkit/renderer/compositor_bindings/web_compositor_support_impl.h" | 16 #include "webkit/renderer/compositor_bindings/web_compositor_support_impl.h" |
| 16 | 17 |
| 17 namespace base { | 18 namespace base { |
| 18 class MessageLoopProxy; | 19 class MessageLoopProxy; |
| 19 } | 20 } |
| 20 | 21 |
| 21 namespace cc { | 22 namespace cc { |
| 22 class ContextProvider; | 23 class ContextProvider; |
| (...skipping 58 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 81 virtual long long databaseGetFileSize( | 82 virtual long long databaseGetFileSize( |
| 82 const blink::WebString& vfs_file_name); | 83 const blink::WebString& vfs_file_name); |
| 83 virtual long long databaseGetSpaceAvailableForOrigin( | 84 virtual long long databaseGetSpaceAvailableForOrigin( |
| 84 const blink::WebString& origin_identifier); | 85 const blink::WebString& origin_identifier); |
| 85 virtual blink::WebString signedPublicKeyAndChallengeString( | 86 virtual blink::WebString signedPublicKeyAndChallengeString( |
| 86 unsigned key_size_index, | 87 unsigned key_size_index, |
| 87 const blink::WebString& challenge, | 88 const blink::WebString& challenge, |
| 88 const blink::WebURL& url); | 89 const blink::WebURL& url); |
| 89 virtual void getPluginList(bool refresh, | 90 virtual void getPluginList(bool refresh, |
| 90 blink::WebPluginListBuilder* builder); | 91 blink::WebPluginListBuilder* builder); |
| 92 virtual blink::WebPublicSuffixList* publicSuffixList(); |
| 91 virtual void screenColorProfile(blink::WebVector<char>* to_profile); | 93 virtual void screenColorProfile(blink::WebVector<char>* to_profile); |
| 92 virtual blink::WebIDBFactory* idbFactory(); | 94 virtual blink::WebIDBFactory* idbFactory(); |
| 93 virtual blink::WebFileSystem* fileSystem(); | 95 virtual blink::WebFileSystem* fileSystem(); |
| 94 virtual bool canAccelerate2dCanvas(); | 96 virtual bool canAccelerate2dCanvas(); |
| 95 virtual bool isThreadedCompositingEnabled(); | 97 virtual bool isThreadedCompositingEnabled(); |
| 96 virtual double audioHardwareSampleRate(); | 98 virtual double audioHardwareSampleRate(); |
| 97 virtual size_t audioHardwareBufferSize(); | 99 virtual size_t audioHardwareBufferSize(); |
| 98 virtual unsigned audioHardwareOutputChannels(); | 100 virtual unsigned audioHardwareOutputChannels(); |
| 99 virtual blink::WebPlatformDatabaseObserver* databaseObserver(); | 101 virtual blink::WebPlatformDatabaseObserver* databaseObserver(); |
| 100 | 102 |
| (...skipping 95 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 196 // we tell the browser to enable fast termination. | 198 // we tell the browser to enable fast termination. |
| 197 int sudden_termination_disables_; | 199 int sudden_termination_disables_; |
| 198 | 200 |
| 199 // If true, then a GetPlugins call is allowed to rescan the disk. | 201 // If true, then a GetPlugins call is allowed to rescan the disk. |
| 200 bool plugin_refresh_allowed_; | 202 bool plugin_refresh_allowed_; |
| 201 | 203 |
| 202 scoped_ptr<blink::WebIDBFactory> web_idb_factory_; | 204 scoped_ptr<blink::WebIDBFactory> web_idb_factory_; |
| 203 | 205 |
| 204 scoped_ptr<blink::WebBlobRegistry> blob_registry_; | 206 scoped_ptr<blink::WebBlobRegistry> blob_registry_; |
| 205 | 207 |
| 208 WebPublicSuffixListImpl public_suffix_list_; |
| 209 |
| 206 scoped_ptr<DeviceMotionEventPump> device_motion_event_pump_; | 210 scoped_ptr<DeviceMotionEventPump> device_motion_event_pump_; |
| 207 scoped_ptr<DeviceOrientationEventPump> device_orientation_event_pump_; | 211 scoped_ptr<DeviceOrientationEventPump> device_orientation_event_pump_; |
| 208 | 212 |
| 209 scoped_refptr<base::MessageLoopProxy> child_thread_loop_; | 213 scoped_refptr<base::MessageLoopProxy> child_thread_loop_; |
| 210 scoped_refptr<IPC::SyncMessageFilter> sync_message_filter_; | 214 scoped_refptr<IPC::SyncMessageFilter> sync_message_filter_; |
| 211 scoped_refptr<ThreadSafeSender> thread_safe_sender_; | 215 scoped_refptr<ThreadSafeSender> thread_safe_sender_; |
| 212 scoped_refptr<QuotaMessageFilter> quota_message_filter_; | 216 scoped_refptr<QuotaMessageFilter> quota_message_filter_; |
| 213 | 217 |
| 214 scoped_ptr<WebDatabaseObserverImpl> web_database_observer_impl_; | 218 scoped_ptr<WebDatabaseObserverImpl> web_database_observer_impl_; |
| 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 |