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

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

Issue 2526163002: Rename blink::Page's load deferral to suspension (Closed)
Patch Set: Created 4 years, 1 month 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 fe205ff0ef0d351ff0f80da383f289984dbf9235..69e603bfc81921b7e1cc668dbaa8ee6dc62ee935 100644
--- a/third_party/WebKit/Source/core/page/Page.h
+++ b/third_party/WebKit/Source/core/page/Page.h
@@ -190,8 +190,8 @@ class CORE_EXPORT Page final : public GarbageCollectedFinalized<Page>,
// DefersLoading is used to delay loads during modal dialogs.
// Modal dialogs are supposed to freeze all background processes
// in the page, including prevent additional loads from staring/continuing.
- void setDefersLoading(bool);
- bool defersLoading() const { return m_defersLoading; }
+ void setSuspended(bool);
+ bool suspended() const { return m_suspended; }
void setPageScaleFactor(float);
float pageScaleFactor() const;
@@ -272,7 +272,7 @@ class CORE_EXPORT Page final : public GarbageCollectedFinalized<Page>,
bool m_openedByDOM;
bool m_tabKeyCyclesThroughElements;
- bool m_defersLoading;
+ bool m_suspended;
float m_deviceScaleFactor;
« no previous file with comments | « third_party/WebKit/Source/core/page/FocusController.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