| Index: third_party/WebKit/Source/core/page/ChromeClient.h
|
| diff --git a/third_party/WebKit/Source/core/page/ChromeClient.h b/third_party/WebKit/Source/core/page/ChromeClient.h
|
| index 7ddb77859e06b5fbcf0afe939ea0cd4f6088d8a8..2faaddba80be220c5cf0a7f763ee37f39ded3911 100644
|
| --- a/third_party/WebKit/Source/core/page/ChromeClient.h
|
| +++ b/third_party/WebKit/Source/core/page/ChromeClient.h
|
| @@ -180,7 +180,11 @@ class CORE_EXPORT ChromeClient : public HostWindow {
|
| virtual WebScreenInfo screenInfo() const = 0;
|
| virtual void setCursor(const Cursor&, LocalFrame* localRoot) = 0;
|
| // End methods used by HostWindow.
|
| +
|
| virtual Cursor lastSetCursorForTesting() const = 0;
|
| + Node* lastSetTooltipNodeForTesting() const {
|
| + return m_lastMouseOverNode.get();
|
| + }
|
|
|
| // Returns a custom visible content rect if a viewport override is active.
|
| virtual WTF::Optional<IntRect> visibleContentRectForPainting() const {
|
| @@ -338,6 +342,8 @@ class CORE_EXPORT ChromeClient : public HostWindow {
|
|
|
| virtual void installSupplements(LocalFrame&) {}
|
|
|
| + DECLARE_TRACE();
|
| +
|
| protected:
|
| ~ChromeClient() override {}
|
|
|
| @@ -359,6 +365,7 @@ class CORE_EXPORT ChromeClient : public HostWindow {
|
| const String& message);
|
| void setToolTip(LocalFrame&, const HitTestResult&);
|
|
|
| + WeakMember<Node> m_lastMouseOverNode;
|
| LayoutPoint m_lastToolTipPoint;
|
| String m_lastToolTipText;
|
|
|
|
|