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

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

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.idl
diff --git a/third_party/WebKit/Source/core/dom/Document.idl b/third_party/WebKit/Source/core/dom/Document.idl
index 0f309aadd9b3d9735858ecd95f28bf3961a02e47..7adcede11a84eb7fbae81512b29bcd4d82276fa3 100644
--- a/third_party/WebKit/Source/core/dom/Document.idl
+++ b/third_party/WebKit/Source/core/dom/Document.idl
@@ -156,6 +156,9 @@ interface Document : Node {
sequence<Element> elementsFromPoint(long x, long y);
readonly attribute Element? scrollingElement;
+ // Visual Viewport API
Rick Byers 2016/03/24 19:07:54 link to explainer
ymalik 2016/03/29 19:17:28 Done.
+ [RuntimeEnabled=VisualViewportAPI] readonly attribute VisualViewport? visualViewport;
+
// Selection API
// http://w3c.github.io/selection-api/#extensions-to-document-interface
Selection? getSelection();

Powered by Google App Engine
This is Rietveld 408576698