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 130 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
141 // Methods used by HostWindow. | 141 // Methods used by HostWindow. |
142 virtual void invalidateContentsAndRootView(const IntRect&) = 0; | 142 virtual void invalidateContentsAndRootView(const IntRect&) = 0; |
143 virtual void invalidateContentsForSlowScroll(const IntRect&) = 0; | 143 virtual void invalidateContentsForSlowScroll(const IntRect&) = 0; |
144 virtual void scroll(const IntSize&, const IntRect&, const IntRect&) = 0; | 144 virtual void scroll(const IntSize&, const IntRect&, const IntRect&) = 0; |
145 virtual IntRect rootViewToScreen(const IntRect&) const = 0; | 145 virtual IntRect rootViewToScreen(const IntRect&) const = 0; |
146 virtual blink::WebScreenInfo screenInfo() const = 0; | 146 virtual blink::WebScreenInfo screenInfo() const = 0; |
147 virtual void setCursor(const Cursor&) = 0; | 147 virtual void setCursor(const Cursor&) = 0; |
148 virtual void scheduleAnimation() = 0; | 148 virtual void scheduleAnimation() = 0; |
149 // End methods used by HostWindow. | 149 // End methods used by HostWindow. |
150 | 150 |
| 151 virtual bool isCompositorFramePending() const = 0; |
| 152 |
151 virtual void dispatchViewportPropertiesDidChange(const ViewportDescription&)
const { } | 153 virtual void dispatchViewportPropertiesDidChange(const ViewportDescription&)
const { } |
152 | 154 |
153 virtual void contentsSizeChanged(Frame*, const IntSize&) const = 0; | 155 virtual void contentsSizeChanged(Frame*, const IntSize&) const = 0; |
154 virtual void deviceOrPageScaleFactorChanged() const { } | 156 virtual void deviceOrPageScaleFactorChanged() const { } |
155 virtual void layoutUpdated(Frame*) const { } | 157 virtual void layoutUpdated(Frame*) const { } |
156 | 158 |
157 virtual void mouseDidMoveOverElement(const HitTestResult&, unsigned modifier
Flags) = 0; | 159 virtual void mouseDidMoveOverElement(const HitTestResult&, unsigned modifier
Flags) = 0; |
158 | 160 |
159 virtual void setToolTip(const String&, TextDirection) = 0; | 161 virtual void setToolTip(const String&, TextDirection) = 0; |
160 | 162 |
(...skipping 98 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
259 // Input mehtod editor related functions. | 261 // Input mehtod editor related functions. |
260 virtual void didCancelCompositionOnSelectionChange() { } | 262 virtual void didCancelCompositionOnSelectionChange() { } |
261 virtual void willSetInputMethodState() { } | 263 virtual void willSetInputMethodState() { } |
262 | 264 |
263 protected: | 265 protected: |
264 virtual ~ChromeClient() { } | 266 virtual ~ChromeClient() { } |
265 }; | 267 }; |
266 | 268 |
267 } | 269 } |
268 #endif // ChromeClient_h | 270 #endif // ChromeClient_h |
OLD | NEW |