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

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

Issue 367003002: Make more [TreatNullAs=NullString] DOMString arguments nullable (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Patch Set: Created 6 years, 5 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
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 122 matching lines...) Expand 10 before | Expand all | Expand 10 after
133 readonly attribute Document document; 133 readonly attribute Document document;
134 134
135 // CSSOM View Module 135 // CSSOM View Module
136 MediaQueryList matchMedia(DOMString query); 136 MediaQueryList matchMedia(DOMString query);
137 137
138 // styleMedia has been removed from the CSSOM View specification. 138 // styleMedia has been removed from the CSSOM View specification.
139 readonly attribute StyleMedia styleMedia; 139 readonly attribute StyleMedia styleMedia;
140 140
141 // DOM Level 2 Style Interface 141 // DOM Level 2 Style Interface
142 CSSStyleDeclaration getComputedStyle([Default=Undefined] optional Element el ement, 142 CSSStyleDeclaration getComputedStyle([Default=Undefined] optional Element el ement,
143 [TreatNullAs=NullStr ing, TreatUndefinedAs=NullString, Default=Undefined] optional DOMString pseudoEl ement); 143 [TreatUndefinedAs=NullString, Default=U ndefined] optional DOMString? pseudoElement);
144 144
145 // WebKit extensions 145 // WebKit extensions
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 [TreatUndefine dAs=NullString, Default=Undefined] optional DOMString? pseudoElement);
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, LogActivity=GetterOnly] readonly attribute ApplicationCache applicationCache; 156 [RuntimeEnabled=ApplicationCache, LogActivity=GetterOnly] readonly attribute ApplicationCache applicationCache;
157 157
(...skipping 50 matching lines...) Expand 10 before | Expand all | Expand 10 after
208 [DoNotCheckSignature, DoNotCheckSecurity, Custom, NotEnumerable] stringifier ; 208 [DoNotCheckSignature, DoNotCheckSecurity, Custom, NotEnumerable] stringifier ;
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

Powered by Google App Engine
This is Rietveld 408576698