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

Side by Side Diff: sky/engine/core/frame/Window.idl

Issue 683593002: Remove GarbageCollected support from the bindings (Closed) Base URL: git@github.com:domokit/mojo.git@master
Patch Set: Created 6 years, 1 month 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 | « sky/engine/core/frame/Screen.idl ('k') | sky/engine/core/html/ImageData.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 14 matching lines...) Expand all
25 */ 25 */
26 26
27 // HTML 5 draft spec: 27 // HTML 5 draft spec:
28 // http://www.w3.org/html/wg/drafts/html/master/browsers.html#window 28 // http://www.w3.org/html/wg/drafts/html/master/browsers.html#window
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, 32 Custom=ToV8,
33 ImplementedAs=LocalDOMWindow, 33 ImplementedAs=LocalDOMWindow,
34 PrimaryGlobal, 34 PrimaryGlobal,
35 WillBeGarbageCollected,
36 ] interface Window : EventTarget { 35 ] interface Window : EventTarget {
37 readonly attribute Screen screen; 36 readonly attribute Screen screen;
38 readonly attribute History history; 37 readonly attribute History history;
39 [DoNotCheckSecurity, Unforgeable, Replaceable, PutForwards=href] readonly at tribute Location location; 38 [DoNotCheckSecurity, Unforgeable, Replaceable, PutForwards=href] readonly at tribute Location location;
40 [Custom, MeasureAs=WindowEvent, NotEnumerable] attribute Event event; 39 [Custom, MeasureAs=WindowEvent, NotEnumerable] attribute Event event;
41 40
42 Selection getSelection(); 41 Selection getSelection();
43 42
44 [DoNotCheckSecurity, CallWith=ExecutionContext] void focus(); 43 [DoNotCheckSecurity, CallWith=ExecutionContext] void focus();
45 44
(...skipping 56 matching lines...) Expand 10 before | Expand all | Expand 10 after
102 101
103 // window.toString() requires special handling in V8 102 // window.toString() requires special handling in V8
104 [DoNotCheckSignature, DoNotCheckSecurity, Custom, NotEnumerable] stringifier ; 103 [DoNotCheckSignature, DoNotCheckSecurity, Custom, NotEnumerable] stringifier ;
105 104
106 // FIXME(sky): can't remove w/o also removing hacks in bindings generator. 105 // FIXME(sky): can't remove w/o also removing hacks in bindings generator.
107 [Custom, NotEnumerable] getter Window (DOMString name); 106 [Custom, NotEnumerable] getter Window (DOMString name);
108 }; 107 };
109 108
110 Window implements WindowBase64; 109 Window implements WindowBase64;
111 Window implements WindowTimers; 110 Window implements WindowTimers;
OLDNEW
« no previous file with comments | « sky/engine/core/frame/Screen.idl ('k') | sky/engine/core/html/ImageData.idl » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698