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

Unified Diff: third_party/WebKit/Source/modules/vibration/VibrationController.h

Issue 2138663003: Rename PageLifecycleObserver to PageVisibilityObserver (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 4 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
Index: third_party/WebKit/Source/modules/vibration/VibrationController.h
diff --git a/third_party/WebKit/Source/modules/vibration/VibrationController.h b/third_party/WebKit/Source/modules/vibration/VibrationController.h
index 5d8696a6f5aaae56807c28a16f12601408f62743..1f836f1392e827fc79a51c2f2dc139259135ca5f 100644
--- a/third_party/WebKit/Source/modules/vibration/VibrationController.h
+++ b/third_party/WebKit/Source/modules/vibration/VibrationController.h
@@ -21,7 +21,7 @@
#define VibrationController_h
#include "core/dom/ContextLifecycleObserver.h"
-#include "core/page/PageLifecycleObserver.h"
+#include "core/page/PageVisibilityObserver.h"
#include "device/vibration/vibration_manager.mojom-blink.h"
#include "modules/ModulesExport.h"
#include "platform/Timer.h"
@@ -39,7 +39,7 @@ class UnsignedLongOrUnsignedLongSequence;
class MODULES_EXPORT VibrationController final
: public GarbageCollectedFinalized<VibrationController>
, public ContextLifecycleObserver
- , public PageLifecycleObserver {
+ , public PageVisibilityObserver {
USING_GARBAGE_COLLECTED_MIXIN(VibrationController);
WTF_MAKE_NONCOPYABLE(VibrationController);
public:
@@ -67,10 +67,10 @@ public:
DECLARE_VIRTUAL_TRACE();
private:
- // Inherited from ContextLifecycleObserver AND PageLifecycleObserver.
+ // Inherited from ContextLifecycleObserver AND PageVisibilityObserver.
void contextDestroyed() override;
- // Inherited from PageLifecycleObserver.
+ // Inherited from PageVisibilityObserver.
void pageVisibilityChanged() override;
// The VibrationManager mojo service. This is reset in |contextDestroyed|

Powered by Google App Engine
This is Rietveld 408576698