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

Unified Diff: Source/core/page/PageLifecycleNotifier.cpp

Issue 901663005: Revert r189385 "Remove LifecycleContext" and r189391, r189530, r189456 that block it (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Created 5 years, 10 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/PageLifecycleNotifier.h ('k') | Source/core/page/PageLifecycleObserver.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: Source/core/page/PageLifecycleNotifier.cpp
diff --git a/Source/core/page/PageLifecycleNotifier.cpp b/Source/core/page/PageLifecycleNotifier.cpp
index 9d50b94f908dce42306c0e4ac3db764cddcd2e46..21e9b5fa5f72ff36782cb6fba2c4939f678db333 100644
--- a/Source/core/page/PageLifecycleNotifier.cpp
+++ b/Source/core/page/PageLifecycleNotifier.cpp
@@ -27,8 +27,6 @@
#include "config.h"
#include "core/page/PageLifecycleNotifier.h"
-#include "core/page/PageLifecycleObserver.h"
-
namespace blink {
PageLifecycleNotifier::PageLifecycleNotifier(Page* context)
@@ -56,18 +54,4 @@ void PageLifecycleNotifier::removeObserver(PageLifecycleNotifier::Observer* obse
LifecycleNotifier<Page>::removeObserver(observer);
}
-void PageLifecycleNotifier::notifyPageVisibilityChanged()
-{
- TemporaryChange<IterationType> scope(m_iterating, IteratingOverPageObservers);
- for (PageLifecycleObserver* pageObserver : m_pageObservers)
- pageObserver->pageVisibilityChanged();
-}
-
-void PageLifecycleNotifier::notifyDidCommitLoad(LocalFrame* frame)
-{
- TemporaryChange<IterationType> scope(m_iterating, IteratingOverPageObservers);
- for (PageLifecycleObserver* pageObserver : m_pageObservers)
- pageObserver->didCommitLoad(frame);
-}
-
} // namespace blink
« no previous file with comments | « Source/core/page/PageLifecycleNotifier.h ('k') | Source/core/page/PageLifecycleObserver.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698