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