Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(276)

Side by Side Diff: chrome/renderer/renderer_webkitclient_impl.h

Issue 6002005: Implement renderer AudioDevice API for low-latency audio output... (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src/
Patch Set: '' Created 9 years, 11 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch | Annotate | Revision Log
OLDNEW
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 CHROME_RENDERER_RENDERER_WEBKITCLIENT_IMPL_H_ 5 #ifndef CHROME_RENDERER_RENDERER_WEBKITCLIENT_IMPL_H_
6 #define CHROME_RENDERER_RENDERER_WEBKITCLIENT_IMPL_H_ 6 #define CHROME_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 52 matching lines...) Expand 10 before | Expand all | Expand 10 after
63 const WebKit::WebURL& url); 63 const WebKit::WebURL& url);
64 virtual WebKit::WebIDBFactory* idbFactory(); 64 virtual WebKit::WebIDBFactory* idbFactory();
65 virtual void createIDBKeysFromSerializedValuesAndKeyPath( 65 virtual void createIDBKeysFromSerializedValuesAndKeyPath(
66 const WebKit::WebVector<WebKit::WebSerializedScriptValue>& values, 66 const WebKit::WebVector<WebKit::WebSerializedScriptValue>& values,
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::WebFileSystem* fileSystem(); 69 virtual WebKit::WebFileSystem* fileSystem();
70 70
71 virtual WebKit::WebSharedWorkerRepository* sharedWorkerRepository(); 71 virtual WebKit::WebSharedWorkerRepository* sharedWorkerRepository();
72 virtual WebKit::WebGraphicsContext3D* createGraphicsContext3D(); 72 virtual WebKit::WebGraphicsContext3D* createGraphicsContext3D();
73 virtual WebKit::WebAudioDevice* createAudioDevice(
74 size_t buffer_size, unsigned channels, double sample_rate,
75 WebKit::WebAudioDevice::RenderCallback* callback);
73 76
74 virtual WebKit::WebBlobRegistry* blobRegistry(); 77 virtual WebKit::WebBlobRegistry* blobRegistry();
75 78
76 private: 79 private:
77 bool CheckPreparsedJsCachingEnabled() const; 80 bool CheckPreparsedJsCachingEnabled() const;
78 81
79 // Helper function to send synchronous message from any thread. 82 // Helper function to send synchronous message from any thread.
80 static bool SendSyncMessageFromAnyThread(IPC::SyncMessage* msg); 83 static bool SendSyncMessageFromAnyThread(IPC::SyncMessage* msg);
81 84
82 scoped_ptr<webkit_glue::WebClipboardImpl> clipboard_; 85 scoped_ptr<webkit_glue::WebClipboardImpl> clipboard_;
(...skipping 18 matching lines...) Expand all
101 scoped_ptr<WebSharedWorkerRepositoryImpl> shared_worker_repository_; 104 scoped_ptr<WebSharedWorkerRepositoryImpl> shared_worker_repository_;
102 105
103 scoped_ptr<WebKit::WebIDBFactory> web_idb_factory_; 106 scoped_ptr<WebKit::WebIDBFactory> web_idb_factory_;
104 107
105 scoped_ptr<WebFileSystemImpl> web_file_system_; 108 scoped_ptr<WebFileSystemImpl> web_file_system_;
106 109
107 scoped_ptr<WebKit::WebBlobRegistry> blob_registry_; 110 scoped_ptr<WebKit::WebBlobRegistry> blob_registry_;
108 }; 111 };
109 112
110 #endif // CHROME_RENDERER_RENDERER_WEBKITCLIENT_IMPL_H_ 113 #endif // CHROME_RENDERER_RENDERER_WEBKITCLIENT_IMPL_H_
OLDNEW
« no previous file with comments | « chrome/renderer/renderer_webaudiodevice_impl.cc ('k') | chrome/renderer/renderer_webkitclient_impl.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698