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

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

Issue 312683005: IDL: Support optional argument default value syntax (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Patch Set: 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
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 51 matching lines...) Expand 10 before | Expand all | Expand 10 after
62 [Custom] Window open(DOMString url, 62 [Custom] Window open(DOMString url,
63 DOMString name, 63 DOMString name,
64 optional DOMString options); 64 optional DOMString options);
65 65
66 [RuntimeEnabled=ShowModalDialog, Custom] any showModalDialog(DOMString url, 66 [RuntimeEnabled=ShowModalDialog, Custom] any showModalDialog(DOMString url,
67 optional any dialogArgs, 67 optional any dialogArgs,
68 optional DOMString featureArgs); 68 optional DOMString featureArgs);
69 69
70 void alert(); 70 void alert();
71 void alert(DOMString message); 71 void alert(DOMString message);
72 boolean confirm([Default=NullString] optional DOMString message); 72 boolean confirm(optional DOMString message = null);
73 [TreatReturnedNullStringAs=Null] DOMString prompt([Default=NullString] optio nal DOMString message, 73 [TreatReturnedNullStringAs=Null] DOMString prompt(optional DOMString message = null,
74 [Default=NullString] optio nal DOMString defaultValue); 74 optional DOMString default Value = null);
75 75
76 boolean find([Default=Undefined] optional DOMString string, 76 boolean find([Default=Undefined] optional DOMString string,
77 [Default=Undefined] optional boolean caseSensitive, 77 [Default=Undefined] optional boolean caseSensitive,
78 [Default=Undefined] optional boolean backwards, 78 [Default=Undefined] optional boolean backwards,
79 [Default=Undefined] optional boolean wrap, 79 [Default=Undefined] optional boolean wrap,
80 [Default=Undefined] optional boolean wholeWord, 80 [Default=Undefined] optional boolean wholeWord,
81 [Default=Undefined] optional boolean searchInFrames, 81 [Default=Undefined] optional boolean searchInFrames,
82 [Default=Undefined] optional boolean showDialog); 82 [Default=Undefined] optional boolean showDialog);
83 83
84 [Replaceable, MeasureAs=WindowOffscreenBuffering] readonly attribute boolean offscreenBuffering; 84 [Replaceable, MeasureAs=WindowOffscreenBuffering] readonly attribute boolean offscreenBuffering;
(...skipping 126 matching lines...) Expand 10 before | Expand all | Expand 10 after
211 [DoNotCheckSignature, DoNotCheckSecurity, Custom, NotEnumerable] DOMString t oString(); 211 [DoNotCheckSignature, DoNotCheckSecurity, Custom, NotEnumerable] DOMString t oString();
212 212
213 [NotEnumerable] getter Window (unsigned long index); 213 [NotEnumerable] getter Window (unsigned long index);
214 [Custom, NotEnumerable] getter Window (DOMString name); 214 [Custom, NotEnumerable] getter Window (DOMString name);
215 }; 215 };
216 216
217 Window implements GlobalEventHandlers; 217 Window implements GlobalEventHandlers;
218 Window implements WindowBase64; 218 Window implements WindowBase64;
219 Window implements WindowEventHandlers; 219 Window implements WindowEventHandlers;
220 Window implements WindowTimers; 220 Window implements WindowTimers;
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698