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

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

Issue 77693002: [DoNotCheckSecurity=Getter] => [DoNotCheckSecurity] for readonly attribute (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Created 7 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 | Annotate | Revision Log
« no previous file with comments | « no previous file | no next file » | 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 85 matching lines...) Expand 10 before | Expand all | Expand 10 after
96 void scrollBy(long x, long y); 96 void scrollBy(long x, long y);
97 void scrollTo(long x, long y); 97 void scrollTo(long x, long y);
98 void scroll(long x, long y); 98 void scroll(long x, long y);
99 void moveBy([Default=Undefined] optional float x, [Default=Undefined] option al float y); // FIXME: this should take longs not floats. 99 void moveBy([Default=Undefined] optional float x, [Default=Undefined] option al float y); // FIXME: this should take longs not floats.
100 void moveTo([Default=Undefined] optional float x, [Default=Undefined] option al float y); // FIXME: this should take longs not floats. 100 void moveTo([Default=Undefined] optional float x, [Default=Undefined] option al float y); // FIXME: this should take longs not floats.
101 void resizeBy([Default=Undefined] optional float x, [Default=Undefined] opti onal float y); // FIXME: this should take longs not floats. 101 void resizeBy([Default=Undefined] optional float x, [Default=Undefined] opti onal float y); // FIXME: this should take longs not floats.
102 void resizeTo([Default=Undefined] optional float width, [Default=Undefined] optional float height); // FIXME: this should take longs not floats. 102 void resizeTo([Default=Undefined] optional float width, [Default=Undefined] optional float height); // FIXME: this should take longs not floats.
103 103
104 [DoNotCheckSecurity] readonly attribute boolean closed; 104 [DoNotCheckSecurity] readonly attribute boolean closed;
105 105
106 [Replaceable, DoNotCheckSecurity=Getter] readonly attribute unsigned long le ngth; 106 [Replaceable, DoNotCheckSecurity] readonly attribute unsigned long length;
107 107
108 attribute DOMString name; 108 attribute DOMString name;
109 109
110 attribute DOMString status; 110 attribute DOMString status;
111 attribute DOMString defaultStatus; 111 attribute DOMString defaultStatus;
112 // This attribute is an alias of defaultStatus and is necessary for legacy u ses. 112 // This attribute is an alias of defaultStatus and is necessary for legacy u ses.
113 [ImplementedAs=defaultStatus] attribute DOMString defaultstatus; 113 [ImplementedAs=defaultStatus] attribute DOMString defaultstatus;
114 114
115 // Self referential attributes 115 // Self referential attributes
116 [Replaceable, DoNotCheckSecurity=Getter] readonly attribute Window self; 116 [Replaceable, DoNotCheckSecurity] readonly attribute Window self;
117 [DoNotCheckSecurity, Unforgeable] readonly attribute Window window; 117 [DoNotCheckSecurity, Unforgeable] readonly attribute Window window;
118 [Replaceable, DoNotCheckSecurity=Getter] readonly attribute Window frames; 118 [Replaceable, DoNotCheckSecurity] readonly attribute Window frames;
119 119
120 [DoNotCheckSecurity=Getter, Custom=Setter] attribute Window opener; 120 [DoNotCheckSecurity=Getter, Custom=Setter] attribute Window opener;
121 [Replaceable, DoNotCheckSecurity=Getter] readonly attribute Window parent; 121 [Replaceable, DoNotCheckSecurity] readonly attribute Window parent;
122 [DoNotCheckSecurity=Getter, Unforgeable] readonly attribute Window top; 122 [DoNotCheckSecurity, Unforgeable] readonly attribute Window top;
123 123
124 // DOM Level 2 AbstractView Interface 124 // DOM Level 2 AbstractView Interface
125 readonly attribute Document document; 125 readonly attribute Document document;
126 126
127 // CSSOM View Module 127 // CSSOM View Module
128 MediaQueryList matchMedia(DOMString query); 128 MediaQueryList matchMedia(DOMString query);
129 129
130 // styleMedia has been removed from the CSSOM View specification. 130 // styleMedia has been removed from the CSSOM View specification.
131 readonly attribute StyleMedia styleMedia; 131 readonly attribute StyleMedia styleMedia;
132 132
(...skipping 101 matching lines...) Expand 10 before | Expand all | Expand 10 after
234 234
235 [ImplementedAs=anonymousIndexedGetter, NotEnumerable] getter Window(unsigned long index); 235 [ImplementedAs=anonymousIndexedGetter, NotEnumerable] getter Window(unsigned long index);
236 [Custom, NotEnumerable] getter Window (DOMString name); 236 [Custom, NotEnumerable] getter Window (DOMString name);
237 }; 237 };
238 238
239 Window implements GlobalEventHandlers; 239 Window implements GlobalEventHandlers;
240 Window implements ImageBitmapFactories; 240 Window implements ImageBitmapFactories;
241 Window implements WindowBase64; 241 Window implements WindowBase64;
242 Window implements WindowEventHandlers; 242 Window implements WindowEventHandlers;
243 Window implements WindowTimers; 243 Window implements WindowTimers;
OLDNEW
« no previous file with comments | « no previous file | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698