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

Unified Diff: Source/modules/vibration/NavigatorVibration.h

Issue 19641006: Cancel vibration when frame load is committed. (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Patch Set: Created 7 years, 5 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 | « Source/core/page/PageLifecycleObserver.h ('k') | Source/modules/vibration/NavigatorVibration.cpp » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: Source/modules/vibration/NavigatorVibration.h
diff --git a/Source/modules/vibration/NavigatorVibration.h b/Source/modules/vibration/NavigatorVibration.h
index 2d3b40f58667251fca97b2be454884e3c0e516e6..91c21572e8e3a91ee77f730ec252135d620e0b12 100644
--- a/Source/modules/vibration/NavigatorVibration.h
+++ b/Source/modules/vibration/NavigatorVibration.h
@@ -28,6 +28,7 @@
namespace WebCore {
+class Frame;
class Navigator;
class NavigatorVibration
@@ -45,6 +46,7 @@ public:
// Inherited from PageLifecycleObserver
virtual void pageVisibilityChanged() OVERRIDE;
+ virtual void didCommitLoad(Frame*) OVERRIDE;
static bool vibrate(Navigator*, unsigned time);
static bool vibrate(Navigator*, const VibrationPattern&);
« no previous file with comments | « Source/core/page/PageLifecycleObserver.h ('k') | Source/modules/vibration/NavigatorVibration.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698