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

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

Issue 973503002: Remove [TypeChecking=Unrestricted] use in Source/core/ (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Patch Set: Created 5 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/DataView.idl ('k') | Source/core/dom/Element.idl » ('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 10 matching lines...) Expand all
21 callback CustomElementConstructor = Element (); 21 callback CustomElementConstructor = Element ();
22 22
23 typedef (CanvasRenderingContext2D or WebGLRenderingContext) RenderingContext; 23 typedef (CanvasRenderingContext2D or WebGLRenderingContext) RenderingContext;
24 24
25 // http://www.w3.org/TR/page-visibility/#VisibilityState 25 // http://www.w3.org/TR/page-visibility/#VisibilityState
26 enum VisibilityState { "hidden", "visible", "prerender", "unloaded" }; 26 enum VisibilityState { "hidden", "visible", "prerender", "unloaded" };
27 27
28 // https://dom.spec.whatwg.org/#interface-document 28 // https://dom.spec.whatwg.org/#interface-document
29 29
30 // FIXME: Document should have a constructor. 30 // FIXME: Document should have a constructor.
31 [ 31 interface Document : Node {
32 TypeChecking=Unrestricted,
33 ] interface Document : Node {
34 readonly attribute DOMImplementation implementation; 32 readonly attribute DOMImplementation implementation;
35 readonly attribute DOMString URL; 33 readonly attribute DOMString URL;
36 // FIXME: documentURI should not be nullable. 34 // FIXME: documentURI should not be nullable.
37 [ImplementedAs=url] readonly attribute DOMString? documentURI; 35 [ImplementedAs=url] readonly attribute DOMString? documentURI;
38 readonly attribute DOMString origin; 36 readonly attribute DOMString origin;
39 readonly attribute DOMString compatMode; 37 readonly attribute DOMString compatMode;
40 // FIXME: characterSet should not be nullable. 38 // FIXME: characterSet should not be nullable.
41 readonly attribute DOMString? characterSet; 39 readonly attribute DOMString? characterSet;
42 // FIXME: inputEncoding should not be nullable. 40 // FIXME: inputEncoding should not be nullable.
43 [MeasureAs=DocumentInputEncoding, ImplementedAs=characterSet] readonly attri bute DOMString? inputEncoding; // legacy alias of .characterSet 41 [MeasureAs=DocumentInputEncoding, ImplementedAs=characterSet] readonly attri bute DOMString? inputEncoding; // legacy alias of .characterSet
(...skipping 182 matching lines...) Expand 10 before | Expand all | Expand 10 after
226 attribute EventHandler onsearch; 224 attribute EventHandler onsearch;
227 [RuntimeEnabled=ExperimentalContentSecurityPolicyFeatures] attribute EventHa ndler onsecuritypolicyviolation; 225 [RuntimeEnabled=ExperimentalContentSecurityPolicyFeatures] attribute EventHa ndler onsecuritypolicyviolation;
228 attribute EventHandler onselectionchange; 226 attribute EventHandler onselectionchange;
229 attribute EventHandler onselectstart; 227 attribute EventHandler onselectstart;
230 attribute EventHandler onwheel; 228 attribute EventHandler onwheel;
231 }; 229 };
232 230
233 Document implements GlobalEventHandlers; 231 Document implements GlobalEventHandlers;
234 Document implements ParentNode; 232 Document implements ParentNode;
235 Document implements NonElementParentNode; 233 Document implements NonElementParentNode;
OLDNEW
« no previous file with comments | « Source/core/dom/DataView.idl ('k') | Source/core/dom/Element.idl » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698