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

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: Created 4 years, 8 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 131 matching lines...) Expand 10 before | Expand all | Expand 10 after
142 142
143 // FIXME: clear(), captureEvents(), releaseEvents() and all are on HTMLDocum ent. 143 // FIXME: clear(), captureEvents(), releaseEvents() and all are on HTMLDocum ent.
144 144
145 // CSS Object Model (CSSOM) 145 // CSS Object Model (CSSOM)
146 // http://dev.w3.org/csswg/cssom/#extensions-to-the-document-interface 146 // http://dev.w3.org/csswg/cssom/#extensions-to-the-document-interface
147 attribute DOMString? selectedStylesheetSet; 147 attribute DOMString? selectedStylesheetSet;
148 readonly attribute DOMString? preferredStylesheetSet; 148 readonly attribute DOMString? preferredStylesheetSet;
149 149
150 readonly attribute Element? scrollingElement; 150 readonly attribute Element? scrollingElement;
151 151
152 // Visual Viewport API
153 // https://github.com/WICG/ViewportAPI
154 [RuntimeEnabled=VisualViewportAPI] readonly attribute VisualViewport? visual Viewport;
152 155
153 // Pointer Lock 156 // Pointer Lock
154 // https://dvcs.w3.org/hg/pointerlock/raw-file/default/index.html#extensions -to-the-document-interface 157 // https://dvcs.w3.org/hg/pointerlock/raw-file/default/index.html#extensions -to-the-document-interface
155 attribute EventHandler onpointerlockchange; 158 attribute EventHandler onpointerlockchange;
156 attribute EventHandler onpointerlockerror; 159 attribute EventHandler onpointerlockerror;
157 [MeasureAs=DocumentPointerLockElement] readonly attribute Element? pointerLo ckElement; 160 [MeasureAs=DocumentPointerLockElement] readonly attribute Element? pointerLo ckElement;
158 [MeasureAs=DocumentExitPointerLock] void exitPointerLock(); 161 [MeasureAs=DocumentExitPointerLock] void exitPointerLock();
159 162
160 // Touch Events 163 // Touch Events
161 // http://rawgit.com/w3c/touch-events/v1-errata/touchevents.html#extensions- to-the-document-interface 164 // http://rawgit.com/w3c/touch-events/v1-errata/touchevents.html#extensions- to-the-document-interface
(...skipping 49 matching lines...) Expand 10 before | Expand all | Expand 10 after
211 [RuntimeEnabled=ExperimentalContentSecurityPolicyFeatures] attribute EventHa ndler onsecuritypolicyviolation; 214 [RuntimeEnabled=ExperimentalContentSecurityPolicyFeatures] attribute EventHa ndler onsecuritypolicyviolation;
212 attribute EventHandler onselectionchange; 215 attribute EventHandler onselectionchange;
213 attribute EventHandler onselectstart; 216 attribute EventHandler onselectstart;
214 attribute EventHandler onwheel; 217 attribute EventHandler onwheel;
215 }; 218 };
216 219
217 Document implements GlobalEventHandlers; 220 Document implements GlobalEventHandlers;
218 Document implements ParentNode; 221 Document implements ParentNode;
219 Document implements NonElementParentNode; 222 Document implements NonElementParentNode;
220 Document implements DocumentOrShadowRoot; 223 Document implements DocumentOrShadowRoot;
OLDNEW
« no previous file with comments | « third_party/WebKit/Source/core/dom/Document.cpp ('k') | third_party/WebKit/Source/core/events/EventTypeNames.in » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698