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

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

Issue 2730573003: Moved FrameHost::m_visualViewport to Page (Closed)
Patch Set: Fixed some compile errors on mac and android Created 3 years, 9 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 | « third_party/WebKit/Source/core/loader/FrameLoader.cpp ('k') | third_party/WebKit/Source/core/page/Page.cpp » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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 738c031e95a88ebf574aa2d56e51e3c517efac3f..7ff4642d63a944d60152c2439ba921eda2ebbacc 100644
--- a/third_party/WebKit/Source/core/page/Page.h
+++ b/third_party/WebKit/Source/core/page/Page.h
@@ -69,6 +69,7 @@ class ScrollingCoordinator;
class Settings;
class SpellCheckerClient;
class ValidationMessageClient;
+class VisualViewport;
class WebLayerTreeView;
typedef uint64_t LinkHash;
@@ -193,6 +194,9 @@ class CORE_EXPORT Page final : public GarbageCollectedFinalized<Page>,
EventHandlerRegistry& eventHandlerRegistry();
const EventHandlerRegistry& eventHandlerRegistry() const;
+ VisualViewport& visualViewport();
+ const VisualViewport& visualViewport() const;
+
void setTabKeyCyclesThroughElements(bool b) {
m_tabKeyCyclesThroughElements = b;
}
@@ -280,6 +284,7 @@ class CORE_EXPORT Page final : public GarbageCollectedFinalized<Page>,
Member<ScrollingCoordinator> m_scrollingCoordinator;
const Member<BrowserControls> m_browserControls;
const Member<EventHandlerRegistry> m_eventHandlerRegistry;
+ const Member<VisualViewport> m_visualViewport;
// Typically, the main frame and Page should both be owned by the embedder,
// which must call Page::willBeDestroyed() prior to destroying Page. This
« no previous file with comments | « third_party/WebKit/Source/core/loader/FrameLoader.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