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 133 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
144 // Methods used by HostWindow. | 144 // Methods used by HostWindow. |
145 virtual void invalidateContentsAndRootView(const IntRect&) = 0; | 145 virtual void invalidateContentsAndRootView(const IntRect&) = 0; |
146 virtual void invalidateContentsForSlowScroll(const IntRect&) = 0; | 146 virtual void invalidateContentsForSlowScroll(const IntRect&) = 0; |
147 virtual void scroll(const IntSize&, const IntRect&, const IntRect&) = 0; | 147 virtual void scroll(const IntSize&, const IntRect&, const IntRect&) = 0; |
148 virtual IntRect rootViewToScreen(const IntRect&) const = 0; | 148 virtual IntRect rootViewToScreen(const IntRect&) const = 0; |
149 virtual blink::WebScreenInfo screenInfo() const = 0; | 149 virtual blink::WebScreenInfo screenInfo() const = 0; |
150 virtual void setCursor(const Cursor&) = 0; | 150 virtual void setCursor(const Cursor&) = 0; |
151 virtual void scheduleAnimation() = 0; | 151 virtual void scheduleAnimation() = 0; |
152 // End methods used by HostWindow. | 152 // End methods used by HostWindow. |
153 | 153 |
154 virtual bool isCompositorFramePending() const = 0; | |
155 | |
156 virtual void dispatchViewportPropertiesDidChange(const ViewportDescription&)
const { } | 154 virtual void dispatchViewportPropertiesDidChange(const ViewportDescription&)
const { } |
157 | 155 |
158 virtual void contentsSizeChanged(LocalFrame*, const IntSize&) const = 0; | 156 virtual void contentsSizeChanged(LocalFrame*, const IntSize&) const = 0; |
159 virtual void deviceOrPageScaleFactorChanged() const { } | 157 virtual void deviceOrPageScaleFactorChanged() const { } |
160 virtual void layoutUpdated(LocalFrame*) const { } | 158 virtual void layoutUpdated(LocalFrame*) const { } |
161 | 159 |
162 virtual void mouseDidMoveOverElement(const HitTestResult&, unsigned modifier
Flags) = 0; | 160 virtual void mouseDidMoveOverElement(const HitTestResult&, unsigned modifier
Flags) = 0; |
163 | 161 |
164 virtual void setToolTip(const String&, TextDirection) = 0; | 162 virtual void setToolTip(const String&, TextDirection) = 0; |
165 | 163 |
(...skipping 80 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
246 virtual void didCancelCompositionOnSelectionChange() { } | 244 virtual void didCancelCompositionOnSelectionChange() { } |
247 virtual void willSetInputMethodState() { } | 245 virtual void willSetInputMethodState() { } |
248 virtual void didUpdateTextOfFocusedElementByNonUserInput() { } | 246 virtual void didUpdateTextOfFocusedElementByNonUserInput() { } |
249 | 247 |
250 protected: | 248 protected: |
251 virtual ~ChromeClient() { } | 249 virtual ~ChromeClient() { } |
252 }; | 250 }; |
253 | 251 |
254 } | 252 } |
255 #endif // ChromeClient_h | 253 #endif // ChromeClient_h |
OLD | NEW |