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

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

Issue 1083003004: bindings: Moves toV8 and v8SetReturnValue out to ToV8.h and V8Binding.h. (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Addressed a review comment. Created 5 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/events/EventTarget.idl ('k') | Source/core/workers/WorkerGlobalScope.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, 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 11 matching lines...) Expand all
22 * OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT 22 * OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
23 * (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE 23 * (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE
24 * OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. 24 * OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
25 */ 25 */
26 26
27 // https://html.spec.whatwg.org/#the-window-object 27 // https://html.spec.whatwg.org/#the-window-object
28 28
29 // FIXME: explain all uses of [DoNotCheckSecurity] 29 // FIXME: explain all uses of [DoNotCheckSecurity]
30 [ 30 [
31 CheckSecurity=Frame, 31 CheckSecurity=Frame,
32 Custom=ToV8,
33 ImplementedAs=DOMWindow, 32 ImplementedAs=DOMWindow,
34 PrimaryGlobal, 33 PrimaryGlobal,
35 ] interface Window : EventTarget { 34 ] interface Window : EventTarget {
36 // the current browsing context 35 // the current browsing context
37 // FIXME: The spec uses the WindowProxy type for this and many other attribu tes. 36 // FIXME: The spec uses the WindowProxy type for this and many other attribu tes.
38 [Unforgeable, DoNotCheckSecurity] readonly attribute Window window; 37 [Unforgeable, DoNotCheckSecurity] readonly attribute Window window;
39 [Replaceable, DoNotCheckSecurity] readonly attribute Window self; 38 [Replaceable, DoNotCheckSecurity] readonly attribute Window self;
40 [Unforgeable] readonly attribute Document document; 39 [Unforgeable] readonly attribute Document document;
41 attribute DOMString name; 40 attribute DOMString name;
42 [PutForwards=href, Unforgeable, DoNotCheckSecurity] readonly attribute Locat ion location; 41 [PutForwards=href, Unforgeable, DoNotCheckSecurity] readonly attribute Locat ion location;
(...skipping 165 matching lines...) Expand 10 before | Expand all | Expand 10 after
208 // FIXME: make this typedef accurate once enough of http://crbug.com/240176 207 // FIXME: make this typedef accurate once enough of http://crbug.com/240176
209 // is in place. 208 // is in place.
210 // FIXME: consider putting this typedef in an .idl file containing spec-wide 209 // FIXME: consider putting this typedef in an .idl file containing spec-wide
211 // utility type definitions. 210 // utility type definitions.
212 typedef MessagePort Transferable; 211 typedef MessagePort Transferable;
213 212
214 Window implements GlobalEventHandlers; 213 Window implements GlobalEventHandlers;
215 Window implements WindowBase64; 214 Window implements WindowBase64;
216 Window implements WindowEventHandlers; 215 Window implements WindowEventHandlers;
217 Window implements WindowTimers; 216 Window implements WindowTimers;
OLDNEW
« no previous file with comments | « Source/core/events/EventTarget.idl ('k') | Source/core/workers/WorkerGlobalScope.idl » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698