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

Unified Diff: third_party/WebKit/Source/core/page/Page.h

Issue 2080813004: Move platform/MemoryPurgeController -> core/dom/MemoryCoordinator (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: move to dom/ Created 4 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
Index: third_party/WebKit/Source/core/page/Page.h
diff --git a/third_party/WebKit/Source/core/page/Page.h b/third_party/WebKit/Source/core/page/Page.h
index baf263247166215d2b1c6591f37d808f5a9c9325..b56d35aa02a9b090247719f2c2a1777ceb2fc547 100644
--- a/third_party/WebKit/Source/core/page/Page.h
+++ b/third_party/WebKit/Source/core/page/Page.h
@@ -33,7 +33,6 @@
#include "core/page/PageLifecycleNotifier.h"
#include "core/page/PageLifecycleObserver.h"
#include "core/page/PageVisibilityState.h"
-#include "platform/MemoryPurgeController.h"
#include "platform/Supplementable.h"
#include "platform/Timer.h"
#include "platform/geometry/LayoutRect.h"
@@ -71,7 +70,7 @@ typedef uint64_t LinkHash;
float deviceScaleFactor(LocalFrame*);
-class CORE_EXPORT Page final : public GarbageCollectedFinalized<Page>, public Supplementable<Page>, public PageLifecycleNotifier, public SettingsDelegate, public MemoryPurgeClient {
+class CORE_EXPORT Page final : public GarbageCollectedFinalized<Page>, public Supplementable<Page>, public PageLifecycleNotifier, public SettingsDelegate {
USING_GARBAGE_COLLECTED_MIXIN(Page);
WTF_MAKE_NONCOPYABLE(Page);
friend class Settings;
@@ -112,7 +111,6 @@ public:
static PageSet& ordinaryPages();
static void platformColorsChanged();
- static void onMemoryPressure();
FrameHost& frameHost() const { return *m_frameHost; }
@@ -202,10 +200,6 @@ public:
static void networkStateChanged(bool online);
- MemoryPurgeController& memoryPurgeController();
-
- void purgeMemory(DeviceKind) override;
-
DECLARE_TRACE();
void layerTreeViewInitialized(WebLayerTreeView&);
@@ -277,8 +271,6 @@ private:
// FIXME: Most of the members of Page should move onto FrameHost.
Member<FrameHost> m_frameHost;
- Member<MemoryPurgeController> m_memoryPurgeController;
-
Timer<Page> m_timerForCompressStrings;
};
« no previous file with comments | « third_party/WebKit/Source/core/dom/MemoryCoordinator.cpp ('k') | third_party/WebKit/Source/core/page/Page.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698