| OLD | NEW |
| 1 /* | 1 /* |
| 2 * Copyright (C) 2006, 2007, 2009, 2010 Apple Inc. All rights reserved. | 2 * Copyright (C) 2006, 2007, 2009, 2010 Apple Inc. All rights reserved. |
| 3 * Copyright (C) 2010 Nokia Corporation and/or its subsidiary(-ies) | 3 * Copyright (C) 2010 Nokia Corporation and/or its subsidiary(-ies) |
| 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 141 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 152 void print(); | 152 void print(); |
| 153 void stop(); | 153 void stop(); |
| 154 | 154 |
| 155 PassRefPtrWillBeRawPtr<DOMWindow> open(const String& urlString, const At
omicString& frameName, const String& windowFeaturesString, | 155 PassRefPtrWillBeRawPtr<DOMWindow> open(const String& urlString, const At
omicString& frameName, const String& windowFeaturesString, |
| 156 DOMWindow* callingWindow, DOMWindow* enteredWindow); | 156 DOMWindow* callingWindow, DOMWindow* enteredWindow); |
| 157 | 157 |
| 158 typedef void (*PrepareDialogFunction)(DOMWindow*, void* context); | 158 typedef void (*PrepareDialogFunction)(DOMWindow*, void* context); |
| 159 void showModalDialog(const String& urlString, const String& dialogFeatur
esString, | 159 void showModalDialog(const String& urlString, const String& dialogFeatur
esString, |
| 160 DOMWindow* callingWindow, DOMWindow* enteredWindow, PrepareDialogFun
ction, void* functionContext); | 160 DOMWindow* callingWindow, DOMWindow* enteredWindow, PrepareDialogFun
ction, void* functionContext); |
| 161 | 161 |
| 162 void alert(const String& message); | 162 void alert(const String& message = String()); |
| 163 bool confirm(const String& message); | 163 bool confirm(const String& message); |
| 164 String prompt(const String& message, const String& defaultValue); | 164 String prompt(const String& message, const String& defaultValue); |
| 165 | 165 |
| 166 bool find(const String&, bool caseSensitive, bool backwards, bool wrap,
bool wholeWord, bool searchInFrames, bool showDialog) const; | 166 bool find(const String&, bool caseSensitive, bool backwards, bool wrap,
bool wholeWord, bool searchInFrames, bool showDialog) const; |
| 167 | 167 |
| 168 bool offscreenBuffering() const; | 168 bool offscreenBuffering() const; |
| 169 | 169 |
| 170 int outerHeight() const; | 170 int outerHeight() const; |
| 171 int outerWidth() const; | 171 int outerWidth() const; |
| 172 int innerHeight() const; | 172 int innerHeight() const; |
| (...skipping 213 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 386 } | 386 } |
| 387 | 387 |
| 388 inline String DOMWindow::defaultStatus() const | 388 inline String DOMWindow::defaultStatus() const |
| 389 { | 389 { |
| 390 return m_defaultStatus; | 390 return m_defaultStatus; |
| 391 } | 391 } |
| 392 | 392 |
| 393 } // namespace WebCore | 393 } // namespace WebCore |
| 394 | 394 |
| 395 #endif // DOMWindow_h | 395 #endif // DOMWindow_h |
| OLD | NEW |