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

Side by Side Diff: content/public/renderer/renderer_gamepad_provider.h

Issue 304403002: Gamepad: add test support for page visibility behavior (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: add missing override's Created 6 years, 6 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
« no previous file with comments | « no previous file | content/public/test/layouttest_support.h » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
(Empty)
1 // Copyright (c) 2014 The Chromium Authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file.
4
5 #ifndef CONTENT_GAMEPAD_RENDERER_PROVIDER_H_
6 #define CONTENT_GAMEPAD_RENDERER_PROVIDER_H_
7
8 namespace blink {
9 class WebGamepadListener;
10 class WebGamepads;
11 }
12
13 namespace content {
14
15 // Provides gamepad data and events for blink.
16 class RendererGamepadProvider {
17 public:
18 // Provides latest snapshot of gamepads.
19 virtual void SampleGamepads(blink::WebGamepads& gamepads) = 0;
20
21 // Registers listener for be notified of events.
22 virtual void SetGamepadListener(blink::WebGamepadListener* listener) = 0;
23
24 protected:
25 virtual ~RendererGamepadProvider() {}
26 };
27
28 } // namespace content
29
30 #endif
OLDNEW
« no previous file with comments | « no previous file | content/public/test/layouttest_support.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698