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 175 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
186 virtual void SetStatusbarText(const String&) = 0; | 186 virtual void SetStatusbarText(const String&) = 0; |
187 virtual bool TabsToLinks() = 0; | 187 virtual bool TabsToLinks() = 0; |
188 | 188 |
189 virtual void* WebView() const = 0; | 189 virtual void* WebView() const = 0; |
190 | 190 |
191 // Methods used by PlatformChromeClient. | 191 // Methods used by PlatformChromeClient. |
192 virtual WebScreenInfo GetScreenInfo() const = 0; | 192 virtual WebScreenInfo GetScreenInfo() const = 0; |
193 virtual void SetCursor(const Cursor&, LocalFrame* local_root) = 0; | 193 virtual void SetCursor(const Cursor&, LocalFrame* local_root) = 0; |
194 // End methods used by PlatformChromeClient. | 194 // End methods used by PlatformChromeClient. |
195 | 195 |
| 196 virtual void SetCursorOverridden(bool) = 0; |
196 virtual Cursor LastSetCursorForTesting() const = 0; | 197 virtual Cursor LastSetCursorForTesting() const = 0; |
197 Node* LastSetTooltipNodeForTesting() const { | 198 Node* LastSetTooltipNodeForTesting() const { |
198 return last_mouse_over_node_.Get(); | 199 return last_mouse_over_node_.Get(); |
199 } | 200 } |
200 | 201 |
201 virtual void SetCursorForPlugin(const WebCursorInfo&, LocalFrame*) = 0; | 202 virtual void SetCursorForPlugin(const WebCursorInfo&, LocalFrame*) = 0; |
202 | 203 |
203 // Returns a custom visible content rect if a viewport override is active. | 204 // Returns a custom visible content rect if a viewport override is active. |
204 virtual WTF::Optional<IntRect> VisibleContentRectForPainting() const { | 205 virtual WTF::Optional<IntRect> VisibleContentRectForPainting() const { |
205 return WTF::nullopt; | 206 return WTF::nullopt; |
(...skipping 191 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
397 WeakMember<Node> last_mouse_over_node_; | 398 WeakMember<Node> last_mouse_over_node_; |
398 LayoutPoint last_tool_tip_point_; | 399 LayoutPoint last_tool_tip_point_; |
399 String last_tool_tip_text_; | 400 String last_tool_tip_text_; |
400 | 401 |
401 FRIEND_TEST_ALL_PREFIXES(ChromeClientTest, SetToolTipFlood); | 402 FRIEND_TEST_ALL_PREFIXES(ChromeClientTest, SetToolTipFlood); |
402 }; | 403 }; |
403 | 404 |
404 } // namespace blink | 405 } // namespace blink |
405 | 406 |
406 #endif // ChromeClient_h | 407 #endif // ChromeClient_h |
OLD | NEW |