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 43 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
54 class GraphicsLayerFactory; | 54 class GraphicsLayerFactory; |
55 class HitTestResult; | 55 class HitTestResult; |
56 class HTMLFormControlElement; | 56 class HTMLFormControlElement; |
57 class HTMLInputElement; | 57 class HTMLInputElement; |
58 class IntRect; | 58 class IntRect; |
59 class LocalFrame; | 59 class LocalFrame; |
60 class Node; | 60 class Node; |
61 class Page; | 61 class Page; |
62 class PagePopupDriver; | 62 class PagePopupDriver; |
63 class PopupMenuClient; | 63 class PopupMenuClient; |
| 64 class WebCompositorAnimationTimeline; |
64 | 65 |
65 struct CompositedSelectionBound; | 66 struct CompositedSelectionBound; |
66 struct DateTimeChooserParameters; | 67 struct DateTimeChooserParameters; |
67 struct FrameLoadRequest; | 68 struct FrameLoadRequest; |
68 struct GraphicsDeviceAdapter; | 69 struct GraphicsDeviceAdapter; |
69 struct ViewportDescription; | 70 struct ViewportDescription; |
70 struct WindowFeatures; | 71 struct WindowFeatures; |
71 | 72 |
72 class ChromeClient { | 73 class ChromeClient { |
73 public: | 74 public: |
(...skipping 99 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
173 virtual void enumerateChosenDirectory(FileChooser*) = 0; | 174 virtual void enumerateChosenDirectory(FileChooser*) = 0; |
174 | 175 |
175 // Allows ports to customize the type of graphics layers created by this pag
e. | 176 // Allows ports to customize the type of graphics layers created by this pag
e. |
176 virtual GraphicsLayerFactory* graphicsLayerFactory() const { return nullptr;
} | 177 virtual GraphicsLayerFactory* graphicsLayerFactory() const { return nullptr;
} |
177 | 178 |
178 // Pass 0 as the GraphicsLayer to detach the root layer. | 179 // Pass 0 as the GraphicsLayer to detach the root layer. |
179 // This sets the graphics layer for the LocalFrame's WebWidget, if it has on
e. Otherwise | 180 // This sets the graphics layer for the LocalFrame's WebWidget, if it has on
e. Otherwise |
180 // it sets it for the WebViewImpl. | 181 // it sets it for the WebViewImpl. |
181 virtual void attachRootGraphicsLayer(GraphicsLayer*, LocalFrame* localRoot)
= 0; | 182 virtual void attachRootGraphicsLayer(GraphicsLayer*, LocalFrame* localRoot)
= 0; |
182 | 183 |
| 184 virtual void attachCompositorAnimationTimeline(WebCompositorAnimationTimelin
e*, LocalFrame* localRoot) { } |
| 185 virtual void detachCompositorAnimationTimeline(WebCompositorAnimationTimelin
e*, LocalFrame* localRoot) { } |
| 186 |
183 virtual void enterFullScreenForElement(Element*) { } | 187 virtual void enterFullScreenForElement(Element*) { } |
184 virtual void exitFullScreenForElement(Element*) { } | 188 virtual void exitFullScreenForElement(Element*) { } |
185 | 189 |
186 virtual void clearCompositedSelectionBounds() { } | 190 virtual void clearCompositedSelectionBounds() { } |
187 virtual void updateCompositedSelectionBounds(const CompositedSelectionBound&
anchor, const CompositedSelectionBound& focus) { } | 191 virtual void updateCompositedSelectionBounds(const CompositedSelectionBound&
anchor, const CompositedSelectionBound& focus) { } |
188 | 192 |
189 virtual void needTouchEvents(bool) = 0; | 193 virtual void needTouchEvents(bool) = 0; |
190 | 194 |
191 virtual void setTouchAction(TouchAction) = 0; | 195 virtual void setTouchAction(TouchAction) = 0; |
192 | 196 |
(...skipping 41 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
234 | 238 |
235 virtual void didUpdateTopControls() const { } | 239 virtual void didUpdateTopControls() const { } |
236 | 240 |
237 protected: | 241 protected: |
238 virtual ~ChromeClient() { } | 242 virtual ~ChromeClient() { } |
239 }; | 243 }; |
240 | 244 |
241 } // namespace blink | 245 } // namespace blink |
242 | 246 |
243 #endif // ChromeClient_h | 247 #endif // ChromeClient_h |
OLD | NEW |