Chromium Code Reviews| 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 |