| 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 234 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 245 | 245 |
| 246 virtual void onMouseDown(Node*) { } | 246 virtual void onMouseDown(Node*) { } |
| 247 | 247 |
| 248 virtual void didUpdateTopControls() const { } | 248 virtual void didUpdateTopControls() const { } |
| 249 | 249 |
| 250 virtual void registerPopupOpeningObserver(PopupOpeningObserver*) = 0; | 250 virtual void registerPopupOpeningObserver(PopupOpeningObserver*) = 0; |
| 251 virtual void unregisterPopupOpeningObserver(PopupOpeningObserver*) = 0; | 251 virtual void unregisterPopupOpeningObserver(PopupOpeningObserver*) = 0; |
| 252 | 252 |
| 253 virtual FloatSize elasticOverscroll() const { return FloatSize(); } | 253 virtual FloatSize elasticOverscroll() const { return FloatSize(); } |
| 254 | 254 |
| 255 // Called when observed XHR, fetch, and other fetch request with non-GET met
hod is initiated from javascript. At this time, it is not guaranteed that this i
s comprehensive. |
| 256 virtual void observedNonGetFetchFromScript() const {} |
| 257 |
| 255 protected: | 258 protected: |
| 256 ~ChromeClient() override { } | 259 ~ChromeClient() override { } |
| 257 | 260 |
| 258 virtual void showMouseOverURL(const HitTestResult&) = 0; | 261 virtual void showMouseOverURL(const HitTestResult&) = 0; |
| 259 virtual void setWindowRect(const IntRect&) = 0; | 262 virtual void setWindowRect(const IntRect&) = 0; |
| 260 virtual bool openBeforeUnloadConfirmPanelDelegate(LocalFrame*, const String&
message) = 0; | 263 virtual bool openBeforeUnloadConfirmPanelDelegate(LocalFrame*, const String&
message) = 0; |
| 261 virtual bool openJavaScriptAlertDelegate(LocalFrame*, const String&) = 0; | 264 virtual bool openJavaScriptAlertDelegate(LocalFrame*, const String&) = 0; |
| 262 virtual bool openJavaScriptConfirmDelegate(LocalFrame*, const String&) = 0; | 265 virtual bool openJavaScriptConfirmDelegate(LocalFrame*, const String&) = 0; |
| 263 virtual bool openJavaScriptPromptDelegate(LocalFrame*, const String& message
, const String& defaultValue, String& result) = 0; | 266 virtual bool openJavaScriptPromptDelegate(LocalFrame*, const String& message
, const String& defaultValue, String& result) = 0; |
| 264 virtual void printDelegate(LocalFrame*) = 0; | 267 virtual void printDelegate(LocalFrame*) = 0; |
| 265 | 268 |
| 266 private: | 269 private: |
| 267 bool canOpenModalIfDuringPageDismissal(Frame* mainFrame, DialogType, const S
tring& message); | 270 bool canOpenModalIfDuringPageDismissal(Frame* mainFrame, DialogType, const S
tring& message); |
| 268 void setToolTip(const HitTestResult&); | 271 void setToolTip(const HitTestResult&); |
| 269 }; | 272 }; |
| 270 | 273 |
| 271 } // namespace blink | 274 } // namespace blink |
| 272 | 275 |
| 273 #endif // ChromeClient_h | 276 #endif // ChromeClient_h |
| OLD | NEW |