OLD | NEW |
1 // Copyright (c) 2010 The Chromium Authors. All rights reserved. | 1 // Copyright (c) 2010 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_WEBKITCLIENT_IMPL_H_ | 5 #ifndef CONTENT_RENDERER_RENDERER_WEBKITCLIENT_IMPL_H_ |
6 #define CONTENT_RENDERER_RENDERER_WEBKITCLIENT_IMPL_H_ | 6 #define CONTENT_RENDERER_RENDERER_WEBKITCLIENT_IMPL_H_ |
7 #pragma once | 7 #pragma once |
8 | 8 |
9 #include "base/platform_file.h" | 9 #include "base/platform_file.h" |
10 #include "base/scoped_ptr.h" | 10 #include "base/scoped_ptr.h" |
(...skipping 56 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
67 const WebKit::WebString& keyPath, | 67 const WebKit::WebString& keyPath, |
68 WebKit::WebVector<WebKit::WebIDBKey>& keys); | 68 WebKit::WebVector<WebKit::WebIDBKey>& keys); |
69 virtual WebKit::WebSerializedScriptValue injectIDBKeyIntoSerializedValue( | 69 virtual WebKit::WebSerializedScriptValue injectIDBKeyIntoSerializedValue( |
70 const WebKit::WebIDBKey& key, | 70 const WebKit::WebIDBKey& key, |
71 const WebKit::WebSerializedScriptValue& value, | 71 const WebKit::WebSerializedScriptValue& value, |
72 const WebKit::WebString& keyPath); | 72 const WebKit::WebString& keyPath); |
73 virtual WebKit::WebFileSystem* fileSystem(); | 73 virtual WebKit::WebFileSystem* fileSystem(); |
74 | 74 |
75 virtual WebKit::WebSharedWorkerRepository* sharedWorkerRepository(); | 75 virtual WebKit::WebSharedWorkerRepository* sharedWorkerRepository(); |
76 virtual WebKit::WebGraphicsContext3D* createGraphicsContext3D(); | 76 virtual WebKit::WebGraphicsContext3D* createGraphicsContext3D(); |
| 77 virtual double audioHardwareSampleRate(); |
77 virtual WebKit::WebAudioDevice* createAudioDevice( | 78 virtual WebKit::WebAudioDevice* createAudioDevice( |
78 size_t buffer_size, unsigned channels, double sample_rate, | 79 size_t buffer_size, unsigned channels, double sample_rate, |
79 WebKit::WebAudioDevice::RenderCallback* callback); | 80 WebKit::WebAudioDevice::RenderCallback* callback); |
80 | 81 |
81 virtual WebKit::WebBlobRegistry* blobRegistry(); | 82 virtual WebKit::WebBlobRegistry* blobRegistry(); |
82 | 83 |
83 private: | 84 private: |
84 bool CheckPreparsedJsCachingEnabled() const; | 85 bool CheckPreparsedJsCachingEnabled() const; |
85 | 86 |
86 // Helper function to send synchronous message from any thread. | 87 // Helper function to send synchronous message from any thread. |
(...skipping 21 matching lines...) Expand all Loading... |
108 scoped_ptr<WebSharedWorkerRepositoryImpl> shared_worker_repository_; | 109 scoped_ptr<WebSharedWorkerRepositoryImpl> shared_worker_repository_; |
109 | 110 |
110 scoped_ptr<WebKit::WebIDBFactory> web_idb_factory_; | 111 scoped_ptr<WebKit::WebIDBFactory> web_idb_factory_; |
111 | 112 |
112 scoped_ptr<WebFileSystemImpl> web_file_system_; | 113 scoped_ptr<WebFileSystemImpl> web_file_system_; |
113 | 114 |
114 scoped_ptr<WebKit::WebBlobRegistry> blob_registry_; | 115 scoped_ptr<WebKit::WebBlobRegistry> blob_registry_; |
115 }; | 116 }; |
116 | 117 |
117 #endif // CONTENT_RENDERER_RENDERER_WEBKITCLIENT_IMPL_H_ | 118 #endif // CONTENT_RENDERER_RENDERER_WEBKITCLIENT_IMPL_H_ |
OLD | NEW |