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) 2010 Nokia Corporation and/or its subsidiary(-ies). | 3 * Copyright (C) 2010 Nokia Corporation and/or its subsidiary(-ies). |
4 * | 4 * |
5 * This library is free software; you can redistribute it and/or | 5 * This library is free software; you can redistribute it and/or |
6 * modify it under the terms of the GNU Library General Public | 6 * modify it under the terms of the GNU Library General Public |
7 * License as published by the Free Software Foundation; either | 7 * License as published by the Free Software Foundation; either |
8 * version 2 of the License, or (at your option) any later version. | 8 * version 2 of the License, or (at your option) any later version. |
9 * | 9 * |
10 * This library is distributed in the hope that it will be useful, | 10 * This library is distributed in the hope that it will be useful, |
(...skipping 114 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
125 | 125 |
126 virtual void closeWindowSoon() = 0; | 126 virtual void closeWindowSoon() = 0; |
127 | 127 |
128 virtual void runJavaScriptAlert(Frame*, const String&) = 0; | 128 virtual void runJavaScriptAlert(Frame*, const String&) = 0; |
129 virtual bool runJavaScriptConfirm(Frame*, const String&) = 0; | 129 virtual bool runJavaScriptConfirm(Frame*, const String&) = 0; |
130 virtual bool runJavaScriptPrompt(Frame*, const String& message, const St
ring& defaultValue, String& result) = 0; | 130 virtual bool runJavaScriptPrompt(Frame*, const String& message, const St
ring& defaultValue, String& result) = 0; |
131 virtual void setStatusbarText(const String&) = 0; | 131 virtual void setStatusbarText(const String&) = 0; |
132 virtual bool shouldInterruptJavaScript() = 0; | 132 virtual bool shouldInterruptJavaScript() = 0; |
133 virtual KeyboardUIMode keyboardUIMode() = 0; | 133 virtual KeyboardUIMode keyboardUIMode() = 0; |
134 | 134 |
| 135 virtual void* webView() const = 0; |
| 136 |
135 #if ENABLE(REGISTER_PROTOCOL_HANDLER) | 137 #if ENABLE(REGISTER_PROTOCOL_HANDLER) |
136 virtual void registerProtocolHandler(const String& scheme, const String&
baseURL, const String& url, const String& title) = 0; | 138 virtual void registerProtocolHandler(const String& scheme, const String&
baseURL, const String& url, const String& title) = 0; |
137 #endif | 139 #endif |
138 | 140 |
139 virtual IntRect windowResizerRect() const = 0; | 141 virtual IntRect windowResizerRect() const = 0; |
140 | 142 |
141 // Methods used by HostWindow. | 143 // Methods used by HostWindow. |
142 virtual void invalidateWindow(const IntRect&, bool) = 0; | 144 virtual void invalidateWindow(const IntRect&, bool) = 0; |
143 virtual void invalidateContentsAndWindow(const IntRect&, bool) = 0; | 145 virtual void invalidateContentsAndWindow(const IntRect&, bool) = 0; |
144 virtual void invalidateContentsForSlowScroll(const IntRect&, bool) = 0; | 146 virtual void invalidateContentsForSlowScroll(const IntRect&, bool) = 0; |
(...skipping 172 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
317 }; | 319 }; |
318 virtual void willRunModalDialogDuringPageDismissal(const DialogType&) co
nst { } | 320 virtual void willRunModalDialogDuringPageDismissal(const DialogType&) co
nst { } |
319 | 321 |
320 protected: | 322 protected: |
321 virtual ~ChromeClient() { } | 323 virtual ~ChromeClient() { } |
322 }; | 324 }; |
323 | 325 |
324 } | 326 } |
325 | 327 |
326 #endif // ChromeClient_h | 328 #endif // ChromeClient_h |
OLD | NEW |