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

Side by Side 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 unified diff | Download patch
OLDNEW
1 /* 1 /*
2 * Copyright (C) 2006, 2007, 2011 Apple Inc. All rights reserved. 2 * Copyright (C) 2006, 2007, 2011 Apple Inc. All rights reserved.
3 * Copyright (C) 2006, 2007 Samuel Weinig <sam@webkit.org> 3 * Copyright (C) 2006, 2007 Samuel Weinig <sam@webkit.org>
4 * 4 *
5 * This library is free software; you can redistribute it and/or 5 * This library is free software; you can redistribute it and/or
6 * modify it under the terms of the GNU Library General Public 6 * modify it under the terms of the GNU Library General Public
7 * License as published by the Free Software Foundation; either 7 * License as published by the Free Software Foundation; either
8 * version 2 of the License, or (at your option) any later version. 8 * version 2 of the License, or (at your option) any later version.
9 * 9 *
10 * This library is distributed in the hope that it will be useful, 10 * This library is distributed in the hope that it will be useful,
(...skipping 138 matching lines...) Expand 10 before | Expand all | Expand 10 after
149 attribute DOMString? selectedStylesheetSet; 149 attribute DOMString? selectedStylesheetSet;
150 readonly attribute DOMString? preferredStylesheetSet; 150 readonly attribute DOMString? preferredStylesheetSet;
151 151
152 // CSSOM View Module 152 // CSSOM View Module
153 // http://dev.w3.org/csswg/cssom-view/#extensions-to-the-document-interface 153 // http://dev.w3.org/csswg/cssom-view/#extensions-to-the-document-interface
154 // FIXME: The x and y arguments should be of type double. 154 // FIXME: The x and y arguments should be of type double.
155 Element? elementFromPoint(long x, long y); 155 Element? elementFromPoint(long x, long y);
156 sequence<Element> elementsFromPoint(long x, long y); 156 sequence<Element> elementsFromPoint(long x, long y);
157 readonly attribute Element? scrollingElement; 157 readonly attribute Element? scrollingElement;
158 158
159 // Visual Viewport API
Rick Byers 2016/03/24 19:07:54 link to explainer
ymalik 2016/03/29 19:17:28 Done.
160 [RuntimeEnabled=VisualViewportAPI] readonly attribute VisualViewport? visual Viewport;
161
159 // Selection API 162 // Selection API
160 // http://w3c.github.io/selection-api/#extensions-to-document-interface 163 // http://w3c.github.io/selection-api/#extensions-to-document-interface
161 Selection? getSelection(); 164 Selection? getSelection();
162 165
163 // Pointer Lock 166 // Pointer Lock
164 // https://dvcs.w3.org/hg/pointerlock/raw-file/default/index.html#extensions -to-the-document-interface 167 // https://dvcs.w3.org/hg/pointerlock/raw-file/default/index.html#extensions -to-the-document-interface
165 attribute EventHandler onpointerlockchange; 168 attribute EventHandler onpointerlockchange;
166 attribute EventHandler onpointerlockerror; 169 attribute EventHandler onpointerlockerror;
167 [MeasureAs=DocumentPointerLockElement] readonly attribute Element? pointerLo ckElement; 170 [MeasureAs=DocumentPointerLockElement] readonly attribute Element? pointerLo ckElement;
168 [MeasureAs=DocumentExitPointerLock] void exitPointerLock(); 171 [MeasureAs=DocumentExitPointerLock] void exitPointerLock();
(...skipping 51 matching lines...) Expand 10 before | Expand all | Expand 10 after
220 attribute EventHandler onsearch; 223 attribute EventHandler onsearch;
221 [RuntimeEnabled=ExperimentalContentSecurityPolicyFeatures] attribute EventHa ndler onsecuritypolicyviolation; 224 [RuntimeEnabled=ExperimentalContentSecurityPolicyFeatures] attribute EventHa ndler onsecuritypolicyviolation;
222 attribute EventHandler onselectionchange; 225 attribute EventHandler onselectionchange;
223 attribute EventHandler onselectstart; 226 attribute EventHandler onselectstart;
224 attribute EventHandler onwheel; 227 attribute EventHandler onwheel;
225 }; 228 };
226 229
227 Document implements GlobalEventHandlers; 230 Document implements GlobalEventHandlers;
228 Document implements ParentNode; 231 Document implements ParentNode;
229 Document implements NonElementParentNode; 232 Document implements NonElementParentNode;
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698