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 55 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
66 class LocalFrame; | 66 class LocalFrame; |
67 class Node; | 67 class Node; |
68 class Page; | 68 class Page; |
69 class PagePopup; | 69 class PagePopup; |
70 class PagePopupClient; | 70 class PagePopupClient; |
71 class PagePopupDriver; | 71 class PagePopupDriver; |
72 class PopupMenuClient; | 72 class PopupMenuClient; |
73 class SecurityOrigin; | 73 class SecurityOrigin; |
74 class Widget; | 74 class Widget; |
75 | 75 |
| 76 struct CompositedSelectionBound; |
76 struct DateTimeChooserParameters; | 77 struct DateTimeChooserParameters; |
77 struct FrameLoadRequest; | 78 struct FrameLoadRequest; |
78 struct GraphicsDeviceAdapter; | 79 struct GraphicsDeviceAdapter; |
79 struct ViewportDescription; | 80 struct ViewportDescription; |
80 struct WindowFeatures; | 81 struct WindowFeatures; |
81 | 82 |
82 class ChromeClient { | 83 class ChromeClient { |
83 public: | 84 public: |
84 virtual void chromeDestroyed() = 0; | 85 virtual void chromeDestroyed() = 0; |
85 | 86 |
(...skipping 100 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
186 | 187 |
187 // Allows ports to customize the type of graphics layers created by this pag
e. | 188 // Allows ports to customize the type of graphics layers created by this pag
e. |
188 virtual GraphicsLayerFactory* graphicsLayerFactory() const { return 0; } | 189 virtual GraphicsLayerFactory* graphicsLayerFactory() const { return 0; } |
189 | 190 |
190 // Pass 0 as the GraphicsLayer to detatch the root layer. | 191 // Pass 0 as the GraphicsLayer to detatch the root layer. |
191 virtual void attachRootGraphicsLayer(GraphicsLayer*) = 0; | 192 virtual void attachRootGraphicsLayer(GraphicsLayer*) = 0; |
192 | 193 |
193 virtual void enterFullScreenForElement(Element*) { } | 194 virtual void enterFullScreenForElement(Element*) { } |
194 virtual void exitFullScreenForElement(Element*) { } | 195 virtual void exitFullScreenForElement(Element*) { } |
195 | 196 |
| 197 virtual void clearCompositedSelectionBounds() { } |
| 198 virtual void updateCompositedSelectionBounds(const CompositedSelectionBound&
anchor, const CompositedSelectionBound& focus) { } |
| 199 |
196 virtual void needTouchEvents(bool) = 0; | 200 virtual void needTouchEvents(bool) = 0; |
197 | 201 |
198 virtual void setTouchAction(TouchAction) = 0; | 202 virtual void setTouchAction(TouchAction) = 0; |
199 | 203 |
200 // Checks if there is an opened popup, called by RenderMenuList::showPopup()
. | 204 // Checks if there is an opened popup, called by RenderMenuList::showPopup()
. |
201 virtual bool hasOpenedPopup() const = 0; | 205 virtual bool hasOpenedPopup() const = 0; |
202 virtual PassRefPtr<PopupMenu> createPopupMenu(LocalFrame&, PopupMenuClient*)
const = 0; | 206 virtual PassRefPtr<PopupMenu> createPopupMenu(LocalFrame&, PopupMenuClient*)
const = 0; |
203 // For testing. | 207 // For testing. |
204 virtual void setPagePopupDriver(PagePopupDriver*) = 0; | 208 virtual void setPagePopupDriver(PagePopupDriver*) = 0; |
205 virtual void resetPagePopupDriver() = 0; | 209 virtual void resetPagePopupDriver() = 0; |
(...skipping 32 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
238 virtual void willSetInputMethodState() { } | 242 virtual void willSetInputMethodState() { } |
239 virtual void didUpdateTextOfFocusedElementByNonUserInput() { } | 243 virtual void didUpdateTextOfFocusedElementByNonUserInput() { } |
240 virtual void showImeIfNeeded() { } | 244 virtual void showImeIfNeeded() { } |
241 | 245 |
242 protected: | 246 protected: |
243 virtual ~ChromeClient() { } | 247 virtual ~ChromeClient() { } |
244 }; | 248 }; |
245 | 249 |
246 } | 250 } |
247 #endif // ChromeClient_h | 251 #endif // ChromeClient_h |
OLD | NEW |