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

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

Issue 2905283003: Remove a bunch of dead code around WindowFeatures (Closed)
Patch Set: Add missing #include Created 3 years, 7 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 f1ef96350e2407cde1e8a7eafa692e92e82e6625..0d6829962c03fc53be590c6109ada7a8b2f8b089 100644
--- a/third_party/WebKit/Source/core/page/Page.h
+++ b/third_party/WebKit/Source/core/page/Page.h
@@ -35,6 +35,7 @@
#include "core/page/PageVisibilityNotifier.h"
#include "core/page/PageVisibilityObserver.h"
#include "core/page/PageVisibilityState.h"
+#include "core/page/WindowFeatures.h"
#include "platform/Supplementable.h"
#include "platform/geometry/LayoutRect.h"
#include "platform/geometry/Region.h"
@@ -185,6 +186,11 @@ class CORE_EXPORT Page final : public GarbageCollectedFinalized<Page>,
Deprecation& GetDeprecation() { return deprecation_; }
HostsUsingFeatures& GetHostsUsingFeatures() { return hosts_using_features_; }
+ void SetWindowFeatures(const WindowFeatures& features) {
+ window_features_ = features;
+ }
+ const WindowFeatures& GetWindowFeatures() const { return window_features_; }
+
PageScaleConstraintsSet& GetPageScaleConstraintsSet();
const PageScaleConstraintsSet& GetPageScaleConstraintsSet() const;
@@ -333,6 +339,7 @@ class CORE_EXPORT Page final : public GarbageCollectedFinalized<Page>,
UseCounter use_counter_;
Deprecation deprecation_;
HostsUsingFeatures hosts_using_features_;
+ WindowFeatures window_features_;
Nate Chapin 2017/05/31 16:55:13 Rather than storing the WindowFeatures in web/ and
bool opened_by_dom_;
// Set to true when window.close() has been called and the Page will be

Powered by Google App Engine
This is Rietveld 408576698