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 44 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
55 [DoNotCheckSecurity] void blur(); | 55 [DoNotCheckSecurity] void blur(); |
56 [DoNotCheckSecurity, CallWith=ExecutionContext] void close(); | 56 [DoNotCheckSecurity, CallWith=ExecutionContext] void close(); |
57 | 57 |
58 void print(); | 58 void print(); |
59 void stop(); | 59 void stop(); |
60 | 60 |
61 [Custom] Window open(DOMString url, | 61 [Custom] Window open(DOMString url, |
62 DOMString name, | 62 DOMString name, |
63 optional DOMString options); | 63 optional DOMString options); |
64 | 64 |
65 [Custom] any showModalDialog(DOMString url, | 65 [RuntimeEnabled=ShowModalDialog, Custom] any showModalDialog(DOMString url, |
66 optional any dialogArgs, | 66 optional any dialogArgs, |
67 optional DOMString featureArgs); | 67 optional DOMString featureArgs); |
68 | 68 |
69 void alert([Default=NullString] optional DOMString message); | 69 void alert([Default=NullString] optional DOMString message); |
70 boolean confirm([Default=NullString] optional DOMString message); | 70 boolean confirm([Default=NullString] optional DOMString message); |
71 [TreatReturnedNullStringAs=Null] DOMString prompt([Default=NullString] optio
nal DOMString message, | 71 [TreatReturnedNullStringAs=Null] DOMString prompt([Default=NullString] optio
nal DOMString message, |
72 [Default=NullString] optio
nal DOMString defaultValue); | 72 [Default=NullString] optio
nal DOMString defaultValue); |
73 | 73 |
74 boolean find([Default=Undefined] optional DOMString string, | 74 boolean find([Default=Undefined] optional DOMString string, |
75 [Default=Undefined] optional boolean caseSensitive, | 75 [Default=Undefined] optional boolean caseSensitive, |
(...skipping 154 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
230 | 230 |
231 [NotEnumerable] getter Window (unsigned long index); | 231 [NotEnumerable] getter Window (unsigned long index); |
232 [Custom, NotEnumerable] getter Window (DOMString name); | 232 [Custom, NotEnumerable] getter Window (DOMString name); |
233 }; | 233 }; |
234 | 234 |
235 Window implements GlobalEventHandlers; | 235 Window implements GlobalEventHandlers; |
236 Window implements ImageBitmapFactories; | 236 Window implements ImageBitmapFactories; |
237 Window implements WindowBase64; | 237 Window implements WindowBase64; |
238 Window implements WindowEventHandlers; | 238 Window implements WindowEventHandlers; |
239 Window implements WindowTimers; | 239 Window implements WindowTimers; |
OLD | NEW |