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 PassRefPtr<DOMWindow> open(const String& urlString, const AtomicString&
frameName, const String& windowFeaturesString, | 152 PassRefPtr<DOMWindow> open(const String& urlString, const AtomicString&
frameName, const String& windowFeaturesString, |
153 DOMWindow* activeWindow, DOMWindow* firstWindow); | 153 DOMWindow* activeWindow, DOMWindow* firstWindow); |
154 | 154 |
155 typedef void (*PrepareDialogFunction)(DOMWindow*, void* context); | 155 typedef void (*PrepareDialogFunction)(DOMWindow*, void* context); |
156 void showModalDialog(const String& urlString, const String& dialogFeatur
esString, | 156 void showModalDialog(const String& urlString, const String& dialogFeatur
esString, |
157 DOMWindow* activeWindow, DOMWindow* firstWindow, PrepareDialogFuncti
on, void* functionContext); | 157 DOMWindow* activeWindow, DOMWindow* firstWindow, PrepareDialogFuncti
on, void* functionContext); |
158 | 158 |
159 void alert(const String& message); | 159 void alert(const String& message); |
160 bool confirm(const String& message); | 160 bool confirm(const String& message); |
161 String prompt(const String& message, const String& defaultValue); | 161 String prompt(const String& message, const String& defaultValue); |
162 String btoa(const String& stringToEncode, ExceptionCode&); | |
163 String atob(const String& encodedString, ExceptionCode&); | |
164 | 162 |
165 bool find(const String&, bool caseSensitive, bool backwards, bool wrap,
bool wholeWord, bool searchInFrames, bool showDialog) const; | 163 bool find(const String&, bool caseSensitive, bool backwards, bool wrap,
bool wholeWord, bool searchInFrames, bool showDialog) const; |
166 | 164 |
167 bool offscreenBuffering() const; | 165 bool offscreenBuffering() const; |
168 | 166 |
169 int outerHeight() const; | 167 int outerHeight() const; |
170 int outerWidth() const; | 168 int outerWidth() const; |
171 int innerHeight() const; | 169 int innerHeight() const; |
172 int innerWidth() const; | 170 int innerWidth() const; |
173 int screenX() const; | 171 int screenX() const; |
(...skipping 278 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
452 } | 450 } |
453 | 451 |
454 inline String DOMWindow::defaultStatus() const | 452 inline String DOMWindow::defaultStatus() const |
455 { | 453 { |
456 return m_defaultStatus; | 454 return m_defaultStatus; |
457 } | 455 } |
458 | 456 |
459 } // namespace WebCore | 457 } // namespace WebCore |
460 | 458 |
461 #endif // DOMWindow_h | 459 #endif // DOMWindow_h |
OLD | NEW |