OLD | NEW |
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 43 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
54 [DoNotCheckSecurity] void blur(); | 54 [DoNotCheckSecurity] void blur(); |
55 [DoNotCheckSecurity, CallWith=ExecutionContext] void close(); | 55 [DoNotCheckSecurity, CallWith=ExecutionContext] void close(); |
56 | 56 |
57 void print(); | 57 void print(); |
58 void stop(); | 58 void stop(); |
59 | 59 |
60 [Custom] Window open(DOMString url, | 60 [Custom] Window open(DOMString url, |
61 DOMString name, | 61 DOMString name, |
62 optional DOMString options); | 62 optional DOMString options); |
63 | 63 |
64 [Custom] any showModalDialog(DOMString url, | |
65 optional any dialogArgs, | |
66 optional DOMString featureArgs); | |
67 | |
68 void alert([Default=NullString] optional DOMString message); | 64 void alert([Default=NullString] optional DOMString message); |
69 boolean confirm([Default=NullString] optional DOMString message); | 65 boolean confirm([Default=NullString] optional DOMString message); |
70 [TreatReturnedNullStringAs=Null] DOMString prompt([Default=NullString] optio
nal DOMString message, | 66 [TreatReturnedNullStringAs=Null] DOMString prompt([Default=NullString] optio
nal DOMString message, |
71 [Default=NullString] optio
nal DOMString defaultValue); | 67 [Default=NullString] optio
nal DOMString defaultValue); |
72 | 68 |
73 boolean find([Default=Undefined] optional DOMString string, | 69 boolean find([Default=Undefined] optional DOMString string, |
74 [Default=Undefined] optional boolean caseSensitive, | 70 [Default=Undefined] optional boolean caseSensitive, |
75 [Default=Undefined] optional boolean backwards, | 71 [Default=Undefined] optional boolean backwards, |
76 [Default=Undefined] optional boolean wrap, | 72 [Default=Undefined] optional boolean wrap, |
77 [Default=Undefined] optional boolean wholeWord, | 73 [Default=Undefined] optional boolean wholeWord, |
(...skipping 161 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
239 | 235 |
240 [NotEnumerable] getter Window (unsigned long index); | 236 [NotEnumerable] getter Window (unsigned long index); |
241 [Custom, NotEnumerable] getter Window (DOMString name); | 237 [Custom, NotEnumerable] getter Window (DOMString name); |
242 }; | 238 }; |
243 | 239 |
244 Window implements GlobalEventHandlers; | 240 Window implements GlobalEventHandlers; |
245 Window implements ImageBitmapFactories; | 241 Window implements ImageBitmapFactories; |
246 Window implements WindowBase64; | 242 Window implements WindowBase64; |
247 Window implements WindowEventHandlers; | 243 Window implements WindowEventHandlers; |
248 Window implements WindowTimers; | 244 Window implements WindowTimers; |
OLD | NEW |