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

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

Issue 177983005: Remove CanvasRenderingContext from the web exposed objects (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Patch Set: Created 6 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
« no previous file with comments | « Source/core/dom/Document.cpp ('k') | Source/core/html/canvas/CanvasRenderingContext.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 123 matching lines...) Expand 10 before | Expand all | Expand 10 after
134 134
135 // Mozilla extensions 135 // Mozilla extensions
136 Selection getSelection(); 136 Selection getSelection();
137 [TreatReturnedNullStringAs=Null] readonly attribute DOMString characterSet; 137 [TreatReturnedNullStringAs=Null] readonly attribute DOMString characterSet;
138 138
139 // WebKit extensions 139 // WebKit extensions
140 140
141 [TreatReturnedNullStringAs=Null] readonly attribute DOMString preferredStyle sheetSet; 141 [TreatReturnedNullStringAs=Null] readonly attribute DOMString preferredStyle sheetSet;
142 [TreatReturnedNullStringAs=Null, TreatNullAs=NullString] attribute DOMString selectedStylesheetSet; 142 [TreatReturnedNullStringAs=Null, TreatNullAs=NullString] attribute DOMString selectedStylesheetSet;
143 143
144 CanvasRenderingContext getCSSCanvasContext(DOMString contextId, DOMString na me, long width, long height); 144 (CanvasRenderingContext2D or WebGLRenderingContext) getCSSCanvasContext(DOMS tring contextId, DOMString name, long width, long height);
145 145
146 // HTML 5 146 // HTML 5
147 HTMLCollection getElementsByClassName(DOMString classNames); 147 HTMLCollection getElementsByClassName(DOMString classNames);
148 readonly attribute Element activeElement; 148 readonly attribute Element activeElement;
149 boolean hasFocus(); 149 boolean hasFocus();
150 150
151 readonly attribute DOMString compatMode; 151 readonly attribute DOMString compatMode;
152 152
153 // NodeSelector - Selector API 153 // NodeSelector - Selector API
154 [RaisesException] Element querySelector(DOMString selectors); 154 [RaisesException] Element querySelector(DOMString selectors);
(...skipping 51 matching lines...) Expand 10 before | Expand all | Expand 10 after
206 // document in the console. It's possible http://crbug.com/43394 will resolv e this. 206 // document in the console. It's possible http://crbug.com/43394 will resolv e this.
207 [MeasureAs=PrefixedPageVisibility, ImplementedAs=visibilityState] readonly a ttribute DOMString webkitVisibilityState; 207 [MeasureAs=PrefixedPageVisibility, ImplementedAs=visibilityState] readonly a ttribute DOMString webkitVisibilityState;
208 [MeasureAs=PrefixedPageVisibility, ImplementedAs=hidden] readonly attribute boolean webkitHidden; 208 [MeasureAs=PrefixedPageVisibility, ImplementedAs=hidden] readonly attribute boolean webkitHidden;
209 209
210 readonly attribute HTMLScriptElement currentScript; 210 readonly attribute HTMLScriptElement currentScript;
211 }; 211 };
212 212
213 Document implements GlobalEventHandlers; 213 Document implements GlobalEventHandlers;
214 Document implements ParentNode; 214 Document implements ParentNode;
215 215
OLDNEW
« no previous file with comments | « Source/core/dom/Document.cpp ('k') | Source/core/html/canvas/CanvasRenderingContext.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698