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

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

Issue 9655017: Implement WebKitPlatformSupport::canAccelerate2dCanvas (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: move canAccelerate.. call next to createOffscreenGraphicsContext3D call Created 8 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
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 #pragma once 7 #pragma once
8 8
9 #include "base/compiler_specific.h" 9 #include "base/compiler_specific.h"
10 #include "base/memory/scoped_ptr.h" 10 #include "base/memory/scoped_ptr.h"
(...skipping 64 matching lines...) Expand 10 before | Expand all | Expand 10 after
75 virtual void createIDBKeysFromSerializedValuesAndKeyPath( 75 virtual void createIDBKeysFromSerializedValuesAndKeyPath(
76 const WebKit::WebVector<WebKit::WebSerializedScriptValue>& values, 76 const WebKit::WebVector<WebKit::WebSerializedScriptValue>& values,
77 const WebKit::WebString& keyPath, 77 const WebKit::WebString& keyPath,
78 WebKit::WebVector<WebKit::WebIDBKey>& keys) OVERRIDE; 78 WebKit::WebVector<WebKit::WebIDBKey>& keys) OVERRIDE;
79 virtual WebKit::WebSerializedScriptValue injectIDBKeyIntoSerializedValue( 79 virtual WebKit::WebSerializedScriptValue injectIDBKeyIntoSerializedValue(
80 const WebKit::WebIDBKey& key, 80 const WebKit::WebIDBKey& key,
81 const WebKit::WebSerializedScriptValue& value, 81 const WebKit::WebSerializedScriptValue& value,
82 const WebKit::WebString& keyPath) OVERRIDE; 82 const WebKit::WebString& keyPath) OVERRIDE;
83 virtual WebKit::WebFileSystem* fileSystem() OVERRIDE; 83 virtual WebKit::WebFileSystem* fileSystem() OVERRIDE;
84 virtual WebKit::WebSharedWorkerRepository* sharedWorkerRepository() OVERRIDE; 84 virtual WebKit::WebSharedWorkerRepository* sharedWorkerRepository() OVERRIDE;
85 virtual bool canAccelerate2dCanvas();
85 virtual double audioHardwareSampleRate() OVERRIDE; 86 virtual double audioHardwareSampleRate() OVERRIDE;
86 virtual size_t audioHardwareBufferSize() OVERRIDE; 87 virtual size_t audioHardwareBufferSize() OVERRIDE;
87 virtual WebKit::WebAudioDevice* createAudioDevice( 88 virtual WebKit::WebAudioDevice* createAudioDevice(
88 size_t buffer_size, unsigned channels, double sample_rate, 89 size_t buffer_size, unsigned channels, double sample_rate,
89 WebKit::WebAudioDevice::RenderCallback* callback) OVERRIDE; 90 WebKit::WebAudioDevice::RenderCallback* callback) OVERRIDE;
90 virtual WebKit::WebBlobRegistry* blobRegistry() OVERRIDE; 91 virtual WebKit::WebBlobRegistry* blobRegistry() OVERRIDE;
91 virtual void sampleGamepads(WebKit::WebGamepads&) OVERRIDE; 92 virtual void sampleGamepads(WebKit::WebGamepads&) OVERRIDE;
92 virtual WebKit::WebString userAgent(const WebKit::WebURL& url) OVERRIDE; 93 virtual WebKit::WebString userAgent(const WebKit::WebURL& url) OVERRIDE;
93 virtual void GetPlugins(bool refresh, 94 virtual void GetPlugins(bool refresh,
94 std::vector<webkit::WebPluginInfo>* plugins) OVERRIDE; 95 std::vector<webkit::WebPluginInfo>* plugins) OVERRIDE;
(...skipping 36 matching lines...) Expand 10 before | Expand all | Expand 10 after
131 scoped_ptr<WebKit::WebIDBFactory> web_idb_factory_; 132 scoped_ptr<WebKit::WebIDBFactory> web_idb_factory_;
132 133
133 scoped_ptr<WebFileSystemImpl> web_file_system_; 134 scoped_ptr<WebFileSystemImpl> web_file_system_;
134 135
135 scoped_ptr<WebKit::WebBlobRegistry> blob_registry_; 136 scoped_ptr<WebKit::WebBlobRegistry> blob_registry_;
136 137
137 scoped_ptr<content::GamepadSharedMemoryReader> gamepad_shared_memory_reader_; 138 scoped_ptr<content::GamepadSharedMemoryReader> gamepad_shared_memory_reader_;
138 }; 139 };
139 140
140 #endif // CONTENT_RENDERER_RENDERER_WEBKITPLATFORMSUPPORT_IMPL_H_ 141 #endif // CONTENT_RENDERER_RENDERER_WEBKITPLATFORMSUPPORT_IMPL_H_
OLDNEW
« no previous file with comments | « content/public/common/gpu_info.cc ('k') | content/renderer/renderer_webkitplatformsupport_impl.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698