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 69 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
80 virtual long databaseGetFileAttributes( | 80 virtual long databaseGetFileAttributes( |
81 const WebKit::WebString& vfs_file_name); | 81 const WebKit::WebString& vfs_file_name); |
82 virtual long long databaseGetFileSize( | 82 virtual long long databaseGetFileSize( |
83 const WebKit::WebString& vfs_file_name); | 83 const WebKit::WebString& vfs_file_name); |
84 virtual long long databaseGetSpaceAvailableForOrigin( | 84 virtual long long databaseGetSpaceAvailableForOrigin( |
85 const WebKit::WebString& origin_identifier); | 85 const WebKit::WebString& origin_identifier); |
86 virtual WebKit::WebString signedPublicKeyAndChallengeString( | 86 virtual WebKit::WebString signedPublicKeyAndChallengeString( |
87 unsigned key_size_index, | 87 unsigned key_size_index, |
88 const WebKit::WebString& challenge, | 88 const WebKit::WebString& challenge, |
89 const WebKit::WebURL& url); | 89 const WebKit::WebURL& url); |
| 90 virtual void getPluginList(bool refresh, |
| 91 WebKit::WebPluginListBuilder* builder); |
90 virtual void screenColorProfile(WebKit::WebVector<char>* to_profile); | 92 virtual void screenColorProfile(WebKit::WebVector<char>* to_profile); |
91 virtual WebKit::WebIDBFactory* idbFactory(); | 93 virtual WebKit::WebIDBFactory* idbFactory(); |
92 virtual WebKit::WebFileSystem* fileSystem(); | 94 virtual WebKit::WebFileSystem* fileSystem(); |
93 virtual WebKit::WebSharedWorkerRepository* sharedWorkerRepository(); | 95 virtual WebKit::WebSharedWorkerRepository* sharedWorkerRepository(); |
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 | 101 |
(...skipping 16 matching lines...) Expand all Loading... |
116 size_t data_size, double sample_rate); | 118 size_t data_size, double sample_rate); |
117 | 119 |
118 virtual WebKit::WebContentDecryptionModule* createContentDecryptionModule( | 120 virtual WebKit::WebContentDecryptionModule* createContentDecryptionModule( |
119 const WebKit::WebString& key_system); | 121 const WebKit::WebString& key_system); |
120 virtual WebKit::WebMIDIAccessor* | 122 virtual WebKit::WebMIDIAccessor* |
121 createMIDIAccessor(WebKit::WebMIDIAccessorClient* client); | 123 createMIDIAccessor(WebKit::WebMIDIAccessorClient* client); |
122 | 124 |
123 virtual WebKit::WebBlobRegistry* blobRegistry(); | 125 virtual WebKit::WebBlobRegistry* blobRegistry(); |
124 virtual void sampleGamepads(WebKit::WebGamepads&); | 126 virtual void sampleGamepads(WebKit::WebGamepads&); |
125 virtual WebKit::WebString userAgent(const WebKit::WebURL& url); | 127 virtual WebKit::WebString userAgent(const WebKit::WebURL& url); |
126 virtual void GetPlugins(bool refresh, | |
127 std::vector<webkit::WebPluginInfo>* plugins) OVERRIDE; | |
128 virtual WebKit::WebRTCPeerConnectionHandler* createRTCPeerConnectionHandler( | 128 virtual WebKit::WebRTCPeerConnectionHandler* createRTCPeerConnectionHandler( |
129 WebKit::WebRTCPeerConnectionHandlerClient* client); | 129 WebKit::WebRTCPeerConnectionHandlerClient* client); |
130 virtual WebKit::WebMediaStreamCenter* createMediaStreamCenter( | 130 virtual WebKit::WebMediaStreamCenter* createMediaStreamCenter( |
131 WebKit::WebMediaStreamCenterClient* client); | 131 WebKit::WebMediaStreamCenterClient* client); |
132 virtual bool processMemorySizesInBytes( | 132 virtual bool processMemorySizesInBytes( |
133 size_t* private_bytes, size_t* shared_bytes); | 133 size_t* private_bytes, size_t* shared_bytes); |
134 virtual WebKit::WebGraphicsContext3D* createOffscreenGraphicsContext3D( | 134 virtual WebKit::WebGraphicsContext3D* createOffscreenGraphicsContext3D( |
135 const WebKit::WebGraphicsContext3D::Attributes& attributes); | 135 const WebKit::WebGraphicsContext3D::Attributes& attributes); |
136 virtual WebKit::WebGraphicsContext3DProvider* | 136 virtual WebKit::WebGraphicsContext3DProvider* |
137 createSharedOffscreenGraphicsContext3DProvider(); | 137 createSharedOffscreenGraphicsContext3DProvider(); |
(...skipping 72 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
210 scoped_refptr<cc::ContextProvider> shared_offscreen_context_; | 210 scoped_refptr<cc::ContextProvider> shared_offscreen_context_; |
211 | 211 |
212 webkit::WebCompositorSupportImpl compositor_support_; | 212 webkit::WebCompositorSupportImpl compositor_support_; |
213 | 213 |
214 scoped_ptr<WebCryptoImpl> web_crypto_; | 214 scoped_ptr<WebCryptoImpl> web_crypto_; |
215 }; | 215 }; |
216 | 216 |
217 } // namespace content | 217 } // namespace content |
218 | 218 |
219 #endif // CONTENT_RENDERER_RENDERER_WEBKITPLATFORMSUPPORT_IMPL_H_ | 219 #endif // CONTENT_RENDERER_RENDERER_WEBKITPLATFORMSUPPORT_IMPL_H_ |
OLD | NEW |