OLD | NEW |
1 /* | 1 /* |
2 * Copyright (C) 2006, 2007, 2008, 2009, 2010, 2011, 2012 Apple, Inc. All rights
reserved. | 2 * Copyright (C) 2006, 2007, 2008, 2009, 2010, 2011, 2012 Apple, Inc. All rights
reserved. |
3 * Copyright (C) 2010 Nokia Corporation and/or its subsidiary(-ies). | 3 * Copyright (C) 2010 Nokia Corporation and/or its subsidiary(-ies). |
4 * Copyright (C) 2012 Samsung Electronics. All rights reserved. | 4 * Copyright (C) 2012 Samsung Electronics. All rights reserved. |
5 * | 5 * |
6 * This library is free software; you can redistribute it and/or | 6 * This library is free software; you can redistribute it and/or |
7 * modify it under the terms of the GNU Library General Public | 7 * modify it under the terms of the GNU Library General Public |
8 * License as published by the Free Software Foundation; either | 8 * License as published by the Free Software Foundation; either |
9 * version 2 of the License, or (at your option) any later version. | 9 * version 2 of the License, or (at your option) any later version. |
10 * | 10 * |
(...skipping 151 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
162 virtual WebScreenInfo screenInfo() const = 0; | 162 virtual WebScreenInfo screenInfo() const = 0; |
163 virtual void setCursor(const Cursor&, LocalFrame* localRoot) = 0; | 163 virtual void setCursor(const Cursor&, LocalFrame* localRoot) = 0; |
164 // End methods used by HostWindow. | 164 // End methods used by HostWindow. |
165 virtual Cursor lastSetCursorForTesting() const = 0; | 165 virtual Cursor lastSetCursorForTesting() const = 0; |
166 | 166 |
167 virtual void dispatchViewportPropertiesDidChange(const ViewportDescription&)
const { } | 167 virtual void dispatchViewportPropertiesDidChange(const ViewportDescription&)
const { } |
168 | 168 |
169 virtual void contentsSizeChanged(LocalFrame*, const IntSize&) const = 0; | 169 virtual void contentsSizeChanged(LocalFrame*, const IntSize&) const = 0; |
170 virtual void pageScaleFactorChanged() const { } | 170 virtual void pageScaleFactorChanged() const { } |
171 virtual float clampPageScaleFactorToLimits(float scale) const { return scale
; } | 171 virtual float clampPageScaleFactorToLimits(float scale) const { return scale
; } |
| 172 virtual void mainFrameScrollOffsetChanged() const {} |
172 virtual void layoutUpdated(LocalFrame*) const { } | 173 virtual void layoutUpdated(LocalFrame*) const { } |
173 | 174 |
174 void mouseDidMoveOverElement(const HitTestResult&); | 175 void mouseDidMoveOverElement(const HitTestResult&); |
175 virtual void setToolTip(const String&, TextDirection) = 0; | 176 virtual void setToolTip(const String&, TextDirection) = 0; |
176 void clearToolTip(); | 177 void clearToolTip(); |
177 | 178 |
178 void print(LocalFrame*); | 179 void print(LocalFrame*); |
179 | 180 |
180 virtual void annotatedRegionsChanged() = 0; | 181 virtual void annotatedRegionsChanged() = 0; |
181 | 182 |
(...skipping 119 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
301 | 302 |
302 LayoutPoint m_lastToolTipPoint; | 303 LayoutPoint m_lastToolTipPoint; |
303 String m_lastToolTipText; | 304 String m_lastToolTipText; |
304 | 305 |
305 FRIEND_TEST_ALL_PREFIXES(ChromeClientTest, SetToolTipFlood); | 306 FRIEND_TEST_ALL_PREFIXES(ChromeClientTest, SetToolTipFlood); |
306 }; | 307 }; |
307 | 308 |
308 } // namespace blink | 309 } // namespace blink |
309 | 310 |
310 #endif // ChromeClient_h | 311 #endif // ChromeClient_h |
OLD | NEW |