| OLD | NEW |
| 1 /* | 1 /* |
| 2 * Copyright (C) 2006, 2007, 2008, 2009, 2010, 2011, 2012 Apple, Inc. All rights
reserved. | 2 * Copyright (C) 2006, 2007, 2008, 2009, 2010, 2011, 2012 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 * Copyright (C) 2012 Samsung Electronics. All rights reserved. | 4 * Copyright (C) 2012 Samsung Electronics. All rights reserved. |
| 5 * | 5 * |
| 6 * This library is free software; you can redistribute it and/or | 6 * This library is free software; you can redistribute it and/or |
| 7 * modify it under the terms of the GNU Library General Public | 7 * modify it under the terms of the GNU Library General Public |
| 8 * License as published by the Free Software Foundation; either | 8 * License as published by the Free Software Foundation; either |
| 9 * version 2 of the License, or (at your option) any later version. | 9 * version 2 of the License, or (at your option) any later version. |
| 10 * | 10 * |
| (...skipping 115 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 126 | 126 |
| 127 virtual void setResizable(bool) = 0; | 127 virtual void setResizable(bool) = 0; |
| 128 | 128 |
| 129 virtual void addMessageToConsole(MessageSource, MessageLevel, const String&
message, unsigned lineNumber, const String& sourceID) = 0; | 129 virtual void addMessageToConsole(MessageSource, MessageLevel, const String&
message, unsigned lineNumber, const String& sourceID) = 0; |
| 130 // FIXME: Remove this MessageType variant once all the clients are updated. | 130 // FIXME: Remove this MessageType variant once all the clients are updated. |
| 131 virtual void addMessageToConsole(MessageSource source, MessageType, MessageL
evel level, const String& message, unsigned lineNumber, const String& sourceID) | 131 virtual void addMessageToConsole(MessageSource source, MessageType, MessageL
evel level, const String& message, unsigned lineNumber, const String& sourceID) |
| 132 { | 132 { |
| 133 addMessageToConsole(source, level, message, lineNumber, sourceID); | 133 addMessageToConsole(source, level, message, lineNumber, sourceID); |
| 134 } | 134 } |
| 135 | 135 |
| 136 virtual bool shouldReportDetailedMessage(const String&) = 0; |
| 137 virtual void reportDetailedMessage(const String&, MessageLevel, const String
&, const String&) = 0; |
| 138 |
| 136 virtual bool canRunBeforeUnloadConfirmPanel() = 0; | 139 virtual bool canRunBeforeUnloadConfirmPanel() = 0; |
| 137 virtual bool runBeforeUnloadConfirmPanel(const String& message, Frame*) = 0; | 140 virtual bool runBeforeUnloadConfirmPanel(const String& message, Frame*) = 0; |
| 138 | 141 |
| 139 virtual void closeWindowSoon() = 0; | 142 virtual void closeWindowSoon() = 0; |
| 140 | 143 |
| 141 virtual void runJavaScriptAlert(Frame*, const String&) = 0; | 144 virtual void runJavaScriptAlert(Frame*, const String&) = 0; |
| 142 virtual bool runJavaScriptConfirm(Frame*, const String&) = 0; | 145 virtual bool runJavaScriptConfirm(Frame*, const String&) = 0; |
| 143 virtual bool runJavaScriptPrompt(Frame*, const String& message, const String
& defaultValue, String& result) = 0; | 146 virtual bool runJavaScriptPrompt(Frame*, const String& message, const String
& defaultValue, String& result) = 0; |
| 144 virtual void setStatusbarText(const String&) = 0; | 147 virtual void setStatusbarText(const String&) = 0; |
| 145 virtual bool tabsToLinks() = 0; | 148 virtual bool tabsToLinks() = 0; |
| (...skipping 140 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 286 | 289 |
| 287 // Notifies the client a popup was closed. | 290 // Notifies the client a popup was closed. |
| 288 virtual void popupClosed(PopupContainer* popupContainer) = 0; | 291 virtual void popupClosed(PopupContainer* popupContainer) = 0; |
| 289 | 292 |
| 290 protected: | 293 protected: |
| 291 virtual ~ChromeClient() { } | 294 virtual ~ChromeClient() { } |
| 292 }; | 295 }; |
| 293 | 296 |
| 294 } | 297 } |
| 295 #endif // ChromeClient_h | 298 #endif // ChromeClient_h |
| OLD | NEW |