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

Side by Side Diff: content/renderer/renderer_webkitplatformsupport_impl.h

Issue 12378094: Implement WebKit::Platform::isThreadedCompositingEnabled() (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 7 years, 9 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
« no previous file with comments | « no previous file | content/renderer/renderer_webkitplatformsupport_impl.cc » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
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 53 matching lines...) Expand 10 before | Expand all | Expand 10 after
64 const WebKit::WebString& origin_identifier); 64 const WebKit::WebString& origin_identifier);
65 virtual WebKit::WebString signedPublicKeyAndChallengeString( 65 virtual WebKit::WebString signedPublicKeyAndChallengeString(
66 unsigned key_size_index, 66 unsigned key_size_index,
67 const WebKit::WebString& challenge, 67 const WebKit::WebString& challenge,
68 const WebKit::WebURL& url); 68 const WebKit::WebURL& url);
69 virtual void screenColorProfile(WebKit::WebVector<char>* to_profile); 69 virtual void screenColorProfile(WebKit::WebVector<char>* to_profile);
70 virtual WebKit::WebIDBFactory* idbFactory(); 70 virtual WebKit::WebIDBFactory* idbFactory();
71 virtual WebKit::WebFileSystem* fileSystem(); 71 virtual WebKit::WebFileSystem* fileSystem();
72 virtual WebKit::WebSharedWorkerRepository* sharedWorkerRepository(); 72 virtual WebKit::WebSharedWorkerRepository* sharedWorkerRepository();
73 virtual bool canAccelerate2dCanvas(); 73 virtual bool canAccelerate2dCanvas();
74 virtual bool isThreadedCompositingEnabled();
74 virtual double audioHardwareSampleRate(); 75 virtual double audioHardwareSampleRate();
75 virtual size_t audioHardwareBufferSize(); 76 virtual size_t audioHardwareBufferSize();
76 77
77 // TODO(crogers): remove deprecated API as soon as WebKit calls new API. 78 // TODO(crogers): remove deprecated API as soon as WebKit calls new API.
78 virtual WebKit::WebAudioDevice* createAudioDevice( 79 virtual WebKit::WebAudioDevice* createAudioDevice(
79 size_t buffer_size, unsigned channels, double sample_rate, 80 size_t buffer_size, unsigned channels, double sample_rate,
80 WebKit::WebAudioDevice::RenderCallback* callback); 81 WebKit::WebAudioDevice::RenderCallback* callback);
81 // TODO(crogers): remove deprecated API as soon as WebKit calls new API. 82 // TODO(crogers): remove deprecated API as soon as WebKit calls new API.
82 virtual WebKit::WebAudioDevice* createAudioDevice( 83 virtual WebKit::WebAudioDevice* createAudioDevice(
83 size_t buffer_size, unsigned input_channels, unsigned channels, 84 size_t buffer_size, unsigned input_channels, unsigned channels,
(...skipping 72 matching lines...) Expand 10 before | Expand all | Expand 10 after
156 scoped_ptr<WebFileSystemImpl> web_file_system_; 157 scoped_ptr<WebFileSystemImpl> web_file_system_;
157 158
158 scoped_ptr<WebKit::WebBlobRegistry> blob_registry_; 159 scoped_ptr<WebKit::WebBlobRegistry> blob_registry_;
159 160
160 scoped_ptr<GamepadSharedMemoryReader> gamepad_shared_memory_reader_; 161 scoped_ptr<GamepadSharedMemoryReader> gamepad_shared_memory_reader_;
161 }; 162 };
162 163
163 } // namespace content 164 } // namespace content
164 165
165 #endif // CONTENT_RENDERER_RENDERER_WEBKITPLATFORMSUPPORT_IMPL_H_ 166 #endif // CONTENT_RENDERER_RENDERER_WEBKITPLATFORMSUPPORT_IMPL_H_
OLDNEW
« no previous file with comments | « no previous file | content/renderer/renderer_webkitplatformsupport_impl.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698