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

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

Issue 330293002: Removing unnecessary PerWorldBindings for DOM API calls that are monitored by Activity Logger. (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Patch Set: rebase Created 6 years, 6 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/frame/Location.idl ('k') | Source/core/html/HTMLButtonElement.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 25 matching lines...) Expand all
36 ] interface Window : EventTarget { 36 ] interface Window : EventTarget {
37 // DOM Level 0 37 // DOM Level 0
38 readonly attribute Screen screen; 38 readonly attribute Screen screen;
39 readonly attribute History history; 39 readonly attribute History history;
40 [Replaceable, MeasureAs=BarPropLocationbar] readonly attribute BarProp locat ionbar; 40 [Replaceable, MeasureAs=BarPropLocationbar] readonly attribute BarProp locat ionbar;
41 [Replaceable, MeasureAs=BarPropMenubar] readonly attribute BarProp menubar; 41 [Replaceable, MeasureAs=BarPropMenubar] readonly attribute BarProp menubar;
42 [Replaceable, MeasureAs=BarPropPersonalbar] readonly attribute BarProp perso nalbar; 42 [Replaceable, MeasureAs=BarPropPersonalbar] readonly attribute BarProp perso nalbar;
43 [Replaceable, MeasureAs=BarPropScrollbars] readonly attribute BarProp scroll bars; 43 [Replaceable, MeasureAs=BarPropScrollbars] readonly attribute BarProp scroll bars;
44 [Replaceable, MeasureAs=BarPropStatusbar] readonly attribute BarProp statusb ar; 44 [Replaceable, MeasureAs=BarPropStatusbar] readonly attribute BarProp statusb ar;
45 [Replaceable, MeasureAs=BarPropToolbar] readonly attribute BarProp toolbar; 45 [Replaceable, MeasureAs=BarPropToolbar] readonly attribute BarProp toolbar;
46 [PerWorldBindings, LogActivity=GetterOnly] readonly attribute Navigator navi gator; 46 [LogActivity=GetterOnly] readonly attribute Navigator navigator;
47 [Replaceable] readonly attribute Navigator clientInformation; 47 [Replaceable] readonly attribute Navigator clientInformation;
48 [DoNotCheckSecurity, Unforgeable, Replaceable, PerWorldBindings, LogActivity , PutForwards=href] readonly attribute Location location; 48 [DoNotCheckSecurity, Unforgeable, Replaceable, LogActivity, PutForwards=href ] readonly attribute Location location;
49 [Custom, MeasureAs=WindowEvent, NotEnumerable] attribute Event event; 49 [Custom, MeasureAs=WindowEvent, NotEnumerable] attribute Event event;
50 50
51 Selection getSelection(); 51 Selection getSelection();
52 52
53 [CheckSecurity=Node, Custom=Getter] readonly attribute Element frameElement; 53 [CheckSecurity=Node, Custom=Getter] readonly attribute Element frameElement;
54 54
55 [DoNotCheckSecurity, CallWith=ExecutionContext] void focus(); 55 [DoNotCheckSecurity, CallWith=ExecutionContext] void focus();
56 [DoNotCheckSecurity] void blur(); 56 [DoNotCheckSecurity] void blur();
57 [DoNotCheckSecurity, CallWith=ExecutionContext] void close(); 57 [DoNotCheckSecurity, CallWith=ExecutionContext] void close();
58 58
(...skipping 87 matching lines...) Expand 10 before | Expand all | Expand 10 after
146 [MeasureAs=GetMatchedCSSRules] CSSRuleList getMatchedCSSRules([Default=Undef ined] optional Element element, 146 [MeasureAs=GetMatchedCSSRules] CSSRuleList getMatchedCSSRules([Default=Undef ined] optional Element element,
147 [TreatNullAs=N ullString, TreatUndefinedAs=NullString, Default=Undefined] optional DOMString ps eudoElement); 147 [TreatNullAs=N ullString, TreatUndefinedAs=NullString, Default=Undefined] optional DOMString ps eudoElement);
148 148
149 [Replaceable] readonly attribute double devicePixelRatio; 149 [Replaceable] readonly attribute double devicePixelRatio;
150 150
151 [MeasureAs=PrefixedConvertPointFromPageToNode] WebKitPoint webkitConvertPoin tFromPageToNode([Default=Undefined] optional Node node, 151 [MeasureAs=PrefixedConvertPointFromPageToNode] WebKitPoint webkitConvertPoin tFromPageToNode([Default=Undefined] optional Node node,
152 [Default=Undefined] optional WebKitPoint p); 152 [Default=Undefined] optional WebKitPoint p);
153 [MeasureAs=PrefixedConvertPointFromNodeToPage] WebKitPoint webkitConvertPoin tFromNodeToPage([Default=Undefined] optional Node node, 153 [MeasureAs=PrefixedConvertPointFromNodeToPage] WebKitPoint webkitConvertPoin tFromNodeToPage([Default=Undefined] optional Node node,
154 [Default=Undefined] optional WebKitPoint p); 154 [Default=Undefined] optional WebKitPoint p);
155 155
156 [RuntimeEnabled=ApplicationCache, PerWorldBindings, LogActivity=GetterOnly] readonly attribute ApplicationCache applicationCache; 156 [RuntimeEnabled=ApplicationCache, LogActivity=GetterOnly] readonly attribute ApplicationCache applicationCache;
157 157
158 [RuntimeEnabled=SessionStorage, PerWorldBindings, LogActivity=GetterOnly, Ra isesException=Getter] readonly attribute Storage sessionStorage; 158 [RuntimeEnabled=SessionStorage, LogActivity=GetterOnly, RaisesException=Gett er] readonly attribute Storage sessionStorage;
159 [RuntimeEnabled=LocalStorage, PerWorldBindings, LogActivity=GetterOnly, Rais esException=Getter] readonly attribute Storage localStorage; 159 [RuntimeEnabled=LocalStorage, LogActivity=GetterOnly, RaisesException=Getter ] readonly attribute Storage localStorage;
160 160
161 // This is the interface orientation in degrees. Some examples are: 161 // This is the interface orientation in degrees. Some examples are:
162 // 0 is straight up; -90 is when the device is rotated 90 clockwise; 162 // 0 is straight up; -90 is when the device is rotated 90 clockwise;
163 // 90 is when rotated counter clockwise. 163 // 90 is when rotated counter clockwise.
164 [RuntimeEnabled=OrientationEvent, MeasureAs=WindowOrientation] readonly attr ibute long orientation; 164 [RuntimeEnabled=OrientationEvent, MeasureAs=WindowOrientation] readonly attr ibute long orientation;
165 165
166 [Replaceable] readonly attribute Console console; 166 [Replaceable] readonly attribute Console console;
167 167
168 // cross-document messaging 168 // cross-document messaging
169 [DoNotCheckSecurity, Custom, RaisesException] void postMessage(SerializedScr iptValue message, DOMString targetOrigin, optional MessagePort[] messagePorts); 169 [DoNotCheckSecurity, Custom, RaisesException] void postMessage(SerializedScr iptValue message, DOMString targetOrigin, optional MessagePort[] messagePorts);
(...skipping 16 matching lines...) Expand all
186 attribute EventHandler onsearch; 186 attribute EventHandler onsearch;
187 [RuntimeEnabled=Touch] attribute EventHandler ontouchcancel; 187 [RuntimeEnabled=Touch] attribute EventHandler ontouchcancel;
188 [RuntimeEnabled=Touch] attribute EventHandler ontouchend; 188 [RuntimeEnabled=Touch] attribute EventHandler ontouchend;
189 [RuntimeEnabled=Touch] attribute EventHandler ontouchmove; 189 [RuntimeEnabled=Touch] attribute EventHandler ontouchmove;
190 [RuntimeEnabled=Touch] attribute EventHandler ontouchstart; 190 [RuntimeEnabled=Touch] attribute EventHandler ontouchstart;
191 attribute EventHandler ontransitionend; 191 attribute EventHandler ontransitionend;
192 attribute EventHandler onwebkitanimationend; 192 attribute EventHandler onwebkitanimationend;
193 attribute EventHandler onwebkitanimationiteration; 193 attribute EventHandler onwebkitanimationiteration;
194 attribute EventHandler onwebkitanimationstart; 194 attribute EventHandler onwebkitanimationstart;
195 attribute EventHandler onwebkittransitionend; 195 attribute EventHandler onwebkittransitionend;
196 [PerWorldBindings, LogActivity=SetterOnly] attribute EventHandler onwheel; 196 [LogActivity=SetterOnly] attribute EventHandler onwheel;
197 197
198 [MeasureAs=WindowCaptureEvents] void captureEvents(); 198 [MeasureAs=WindowCaptureEvents] void captureEvents();
199 [MeasureAs=WindowReleaseEvents] void releaseEvents(); 199 [MeasureAs=WindowReleaseEvents] void releaseEvents();
200 200
201 // Additional constructors. 201 // Additional constructors.
202 [MeasureAs=PrefixedTransitionEventConstructor] attribute TransitionEventCons tructor WebKitTransitionEvent; 202 [MeasureAs=PrefixedTransitionEventConstructor] attribute TransitionEventCons tructor WebKitTransitionEvent;
203 [RuntimeEnabled=CSSAnimationUnprefixed] attribute WebKitAnimationEventConstr uctor AnimationEvent; 203 [RuntimeEnabled=CSSAnimationUnprefixed] attribute WebKitAnimationEventConstr uctor AnimationEvent;
204 [MeasureAs=PrefixedWindowURL] attribute URLConstructor webkitURL; // FIXME: deprecate this. 204 [MeasureAs=PrefixedWindowURL] attribute URLConstructor webkitURL; // FIXME: deprecate this.
205 [MeasureAs=PrefixedMutationObserverConstructor] attribute MutationObserverCo nstructor WebKitMutationObserver; 205 [MeasureAs=PrefixedMutationObserverConstructor] attribute MutationObserverCo nstructor WebKitMutationObserver;
206 206
207 // window.toString() requires special handling in V8 207 // window.toString() requires special handling in V8
208 [DoNotCheckSignature, DoNotCheckSecurity, Custom, NotEnumerable] DOMString t oString(); 208 [DoNotCheckSignature, DoNotCheckSecurity, Custom, NotEnumerable] DOMString t oString();
209 209
210 [NotEnumerable] getter Window (unsigned long index); 210 [NotEnumerable] getter Window (unsigned long index);
211 [Custom, NotEnumerable] getter Window (DOMString name); 211 [Custom, NotEnumerable] getter Window (DOMString name);
212 }; 212 };
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
« no previous file with comments | « Source/core/frame/Location.idl ('k') | Source/core/html/HTMLButtonElement.idl » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698