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

Side by Side Diff: third_party/WebKit/Source/core/dom/Document.idl

Issue 2025393003: Move document.visualViewport to window.visualViewport (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Fixing expectations 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 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 137 matching lines...) Expand 10 before | Expand all | Expand 10 after
148 148
149 // FIXME: clear(), captureEvents(), releaseEvents() and all are on HTMLDocum ent. 149 // FIXME: clear(), captureEvents(), releaseEvents() and all are on HTMLDocum ent.
150 150
151 // CSS Object Model (CSSOM) 151 // CSS Object Model (CSSOM)
152 // http://dev.w3.org/csswg/cssom/#extensions-to-the-document-interface 152 // http://dev.w3.org/csswg/cssom/#extensions-to-the-document-interface
153 attribute DOMString? selectedStylesheetSet; 153 attribute DOMString? selectedStylesheetSet;
154 readonly attribute DOMString? preferredStylesheetSet; 154 readonly attribute DOMString? preferredStylesheetSet;
155 155
156 readonly attribute Element? scrollingElement; 156 readonly attribute Element? scrollingElement;
157 157
158 // Visual Viewport API
159 // https://github.com/WICG/ViewportAPI
160 [RuntimeEnabled=VisualViewportAPI] readonly attribute VisualViewport? visual Viewport;
161
162 // Pointer Lock 158 // Pointer Lock
163 // https://dvcs.w3.org/hg/pointerlock/raw-file/default/index.html#extensions -to-the-document-interface 159 // https://dvcs.w3.org/hg/pointerlock/raw-file/default/index.html#extensions -to-the-document-interface
164 attribute EventHandler onpointerlockchange; 160 attribute EventHandler onpointerlockchange;
165 attribute EventHandler onpointerlockerror; 161 attribute EventHandler onpointerlockerror;
166 [MeasureAs=DocumentPointerLockElement] readonly attribute Element? pointerLo ckElement; 162 [MeasureAs=DocumentPointerLockElement] readonly attribute Element? pointerLo ckElement;
167 [MeasureAs=DocumentExitPointerLock] void exitPointerLock(); 163 [MeasureAs=DocumentExitPointerLock] void exitPointerLock();
168 164
169 // Touch Events 165 // Touch Events
170 // http://rawgit.com/w3c/touch-events/v1-errata/touchevents.html#extensions- to-the-document-interface 166 // http://rawgit.com/w3c/touch-events/v1-errata/touchevents.html#extensions- to-the-document-interface
171 // FIXME: The arguments should not be optional. 167 // FIXME: The arguments should not be optional.
(...skipping 48 matching lines...) Expand 10 before | Expand all | Expand 10 after
220 [RuntimeEnabled=ExperimentalContentSecurityPolicyFeatures] attribute EventHa ndler onsecuritypolicyviolation; 216 [RuntimeEnabled=ExperimentalContentSecurityPolicyFeatures] attribute EventHa ndler onsecuritypolicyviolation;
221 attribute EventHandler onselectionchange; 217 attribute EventHandler onselectionchange;
222 attribute EventHandler onselectstart; 218 attribute EventHandler onselectstart;
223 attribute EventHandler onwheel; 219 attribute EventHandler onwheel;
224 }; 220 };
225 221
226 Document implements GlobalEventHandlers; 222 Document implements GlobalEventHandlers;
227 Document implements ParentNode; 223 Document implements ParentNode;
228 Document implements NonElementParentNode; 224 Document implements NonElementParentNode;
229 Document implements DocumentOrShadowRoot; 225 Document implements DocumentOrShadowRoot;
OLDNEW
« no previous file with comments | « third_party/WebKit/Source/core/dom/Document.cpp ('k') | third_party/WebKit/Source/core/frame/DOMWindow.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698