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

Unified Diff: Source/core/frame/DeviceSensorEventController.h

Issue 306363002: Gamepad: honor page visibility (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Patch Set: just a comment that it will be better with Oilpan 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 side-by-side diff with in-line comments
Download patch
« no previous file with comments | « LayoutTests/gamepad/page-visibility-expected.txt ('k') | Source/core/frame/DeviceSensorEventController.cpp » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: Source/core/frame/DeviceSensorEventController.h
diff --git a/Source/core/frame/DeviceSensorEventController.h b/Source/core/frame/DeviceSensorEventController.h
index b3ed0e4001c7338632ac8643bdd632590b3d5c71..88ff19e5ab4ad9def41b8d2b7e82af297e5cdf4a 100644
--- a/Source/core/frame/DeviceSensorEventController.h
+++ b/Source/core/frame/DeviceSensorEventController.h
@@ -53,12 +53,12 @@ protected:
virtual bool isNullEvent(Event*) = 0;
virtual Document* document() = 0;
+ // Inherited from PageLifecycleObserver.
+ virtual void pageVisibilityChanged() OVERRIDE;
+
bool m_hasEventListener;
private:
- // Inherited from PageLifecycleObserver.
- virtual void pageVisibilityChanged() OVERRIDE FINAL;
-
void fireDeviceEvent(Timer<DeviceSensorEventController>*);
bool m_isActive;
« no previous file with comments | « LayoutTests/gamepad/page-visibility-expected.txt ('k') | Source/core/frame/DeviceSensorEventController.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698