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

Unified Diff: third_party/WebKit/Source/core/frame/PlatformEventController.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/core/frame/PlatformEventController.h
diff --git a/third_party/WebKit/Source/core/frame/PlatformEventController.h b/third_party/WebKit/Source/core/frame/PlatformEventController.h
index c55a544b58bb85c366590181912b0949997b4cf8..894fd20db5a29f15ab863c2de3f81265ae120f29 100644
--- a/third_party/WebKit/Source/core/frame/PlatformEventController.h
+++ b/third_party/WebKit/Source/core/frame/PlatformEventController.h
@@ -6,7 +6,7 @@
#define PlatformEventController_h
#include "core/CoreExport.h"
-#include "core/page/PageLifecycleObserver.h"
+#include "core/page/PageVisibilityObserver.h"
#include "platform/Timer.h"
#include "platform/heap/Handle.h"
@@ -16,7 +16,7 @@ namespace blink {
// It watches page visibility and calls stopUpdating when page is not visible.
// It provides a didUpdateData() callback method which is called when new data
// it available.
-class CORE_EXPORT PlatformEventController : public PageLifecycleObserver {
+class CORE_EXPORT PlatformEventController : public PageVisibilityObserver {
public:
void startUpdating();
void stopUpdating();
@@ -37,7 +37,7 @@ protected:
bool m_hasEventListener;
private:
- // Inherited from PageLifecycleObserver.
+ // Inherited from PageVisibilityObserver.
void pageVisibilityChanged() override;
void oneShotCallback(Timer<PlatformEventController>*);
« no previous file with comments | « third_party/WebKit/Source/core/core.gypi ('k') | third_party/WebKit/Source/core/frame/PlatformEventController.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698