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

Unified Diff: third_party/WebKit/Source/core/frame/LocalDOMWindow.h

Issue 2070563002: Seperate DOMVisualViewport from Blink's VisualViewport class (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: 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/frame/LocalDOMWindow.h
diff --git a/third_party/WebKit/Source/core/frame/LocalDOMWindow.h b/third_party/WebKit/Source/core/frame/LocalDOMWindow.h
index 87e5acdf973f9d8ae27b7edabf7c43877553bec8..d40182a6a681aeaebe7d985007000a189437d73a 100644
--- a/third_party/WebKit/Source/core/frame/LocalDOMWindow.h
+++ b/third_party/WebKit/Source/core/frame/LocalDOMWindow.h
@@ -56,7 +56,7 @@ class Page;
class PostMessageTimer;
class SecurityOrigin;
class SourceLocation;
-class VisualViewport;
+class DOMVisualViewport;
enum PageshowEventPersistence {
PageshowEventNotPersisted = 0,
@@ -106,7 +106,7 @@ public:
int screenY() const override;
double scrollX() const override;
double scrollY() const override;
- VisualViewport* visualViewport() override;
+ DOMVisualViewport* visualViewport() override;
const AtomicString& name() const override;
void setName(const AtomicString&) override;
String status() const override;
@@ -230,6 +230,7 @@ private:
Member<WindowFrameObserver> m_frameObserver;
Member<Document> m_document;
+ Member<DOMVisualViewport> m_visualViewport;
bool m_shouldPrintWhenFinishedLoading;

Powered by Google App Engine
This is Rietveld 408576698