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

Side by Side Diff: third_party/WebKit/Source/core/frame/Window.idl

Issue 2549633002: rewrite spec links with http: to https: and fix known Javascript redirected links (Closed)
Patch Set: Address all code review comments; mostly rewrite incorrectly-anchored links Created 4 years 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, 2008, 2009 Apple Inc. All rights reserved. 2 * Copyright (C) 2006, 2007, 2008, 2009 Apple Inc. All rights reserved.
3 * Copyright (C) 2011 Google Inc. All rights reserved. 3 * Copyright (C) 2011 Google Inc. All rights reserved.
4 * 4 *
5 * Redistribution and use in source and binary forms, with or without 5 * Redistribution and use in source and binary forms, with or without
6 * modification, are permitted provided that the following conditions 6 * modification, are permitted provided that the following conditions
7 * are met: 7 * are met:
8 * 1. Redistributions of source code must retain the above copyright 8 * 1. Redistributions of source code must retain the above copyright
9 * notice, this list of conditions and the following disclaimer. 9 * notice, this list of conditions and the following disclaimer.
10 * 2. Redistributions in binary form must reproduce the above copyright 10 * 2. Redistributions in binary form must reproduce the above copyright
(...skipping 69 matching lines...) Expand 10 before | Expand all | Expand 10 after
80 80
81 [MeasureAs=UnprefixedRequestAnimationFrame] long requestAnimationFrame(Frame RequestCallback callback); 81 [MeasureAs=UnprefixedRequestAnimationFrame] long requestAnimationFrame(Frame RequestCallback callback);
82 void cancelAnimationFrame(long handle); 82 void cancelAnimationFrame(long handle);
83 83
84 [Measure] long requestIdleCallback(IdleRequestCallback callback, optional Id leRequestOptions options); 84 [Measure] long requestIdleCallback(IdleRequestCallback callback, optional Id leRequestOptions options);
85 void cancelIdleCallback(long handle); 85 void cancelIdleCallback(long handle);
86 86
87 [DoNotCheckSecurity, Custom, RaisesException] void postMessage(any message, DOMString targetOrigin, optional sequence<Transferable> transfer); 87 [DoNotCheckSecurity, Custom, RaisesException] void postMessage(any message, DOMString targetOrigin, optional sequence<Transferable> transfer);
88 88
89 // Custom elements 89 // Custom elements
90 // http://w3c.github.io/webcomponents/spec/custom/#custom-elements-api 90 // https://w3c.github.io/webcomponents/spec/custom/#custom-elements-api
91 [RuntimeEnabled=CustomElementsV1, CallWith=ScriptState] readonly attribute C ustomElementRegistry customElements; 91 [RuntimeEnabled=CustomElementsV1, CallWith=ScriptState] readonly attribute C ustomElementRegistry customElements;
92 92
93 // HTML obsolete features 93 // HTML obsolete features
94 // https://html.spec.whatwg.org/#Window-partial 94 // https://html.spec.whatwg.org/#Window-partial
95 [MeasureAs=WindowCaptureEvents] void captureEvents(); 95 [MeasureAs=WindowCaptureEvents] void captureEvents();
96 [MeasureAs=WindowReleaseEvents] void releaseEvents(); 96 [MeasureAs=WindowReleaseEvents] void releaseEvents();
97 97
98 [Replaceable, SameObject] readonly attribute External external; 98 [Replaceable, SameObject] readonly attribute External external;
99 99
100 // CSS Object Model (CSSOM) 100 // CSS Object Model (CSSOM)
101 // http://dev.w3.org/csswg/cssom/#extensions-to-the-window-interface 101 // https://dev.w3.org/csswg/cssom/#extensions-to-the-window-interface
102 // FIXME: The optional pseudoElt argument should have no default. 102 // FIXME: The optional pseudoElt argument should have no default.
103 [NewObject] CSSStyleDeclaration getComputedStyle(Element elt, optional DOMSt ring? pseudoElt = null); 103 [NewObject] CSSStyleDeclaration getComputedStyle(Element elt, optional DOMSt ring? pseudoElt = null);
104 104
105 // CSSOM View Module 105 // CSSOM View Module
106 // http://dev.w3.org/csswg/cssom-view/#extensions-to-the-window-interface 106 // https://dev.w3.org/csswg/cssom-view/#extensions-to-the-window-interface
107 [NewObject] MediaQueryList matchMedia(DOMString query); 107 [NewObject] MediaQueryList matchMedia(DOMString query);
108 [SameObject, Replaceable] readonly attribute Screen screen; 108 [SameObject, Replaceable] readonly attribute Screen screen;
109 109
110 // browsing context 110 // browsing context
111 void moveTo(long x, long y); 111 void moveTo(long x, long y);
112 void moveBy(long x, long y); 112 void moveBy(long x, long y);
113 void resizeTo(long x, long y); 113 void resizeTo(long x, long y);
114 void resizeBy(long x, long y); 114 void resizeBy(long x, long y);
115 115
116 // viewport 116 // viewport
(...skipping 17 matching lines...) Expand all
134 [RuntimeEnabled=VisualViewportAPI, Replaceable, SameObject] readonly attribu te VisualViewport? visualViewport; 134 [RuntimeEnabled=VisualViewportAPI, Replaceable, SameObject] readonly attribu te VisualViewport? visualViewport;
135 135
136 // client 136 // client
137 [Replaceable] readonly attribute long screenX; 137 [Replaceable] readonly attribute long screenX;
138 [Replaceable] readonly attribute long screenY; 138 [Replaceable] readonly attribute long screenY;
139 [Replaceable] readonly attribute long outerWidth; 139 [Replaceable] readonly attribute long outerWidth;
140 [Replaceable] readonly attribute long outerHeight; 140 [Replaceable] readonly attribute long outerHeight;
141 [Replaceable] readonly attribute double devicePixelRatio; 141 [Replaceable] readonly attribute double devicePixelRatio;
142 142
143 // Selection API 143 // Selection API
144 // http://w3c.github.io/selection-api/#extensions-to-window-interface 144 // https://w3c.github.io/selection-api/#extensions-to-window-interface
145 Selection? getSelection(); 145 Selection? getSelection();
146 146
147 // Console API 147 // Console API
148 // https://console.spec.whatwg.org/#console-interface 148 // https://console.spec.whatwg.org/#console-interface
149 // [Replaceable] readonly attribute Console console; 149 // [Replaceable] readonly attribute Console console;
150 // Console is installed by v8 inspector when context is created 150 // Console is installed by v8 inspector when context is created
151 // and is left commented here just for documentation. 151 // and is left commented here just for documentation.
152 152
153 // Non-standard APIs 153 // Non-standard APIs
154 [MeasureAs=WindowClientInformation, Replaceable] readonly attribute Navigato r clientInformation; 154 [MeasureAs=WindowClientInformation, Replaceable] readonly attribute Navigato r clientInformation;
(...skipping 34 matching lines...) Expand 10 before | Expand all | Expand 10 after
189 attribute EventHandler onwebkitanimationend; 189 attribute EventHandler onwebkitanimationend;
190 attribute EventHandler onwebkitanimationiteration; 190 attribute EventHandler onwebkitanimationiteration;
191 attribute EventHandler onwebkitanimationstart; 191 attribute EventHandler onwebkitanimationstart;
192 attribute EventHandler onwebkittransitionend; 192 attribute EventHandler onwebkittransitionend;
193 attribute EventHandler onwheel; 193 attribute EventHandler onwheel;
194 194
195 // https://w3c.github.io/webappsec/specs/powerfulfeatures/#monkey-patching-g lobal-object 195 // https://w3c.github.io/webappsec/specs/powerfulfeatures/#monkey-patching-g lobal-object
196 readonly attribute boolean isSecureContext; 196 readonly attribute boolean isSecureContext;
197 }; 197 };
198 198
199 // http://www.whatwg.org/specs/web-apps/current-work/#transferable-objects 199 // https://html.spec.whatwg.org/#transferable-objects
200 // 200 //
201 // Expressing the Transferable typedef in IDL depends on http://crbug.com/240176 . 201 // Expressing the Transferable typedef in IDL depends on https://crbug.com/24017 6.
202 // The postMessage() methods taking a Transferable array argument have custom 202 // The postMessage() methods taking a Transferable array argument have custom
203 // binding code that is able to handle the Transferables that we currently 203 // binding code that is able to handle the Transferables that we currently
204 // recognize. To be able to declare a postMessage() signature that matches 204 // recognize. To be able to declare a postMessage() signature that matches
205 // the implementation, we provide a Transferable typedef but with an 205 // the implementation, we provide a Transferable typedef but with an
206 // incomplete type. 206 // incomplete type.
207 // 207 //
208 // FIXME: make this typedef accurate once enough of http://crbug.com/240176 208 // FIXME: make this typedef accurate once enough of https://crbug.com/240176
209 // is in place. 209 // is in place.
210 // FIXME: consider putting this typedef in an .idl file containing spec-wide 210 // FIXME: consider putting this typedef in an .idl file containing spec-wide
211 // utility type definitions. 211 // utility type definitions.
212 typedef MessagePort Transferable; 212 typedef MessagePort Transferable;
213 213
214 Window implements GlobalEventHandlers; 214 Window implements GlobalEventHandlers;
215 Window implements WindowBase64; 215 Window implements WindowBase64;
216 Window implements WindowEventHandlers; 216 Window implements WindowEventHandlers;
217 Window implements WindowTimers; 217 Window implements WindowTimers;
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698