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 126 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
137 virtual void setStatusbarText(const String&) = 0; | 137 virtual void setStatusbarText(const String&) = 0; |
138 virtual bool tabsToLinks() = 0; | 138 virtual bool tabsToLinks() = 0; |
139 | 139 |
140 virtual void* webView() const = 0; | 140 virtual void* webView() const = 0; |
141 | 141 |
142 virtual IntRect windowResizerRect() const = 0; | 142 virtual IntRect windowResizerRect() const = 0; |
143 | 143 |
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() = 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 void dispatchViewportPropertiesDidChange(const ViewportDescription&)
const { } | 154 virtual void dispatchViewportPropertiesDidChange(const ViewportDescription&)
const { } |
155 | 155 |
156 virtual void contentsSizeChanged(LocalFrame*, const IntSize&) const = 0; | 156 virtual void contentsSizeChanged(LocalFrame*, const IntSize&) const = 0; |
157 virtual void deviceOrPageScaleFactorChanged() const { } | 157 virtual void deviceOrPageScaleFactorChanged() const { } |
(...skipping 82 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
240 virtual void showImeIfNeeded() { } | 240 virtual void showImeIfNeeded() { } |
241 | 241 |
242 virtual bool usesGpuRasterization() = 0; | 242 virtual bool usesGpuRasterization() = 0; |
243 | 243 |
244 protected: | 244 protected: |
245 virtual ~ChromeClient() { } | 245 virtual ~ChromeClient() { } |
246 }; | 246 }; |
247 | 247 |
248 } | 248 } |
249 #endif // ChromeClient_h | 249 #endif // ChromeClient_h |
OLD | NEW |