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

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

Issue 133943002: Gamepad API support for chrome on android (Closed) Base URL: http://git.chromium.org/chromium/src.git@master
Patch Set: Created 6 years, 10 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
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 106 matching lines...) Expand 10 before | Expand all | Expand 10 after
117 virtual bool loadAudioResource( 117 virtual bool loadAudioResource(
118 blink::WebAudioBus* destination_bus, const char* audio_file_data, 118 blink::WebAudioBus* destination_bus, const char* audio_file_data,
119 size_t data_size, double sample_rate); 119 size_t data_size, double sample_rate);
120 120
121 virtual blink::WebContentDecryptionModule* createContentDecryptionModule( 121 virtual blink::WebContentDecryptionModule* createContentDecryptionModule(
122 const blink::WebString& key_system); 122 const blink::WebString& key_system);
123 virtual blink::WebMIDIAccessor* 123 virtual blink::WebMIDIAccessor*
124 createMIDIAccessor(blink::WebMIDIAccessorClient* client); 124 createMIDIAccessor(blink::WebMIDIAccessorClient* client);
125 125
126 virtual blink::WebBlobRegistry* blobRegistry(); 126 virtual blink::WebBlobRegistry* blobRegistry();
127 virtual void resumeGamepads();
128 virtual void pauseGamepads();
127 virtual void sampleGamepads(blink::WebGamepads&); 129 virtual void sampleGamepads(blink::WebGamepads&);
128 virtual blink::WebString userAgent(const blink::WebURL& url); 130 virtual blink::WebString userAgent(const blink::WebURL& url);
129 virtual blink::WebRTCPeerConnectionHandler* createRTCPeerConnectionHandler( 131 virtual blink::WebRTCPeerConnectionHandler* createRTCPeerConnectionHandler(
130 blink::WebRTCPeerConnectionHandlerClient* client); 132 blink::WebRTCPeerConnectionHandlerClient* client);
131 virtual blink::WebMediaStreamCenter* createMediaStreamCenter( 133 virtual blink::WebMediaStreamCenter* createMediaStreamCenter(
132 blink::WebMediaStreamCenterClient* client); 134 blink::WebMediaStreamCenterClient* client);
133 virtual bool processMemorySizesInBytes( 135 virtual bool processMemorySizesInBytes(
134 size_t* private_bytes, size_t* shared_bytes); 136 size_t* private_bytes, size_t* shared_bytes);
135 virtual blink::WebGraphicsContext3D* createOffscreenGraphicsContext3D( 137 virtual blink::WebGraphicsContext3D* createOffscreenGraphicsContext3D(
136 const blink::WebGraphicsContext3D::Attributes& attributes); 138 const blink::WebGraphicsContext3D::Attributes& attributes);
(...skipping 78 matching lines...) Expand 10 before | Expand all | Expand 10 after
215 scoped_ptr<WebDatabaseObserverImpl> web_database_observer_impl_; 217 scoped_ptr<WebDatabaseObserverImpl> web_database_observer_impl_;
216 218
217 webkit::WebCompositorSupportImpl compositor_support_; 219 webkit::WebCompositorSupportImpl compositor_support_;
218 220
219 scoped_ptr<WebCryptoImpl> web_crypto_; 221 scoped_ptr<WebCryptoImpl> web_crypto_;
220 }; 222 };
221 223
222 } // namespace content 224 } // namespace content
223 225
224 #endif // CONTENT_RENDERER_RENDERER_WEBKITPLATFORMSUPPORT_IMPL_H_ 226 #endif // CONTENT_RENDERER_RENDERER_WEBKITPLATFORMSUPPORT_IMPL_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698