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

Unified Diff: third_party/WebKit/Source/core/dom/Document.h

Issue 1814013002: Visual viewport API initial implementation. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: nits Created 4 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
Index: third_party/WebKit/Source/core/dom/Document.h
diff --git a/third_party/WebKit/Source/core/dom/Document.h b/third_party/WebKit/Source/core/dom/Document.h
index 58602d6d61886a854fea7d49478791b558aae4a4..5338a5c0f2d5a5f70495527e25e665e5bbe9f8ca 100644
--- a/third_party/WebKit/Source/core/dom/Document.h
+++ b/third_party/WebKit/Source/core/dom/Document.h
@@ -51,6 +51,7 @@
#include "core/frame/DOMTimerCoordinator.h"
#include "core/frame/LocalDOMWindow.h"
#include "core/frame/OriginsUsingFeatures.h"
+#include "core/frame/VisualViewport.h"
#include "core/html/CollectionType.h"
#include "core/html/parser/ParserSynchronizationPolicy.h"
#include "core/page/PageVisibilityState.h"
@@ -298,6 +299,8 @@ public:
WillBeHeapVector<RawPtrWillBeMember<Element>> elementsFromPoint(int x, int y) const;
PassRefPtrWillBeRawPtr<Range> caretRangeFromPoint(int x, int y);
Element* scrollingElement();
+ VisualViewport* visualViewport();
+ void dispatchVisualViewportChangedEvent();
String readyState() const;

Powered by Google App Engine
This is Rietveld 408576698