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 virtual void* webView() const = 0; | 141 virtual void* webView() const = 0; |
142 | 142 |
143 virtual IntRect windowResizerRect() const = 0; | 143 virtual IntRect windowResizerRect() const = 0; |
144 | 144 |
145 // Methods used by HostWindow. | 145 // Methods used by HostWindow. |
146 virtual void invalidateContentsAndRootView(const IntRect&) = 0; | 146 virtual void invalidateContentsAndRootView(const IntRect&) = 0; |
147 virtual void invalidateContentsForSlowScroll(const IntRect&) = 0; | 147 virtual void invalidateContentsForSlowScroll(const IntRect&) = 0; |
148 virtual void scroll(const IntSize&, const IntRect&, const IntRect&) = 0; | 148 virtual void scroll(const IntSize&, const IntRect&, const IntRect&) = 0; |
149 virtual IntPoint screenToRootView(const IntPoint&) const = 0; | 149 virtual IntPoint screenToRootView(const IntPoint&) const = 0; |
150 virtual IntRect rootViewToScreen(const IntRect&) const = 0; | 150 virtual IntRect rootViewToScreen(const IntRect&) const = 0; |
151 virtual WebKit::WebScreenInfo screenInfo() const = 0; | 151 virtual blink::WebScreenInfo screenInfo() const = 0; |
152 virtual void setCursor(const Cursor&) = 0; | 152 virtual void setCursor(const Cursor&) = 0; |
153 virtual void scheduleAnimation() = 0; | 153 virtual void scheduleAnimation() = 0; |
154 // End methods used by HostWindow. | 154 // End methods used by HostWindow. |
155 | 155 |
156 virtual void dispatchViewportPropertiesDidChange(const ViewportDescription&)
const { } | 156 virtual void dispatchViewportPropertiesDidChange(const ViewportDescription&)
const { } |
157 | 157 |
158 virtual void contentsSizeChanged(Frame*, const IntSize&) const = 0; | 158 virtual void contentsSizeChanged(Frame*, const IntSize&) const = 0; |
159 virtual void deviceOrPageScaleFactorChanged() const { } | 159 virtual void deviceOrPageScaleFactorChanged() const { } |
160 virtual void layoutUpdated(Frame*) const { } | 160 virtual void layoutUpdated(Frame*) const { } |
161 | 161 |
(...skipping 109 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
271 | 271 |
272 // Notifies the client a popup was closed. | 272 // Notifies the client a popup was closed. |
273 virtual void popupClosed(PopupContainer* popupContainer) = 0; | 273 virtual void popupClosed(PopupContainer* popupContainer) = 0; |
274 | 274 |
275 protected: | 275 protected: |
276 virtual ~ChromeClient() { } | 276 virtual ~ChromeClient() { } |
277 }; | 277 }; |
278 | 278 |
279 } | 279 } |
280 #endif // ChromeClient_h | 280 #endif // ChromeClient_h |
OLD | NEW |