| 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 251 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 262 // that this is comprehensive. | 262 // that this is comprehensive. |
| 263 virtual void didObserveNonGetFetchFromScript() const {} | 263 virtual void didObserveNonGetFetchFromScript() const {} |
| 264 | 264 |
| 265 virtual PassOwnPtr<WebFrameScheduler> createFrameScheduler() = 0; | 265 virtual PassOwnPtr<WebFrameScheduler> createFrameScheduler() = 0; |
| 266 | 266 |
| 267 protected: | 267 protected: |
| 268 ~ChromeClient() override { } | 268 ~ChromeClient() override { } |
| 269 | 269 |
| 270 virtual void showMouseOverURL(const HitTestResult&) = 0; | 270 virtual void showMouseOverURL(const HitTestResult&) = 0; |
| 271 virtual void setWindowRect(const IntRect&) = 0; | 271 virtual void setWindowRect(const IntRect&) = 0; |
| 272 virtual bool openBeforeUnloadConfirmPanelDelegate(LocalFrame*, const String&
message, bool isReload) = 0; | 272 virtual bool openBeforeUnloadConfirmPanelDelegate(LocalFrame*, bool isReload
) = 0; |
| 273 virtual bool openJavaScriptAlertDelegate(LocalFrame*, const String&) = 0; | 273 virtual bool openJavaScriptAlertDelegate(LocalFrame*, const String&) = 0; |
| 274 virtual bool openJavaScriptConfirmDelegate(LocalFrame*, const String&) = 0; | 274 virtual bool openJavaScriptConfirmDelegate(LocalFrame*, const String&) = 0; |
| 275 virtual bool openJavaScriptPromptDelegate(LocalFrame*, const String& message
, const String& defaultValue, String& result) = 0; | 275 virtual bool openJavaScriptPromptDelegate(LocalFrame*, const String& message
, const String& defaultValue, String& result) = 0; |
| 276 virtual void printDelegate(LocalFrame*) = 0; | 276 virtual void printDelegate(LocalFrame*) = 0; |
| 277 | 277 |
| 278 private: | 278 private: |
| 279 bool canOpenModalIfDuringPageDismissal(Frame* mainFrame, DialogType, const S
tring& message); | 279 bool canOpenModalIfDuringPageDismissal(Frame* mainFrame, DialogType, const S
tring& message); |
| 280 void setToolTip(const HitTestResult&); | 280 void setToolTip(const HitTestResult&); |
| 281 | 281 |
| 282 LayoutPoint m_lastToolTipPoint; | 282 LayoutPoint m_lastToolTipPoint; |
| 283 String m_lastToolTipText; | 283 String m_lastToolTipText; |
| 284 | 284 |
| 285 FRIEND_TEST_ALL_PREFIXES(ChromeClientTest, SetToolTipFlood); | 285 FRIEND_TEST_ALL_PREFIXES(ChromeClientTest, SetToolTipFlood); |
| 286 }; | 286 }; |
| 287 | 287 |
| 288 } // namespace blink | 288 } // namespace blink |
| 289 | 289 |
| 290 #endif // ChromeClient_h | 290 #endif // ChromeClient_h |
| OLD | NEW |