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

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

Issue 279313003: Create Document exitPointerLock and pointerLockElement API methods. (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Created 6 years, 7 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 | Annotate | Revision Log
« no previous file with comments | « Source/core/dom/Document.cpp ('k') | Source/core/frame/UseCounter.h » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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 144 matching lines...) Expand 10 before | Expand all | Expand 10 after
155 155
156 [MeasureAs=DocumentGetCSSCanvasContext] RenderingContext getCSSCanvasContext (DOMString contextId, DOMString name, long width, long height); 156 [MeasureAs=DocumentGetCSSCanvasContext] RenderingContext getCSSCanvasContext (DOMString contextId, DOMString name, long width, long height);
157 157
158 // HTML 5 158 // HTML 5
159 HTMLCollection getElementsByClassName(DOMString classNames); 159 HTMLCollection getElementsByClassName(DOMString classNames);
160 readonly attribute Element activeElement; 160 readonly attribute Element activeElement;
161 boolean hasFocus(); 161 boolean hasFocus();
162 162
163 readonly attribute DOMString compatMode; 163 readonly attribute DOMString compatMode;
164 164
165 [MeasureAs=PrefixedDocumentExitPointerLock] void webkitExitPointerLock(); 165 [MeasureAs=PrefixedDocumentExitPointerLock] void webkitExitPointerLock();
Inactive 2014/05/12 21:29:29 We could use [ImplementedAs=exitPointerLock] and r
scheib 2014/05/12 22:24:09 Done.
166 [MeasureAs=DocumentExitPointerLock] void exitPointerLock();
Inactive 2014/05/12 21:29:29 Why are we measuring the usage of the unprefixed o
scheib 2014/05/12 22:24:09 To consider the eventual migration of usage from t
166 [MeasureAs=PrefixedDocumentPointerLockElement] readonly attribute Element we bkitPointerLockElement; 167 [MeasureAs=PrefixedDocumentPointerLockElement] readonly attribute Element we bkitPointerLockElement;
Inactive 2014/05/12 21:29:29 Ditto ([ImplementedAs]).
scheib 2014/05/12 22:24:09 Done.
168 [MeasureAs=DocumentPointerLockElement] readonly attribute Element pointerLoc kElement;
167 169
168 // Event handler attributes 170 // Event handler attributes
169 attribute EventHandler onbeforecopy; 171 attribute EventHandler onbeforecopy;
170 attribute EventHandler onbeforecut; 172 attribute EventHandler onbeforecut;
171 attribute EventHandler onbeforepaste; 173 attribute EventHandler onbeforepaste;
172 attribute EventHandler oncopy; 174 attribute EventHandler oncopy;
173 attribute EventHandler oncut; 175 attribute EventHandler oncut;
174 attribute EventHandler onpaste; 176 attribute EventHandler onpaste;
175 attribute EventHandler onpointerlockchange; 177 attribute EventHandler onpointerlockchange;
176 attribute EventHandler onpointerlockerror; 178 attribute EventHandler onpointerlockerror;
(...skipping 39 matching lines...) Expand 10 before | Expand all | Expand 10 after
216 // document in the console. It's possible http://crbug.com/43394 will resolv e this. 218 // document in the console. It's possible http://crbug.com/43394 will resolv e this.
217 [MeasureAs=PrefixedPageVisibility, ImplementedAs=visibilityState] readonly a ttribute DOMString webkitVisibilityState; 219 [MeasureAs=PrefixedPageVisibility, ImplementedAs=visibilityState] readonly a ttribute DOMString webkitVisibilityState;
218 [MeasureAs=PrefixedPageVisibility, ImplementedAs=hidden] readonly attribute boolean webkitHidden; 220 [MeasureAs=PrefixedPageVisibility, ImplementedAs=hidden] readonly attribute boolean webkitHidden;
219 221
220 readonly attribute HTMLScriptElement currentScript; 222 readonly attribute HTMLScriptElement currentScript;
221 }; 223 };
222 224
223 Document implements GlobalEventHandlers; 225 Document implements GlobalEventHandlers;
224 Document implements ParentNode; 226 Document implements ParentNode;
225 227
OLDNEW
« no previous file with comments | « Source/core/dom/Document.cpp ('k') | Source/core/frame/UseCounter.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698