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 187 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
198 | 198 |
199 virtual void DispatchViewportPropertiesDidChange( | 199 virtual void DispatchViewportPropertiesDidChange( |
200 const ViewportDescription&) const {} | 200 const ViewportDescription&) const {} |
201 | 201 |
202 virtual void ContentsSizeChanged(LocalFrame*, const IntSize&) const = 0; | 202 virtual void ContentsSizeChanged(LocalFrame*, const IntSize&) const = 0; |
203 virtual void PageScaleFactorChanged() const {} | 203 virtual void PageScaleFactorChanged() const {} |
204 virtual float ClampPageScaleFactorToLimits(float scale) const { | 204 virtual float ClampPageScaleFactorToLimits(float scale) const { |
205 return scale; | 205 return scale; |
206 } | 206 } |
207 virtual void MainFrameScrollOffsetChanged() const {} | 207 virtual void MainFrameScrollOffsetChanged() const {} |
| 208 virtual void ResizeAfterLayout(LocalFrame*) const {} |
208 virtual void LayoutUpdated(LocalFrame*) const {} | 209 virtual void LayoutUpdated(LocalFrame*) const {} |
209 | 210 |
210 void MouseDidMoveOverElement(LocalFrame&, const HitTestResult&); | 211 void MouseDidMoveOverElement(LocalFrame&, const HitTestResult&); |
211 virtual void SetToolTip(LocalFrame&, const String&, TextDirection) = 0; | 212 virtual void SetToolTip(LocalFrame&, const String&, TextDirection) = 0; |
212 void ClearToolTip(LocalFrame&); | 213 void ClearToolTip(LocalFrame&); |
213 | 214 |
214 bool Print(LocalFrame*); | 215 bool Print(LocalFrame*); |
215 | 216 |
216 virtual void AnnotatedRegionsChanged() = 0; | 217 virtual void AnnotatedRegionsChanged() = 0; |
217 | 218 |
(...skipping 158 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
376 WeakMember<Node> last_mouse_over_node_; | 377 WeakMember<Node> last_mouse_over_node_; |
377 LayoutPoint last_tool_tip_point_; | 378 LayoutPoint last_tool_tip_point_; |
378 String last_tool_tip_text_; | 379 String last_tool_tip_text_; |
379 | 380 |
380 FRIEND_TEST_ALL_PREFIXES(ChromeClientTest, SetToolTipFlood); | 381 FRIEND_TEST_ALL_PREFIXES(ChromeClientTest, SetToolTipFlood); |
381 }; | 382 }; |
382 | 383 |
383 } // namespace blink | 384 } // namespace blink |
384 | 385 |
385 #endif // ChromeClient_h | 386 #endif // ChromeClient_h |
OLD | NEW |