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 54 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
65 class IntRect; | 65 class IntRect; |
66 class KeyboardEvent; | 66 class KeyboardEvent; |
67 class LocalFrame; | 67 class LocalFrame; |
68 class Node; | 68 class Node; |
69 class Page; | 69 class Page; |
70 class PopupOpeningObserver; | 70 class PopupOpeningObserver; |
71 class WebDragData; | 71 class WebDragData; |
72 class WebFrameScheduler; | 72 class WebFrameScheduler; |
73 class WebImage; | 73 class WebImage; |
74 class WebLayer; | 74 class WebLayer; |
| 75 class WebLayerTreeView; |
75 | 76 |
76 struct CompositedSelection; | 77 struct CompositedSelection; |
77 struct DateTimeChooserParameters; | 78 struct DateTimeChooserParameters; |
78 struct FrameLoadRequest; | 79 struct FrameLoadRequest; |
79 struct ViewportDescription; | 80 struct ViewportDescription; |
80 struct WebPoint; | 81 struct WebPoint; |
81 struct WebScreenInfo; | 82 struct WebScreenInfo; |
82 struct WindowFeatures; | 83 struct WindowFeatures; |
83 | 84 |
84 class CORE_EXPORT ChromeClient : public HostWindow { | 85 class CORE_EXPORT ChromeClient : public HostWindow { |
(...skipping 252 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
337 | 338 |
338 virtual std::unique_ptr<WebFrameScheduler> createFrameScheduler( | 339 virtual std::unique_ptr<WebFrameScheduler> createFrameScheduler( |
339 BlameContext*) = 0; | 340 BlameContext*) = 0; |
340 | 341 |
341 // Returns the time of the beginning of the last beginFrame, in seconds, if | 342 // Returns the time of the beginning of the last beginFrame, in seconds, if |
342 // any, and 0.0 otherwise. | 343 // any, and 0.0 otherwise. |
343 virtual double lastFrameTimeMonotonic() const { return 0.0; } | 344 virtual double lastFrameTimeMonotonic() const { return 0.0; } |
344 | 345 |
345 virtual void installSupplements(LocalFrame&) {} | 346 virtual void installSupplements(LocalFrame&) {} |
346 | 347 |
| 348 virtual WebLayerTreeView* getWebLayerTreeView() { return nullptr; } |
| 349 |
347 DECLARE_TRACE(); | 350 DECLARE_TRACE(); |
348 | 351 |
349 protected: | 352 protected: |
350 ~ChromeClient() override {} | 353 ~ChromeClient() override {} |
351 | 354 |
352 virtual void showMouseOverURL(const HitTestResult&) = 0; | 355 virtual void showMouseOverURL(const HitTestResult&) = 0; |
353 virtual void setWindowRect(const IntRect&, LocalFrame&) = 0; | 356 virtual void setWindowRect(const IntRect&, LocalFrame&) = 0; |
354 virtual bool openBeforeUnloadConfirmPanelDelegate(LocalFrame*, | 357 virtual bool openBeforeUnloadConfirmPanelDelegate(LocalFrame*, |
355 bool isReload) = 0; | 358 bool isReload) = 0; |
356 virtual bool openJavaScriptAlertDelegate(LocalFrame*, const String&) = 0; | 359 virtual bool openJavaScriptAlertDelegate(LocalFrame*, const String&) = 0; |
(...skipping 13 matching lines...) Expand all Loading... |
370 WeakMember<Node> m_lastMouseOverNode; | 373 WeakMember<Node> m_lastMouseOverNode; |
371 LayoutPoint m_lastToolTipPoint; | 374 LayoutPoint m_lastToolTipPoint; |
372 String m_lastToolTipText; | 375 String m_lastToolTipText; |
373 | 376 |
374 FRIEND_TEST_ALL_PREFIXES(ChromeClientTest, SetToolTipFlood); | 377 FRIEND_TEST_ALL_PREFIXES(ChromeClientTest, SetToolTipFlood); |
375 }; | 378 }; |
376 | 379 |
377 } // namespace blink | 380 } // namespace blink |
378 | 381 |
379 #endif // ChromeClient_h | 382 #endif // ChromeClient_h |
OLD | NEW |