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

Unified Diff: third_party/WebKit/Source/modules/gamepad/GamepadDispatcher.h

Issue 2580693003: Decouple GamepadSharedMemory into Blink.
Patch Set: Created 4 years 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: third_party/WebKit/Source/modules/gamepad/GamepadDispatcher.h
diff --git a/third_party/WebKit/Source/modules/gamepad/GamepadDispatcher.h b/third_party/WebKit/Source/modules/gamepad/GamepadDispatcher.h
index 6c0d4a0a52ca9dc1dd7005cd7e12fdaec92f88bb..1345768fa64798c7a4640668a186767a04f39e96 100644
--- a/third_party/WebKit/Source/modules/gamepad/GamepadDispatcher.h
+++ b/third_party/WebKit/Source/modules/gamepad/GamepadDispatcher.h
@@ -12,6 +12,7 @@
namespace blink {
+class GamepadSharedMemoryReader;
class WebGamepads;
class GamepadDispatcher final
@@ -54,6 +55,7 @@ class GamepadDispatcher final
bool connected);
ConnectionChange m_latestChange;
+ std::unique_ptr<GamepadSharedMemoryReader> m_reader;
};
} // namespace blink

Powered by Google App Engine
This is Rietveld 408576698