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

Unified 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, 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 side-by-side diff with in-line comments
Download patch
Index: content/renderer/renderer_webkitplatformsupport_impl.h
diff --git a/content/renderer/renderer_webkitplatformsupport_impl.h b/content/renderer/renderer_webkitplatformsupport_impl.h
index ca772948a8dd8ee19400e4ab6d1eb346e71fe7c8..5da2c470a4bc74678605520e3e78ed0b1e52d035 100644
--- a/content/renderer/renderer_webkitplatformsupport_impl.h
+++ b/content/renderer/renderer_webkitplatformsupport_impl.h
@@ -1,4 +1,5 @@
// Copyright (c) 2012 The Chromium Authors. All rights reserved.
+// Copyright (c) 2014, NVIDIA CORPORATION. All rights reserved.
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
@@ -124,6 +125,10 @@ class CONTENT_EXPORT RendererWebKitPlatformSupportImpl
createMIDIAccessor(blink::WebMIDIAccessorClient* client);
virtual blink::WebBlobRegistry* blobRegistry();
+#if defined(OS_ANDROID)
+ virtual void resumeGamepads();
xwang 2014/01/14 03:03:22 More code in blink to call this?
SaurabhK 2014/01/15 16:57:08 I am working on blink code, I will upload that in
+ virtual void pauseGamepads();
+#endif
virtual void sampleGamepads(blink::WebGamepads&);
virtual blink::WebString userAgent(const blink::WebURL& url);
virtual blink::WebRTCPeerConnectionHandler* createRTCPeerConnectionHandler(

Powered by Google App Engine
This is Rietveld 408576698