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 115 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
126 virtual void setStatusbarText(const String&) = 0; | 126 virtual void setStatusbarText(const String&) = 0; |
127 virtual bool tabsToLinks() = 0; | 127 virtual bool tabsToLinks() = 0; |
128 | 128 |
129 virtual void* webView() const = 0; | 129 virtual void* webView() const = 0; |
130 | 130 |
131 virtual IntRect windowResizerRect() const = 0; | 131 virtual IntRect windowResizerRect() const = 0; |
132 | 132 |
133 // Methods used by HostWindow. | 133 // Methods used by HostWindow. |
134 virtual void invalidateRect(const IntRect&) = 0; | 134 virtual void invalidateRect(const IntRect&) = 0; |
135 virtual IntRect viewportToScreen(const IntRect&) const = 0; | 135 virtual IntRect viewportToScreen(const IntRect&) const = 0; |
136 virtual blink::WebScreenInfo screenInfo() const = 0; | 136 virtual WebScreenInfo screenInfo() const = 0; |
137 virtual void setCursor(const Cursor&) = 0; | 137 virtual void setCursor(const Cursor&) = 0; |
138 virtual void scheduleAnimation() = 0; | 138 virtual void scheduleAnimation() = 0; |
139 // End methods used by HostWindow. | 139 // End methods used by HostWindow. |
140 | 140 |
141 virtual void scheduleAnimationForFrame(LocalFrame*) { } | 141 virtual void scheduleAnimationForFrame(LocalFrame*) { } |
142 | 142 |
143 virtual void dispatchViewportPropertiesDidChange(const ViewportDescription&)
const { } | 143 virtual void dispatchViewportPropertiesDidChange(const ViewportDescription&)
const { } |
144 | 144 |
145 virtual void contentsSizeChanged(LocalFrame*, const IntSize&) const = 0; | 145 virtual void contentsSizeChanged(LocalFrame*, const IntSize&) const = 0; |
146 virtual void pageScaleFactorChanged() const { } | 146 virtual void pageScaleFactorChanged() const { } |
(...skipping 90 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
237 | 237 |
238 virtual void didUpdateTopControls() const { } | 238 virtual void didUpdateTopControls() const { } |
239 | 239 |
240 protected: | 240 protected: |
241 virtual ~ChromeClient() { } | 241 virtual ~ChromeClient() { } |
242 }; | 242 }; |
243 | 243 |
244 } // namespace blink | 244 } // namespace blink |
245 | 245 |
246 #endif // ChromeClient_h | 246 #endif // ChromeClient_h |
OLD | NEW |