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 48 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
59 class LocalFrame; | 59 class LocalFrame; |
60 class Node; | 60 class Node; |
61 class Page; | 61 class Page; |
62 class PagePopup; | 62 class PagePopup; |
63 class PagePopupClient; | 63 class PagePopupClient; |
64 class PagePopupDriver; | 64 class PagePopupDriver; |
65 class PopupMenuClient; | 65 class PopupMenuClient; |
66 class SecurityOrigin; | 66 class SecurityOrigin; |
67 class Widget; | 67 class Widget; |
68 | 68 |
| 69 struct CompositedSelectionBound; |
69 struct DateTimeChooserParameters; | 70 struct DateTimeChooserParameters; |
70 struct FrameLoadRequest; | 71 struct FrameLoadRequest; |
71 struct GraphicsDeviceAdapter; | 72 struct GraphicsDeviceAdapter; |
72 struct ViewportDescription; | 73 struct ViewportDescription; |
73 struct WindowFeatures; | 74 struct WindowFeatures; |
74 | 75 |
75 class ChromeClient { | 76 class ChromeClient { |
76 public: | 77 public: |
77 virtual void chromeDestroyed() = 0; | 78 virtual void chromeDestroyed() = 0; |
78 | 79 |
(...skipping 100 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
179 // Allows ports to customize the type of graphics layers created by this pag
e. | 180 // Allows ports to customize the type of graphics layers created by this pag
e. |
180 virtual GraphicsLayerFactory* graphicsLayerFactory() const { return 0; } | 181 virtual GraphicsLayerFactory* graphicsLayerFactory() const { return 0; } |
181 | 182 |
182 // Pass 0 as the GraphicsLayer to detatch the root layer. | 183 // Pass 0 as the GraphicsLayer to detatch the root layer. |
183 virtual void attachRootGraphicsLayer(GraphicsLayer*) = 0; | 184 virtual void attachRootGraphicsLayer(GraphicsLayer*) = 0; |
184 | 185 |
185 virtual void enterFullScreenForElement(Element*) { } | 186 virtual void enterFullScreenForElement(Element*) { } |
186 virtual void exitFullScreenForElement(Element*) { } | 187 virtual void exitFullScreenForElement(Element*) { } |
187 | 188 |
188 virtual void clearCompositedSelectionBounds() { } | 189 virtual void clearCompositedSelectionBounds() { } |
| 190 virtual void updateCompositedSelectionBounds(const CompositedSelectionBound&
anchor, const CompositedSelectionBound& focus) { } |
189 | 191 |
190 virtual void needTouchEvents(bool) = 0; | 192 virtual void needTouchEvents(bool) = 0; |
191 | 193 |
192 virtual void setTouchAction(TouchAction) = 0; | 194 virtual void setTouchAction(TouchAction) = 0; |
193 | 195 |
194 // Checks if there is an opened popup, called by RenderMenuList::showPopup()
. | 196 // Checks if there is an opened popup, called by RenderMenuList::showPopup()
. |
195 virtual bool hasOpenedPopup() const = 0; | 197 virtual bool hasOpenedPopup() const = 0; |
196 virtual PassRefPtr<PopupMenu> createPopupMenu(LocalFrame&, PopupMenuClient*)
const = 0; | 198 virtual PassRefPtr<PopupMenu> createPopupMenu(LocalFrame&, PopupMenuClient*)
const = 0; |
197 // For testing. | 199 // For testing. |
198 virtual void setPagePopupDriver(PagePopupDriver*) = 0; | 200 virtual void setPagePopupDriver(PagePopupDriver*) = 0; |
(...skipping 33 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
232 virtual void willSetInputMethodState() { } | 234 virtual void willSetInputMethodState() { } |
233 virtual void didUpdateTextOfFocusedElementByNonUserInput() { } | 235 virtual void didUpdateTextOfFocusedElementByNonUserInput() { } |
234 virtual void showImeIfNeeded() { } | 236 virtual void showImeIfNeeded() { } |
235 | 237 |
236 protected: | 238 protected: |
237 virtual ~ChromeClient() { } | 239 virtual ~ChromeClient() { } |
238 }; | 240 }; |
239 | 241 |
240 } | 242 } |
241 #endif // ChromeClient_h | 243 #endif // ChromeClient_h |
OLD | NEW |