| OLD | NEW |
| 1 /* | 1 /* |
| 2 * Copyright (C) 2006, 2007, 2008, 2009, 2010, 2011, 2012 Apple, Inc. All rights | 2 * Copyright (C) 2006, 2007, 2008, 2009, 2010, 2011, 2012 Apple, Inc. All rights |
| 3 * reserved. | 3 * reserved. |
| 4 * Copyright (C) 2010 Nokia Corporation and/or its subsidiary(-ies). | 4 * Copyright (C) 2010 Nokia Corporation and/or its subsidiary(-ies). |
| 5 * Copyright (C) 2012 Samsung Electronics. All rights reserved. | 5 * Copyright (C) 2012 Samsung Electronics. All rights reserved. |
| 6 * | 6 * |
| 7 * This library is free software; you can redistribute it and/or | 7 * This library is free software; you can redistribute it and/or |
| 8 * modify it under the terms of the GNU Library General Public | 8 * modify it under the terms of the GNU Library General Public |
| 9 * License as published by the Free Software Foundation; either | 9 * License as published by the Free Software Foundation; either |
| 10 * version 2 of the License, or (at your option) any later version. | 10 * version 2 of the License, or (at your option) any later version. |
| (...skipping 340 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 351 virtual double LastFrameTimeMonotonic() const { return 0.0; } | 351 virtual double LastFrameTimeMonotonic() const { return 0.0; } |
| 352 | 352 |
| 353 virtual void InstallSupplements(LocalFrame&) {} | 353 virtual void InstallSupplements(LocalFrame&) {} |
| 354 | 354 |
| 355 virtual WebLayerTreeView* GetWebLayerTreeView(LocalFrame*) { return nullptr; } | 355 virtual WebLayerTreeView* GetWebLayerTreeView(LocalFrame*) { return nullptr; } |
| 356 | 356 |
| 357 virtual WebLocalFrameBase* GetWebLocalFrameBase(LocalFrame*) { | 357 virtual WebLocalFrameBase* GetWebLocalFrameBase(LocalFrame*) { |
| 358 return nullptr; | 358 return nullptr; |
| 359 } | 359 } |
| 360 | 360 |
| 361 virtual void RequestDecode( |
| 362 LocalFrame*, |
| 363 sk_sp<SkImage> image, |
| 364 std::unique_ptr<WTF::Function<void(bool)>> callback) { |
| 365 (*callback)(false); |
| 366 } |
| 367 |
| 361 DECLARE_TRACE(); | 368 DECLARE_TRACE(); |
| 362 | 369 |
| 363 protected: | 370 protected: |
| 364 ~ChromeClient() override {} | 371 ~ChromeClient() override {} |
| 365 | 372 |
| 366 virtual void ShowMouseOverURL(const HitTestResult&) = 0; | 373 virtual void ShowMouseOverURL(const HitTestResult&) = 0; |
| 367 virtual void SetWindowRect(const IntRect&, LocalFrame&) = 0; | 374 virtual void SetWindowRect(const IntRect&, LocalFrame&) = 0; |
| 368 virtual bool OpenBeforeUnloadConfirmPanelDelegate(LocalFrame*, | 375 virtual bool OpenBeforeUnloadConfirmPanelDelegate(LocalFrame*, |
| 369 bool is_reload) = 0; | 376 bool is_reload) = 0; |
| 370 virtual bool OpenJavaScriptAlertDelegate(LocalFrame*, const String&) = 0; | 377 virtual bool OpenJavaScriptAlertDelegate(LocalFrame*, const String&) = 0; |
| (...skipping 13 matching lines...) Expand all Loading... |
| 384 WeakMember<Node> last_mouse_over_node_; | 391 WeakMember<Node> last_mouse_over_node_; |
| 385 LayoutPoint last_tool_tip_point_; | 392 LayoutPoint last_tool_tip_point_; |
| 386 String last_tool_tip_text_; | 393 String last_tool_tip_text_; |
| 387 | 394 |
| 388 FRIEND_TEST_ALL_PREFIXES(ChromeClientTest, SetToolTipFlood); | 395 FRIEND_TEST_ALL_PREFIXES(ChromeClientTest, SetToolTipFlood); |
| 389 }; | 396 }; |
| 390 | 397 |
| 391 } // namespace blink | 398 } // namespace blink |
| 392 | 399 |
| 393 #endif // ChromeClient_h | 400 #endif // ChromeClient_h |
| OLD | NEW |