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 14 matching lines...) Expand all Loading... | |
25 #include "core/accessibility/AXObjectCache.h" | 25 #include "core/accessibility/AXObjectCache.h" |
26 #include "core/inspector/ConsoleAPITypes.h" | 26 #include "core/inspector/ConsoleAPITypes.h" |
27 #include "core/loader/FrameLoader.h" | 27 #include "core/loader/FrameLoader.h" |
28 #include "core/loader/NavigationPolicy.h" | 28 #include "core/loader/NavigationPolicy.h" |
29 #include "core/frame/ConsoleTypes.h" | 29 #include "core/frame/ConsoleTypes.h" |
30 #include "core/page/FocusDirection.h" | 30 #include "core/page/FocusDirection.h" |
31 #include "core/platform/Cursor.h" | 31 #include "core/platform/Cursor.h" |
32 #include "core/platform/PopupMenuClient.h" | 32 #include "core/platform/PopupMenuClient.h" |
33 #include "core/platform/graphics/GraphicsContext.h" | 33 #include "core/platform/graphics/GraphicsContext.h" |
34 #include "core/rendering/RenderEmbeddedObject.h" | 34 #include "core/rendering/RenderEmbeddedObject.h" |
35 #include "core/rendering/style/RenderStyleConstants.h" | |
35 #include "modules/webdatabase/DatabaseDetails.h" | 36 #include "modules/webdatabase/DatabaseDetails.h" |
36 #include "platform/HostWindow.h" | 37 #include "platform/HostWindow.h" |
37 #include "platform/PopupMenu.h" | 38 #include "platform/PopupMenu.h" |
38 #include "platform/scroll/ScrollTypes.h" | 39 #include "platform/scroll/ScrollTypes.h" |
39 #include "wtf/Forward.h" | 40 #include "wtf/Forward.h" |
40 #include "wtf/PassOwnPtr.h" | 41 #include "wtf/PassOwnPtr.h" |
41 #include "wtf/UnusedParam.h" | 42 #include "wtf/UnusedParam.h" |
42 #include "wtf/Vector.h" | 43 #include "wtf/Vector.h" |
43 | 44 |
44 | 45 |
(...skipping 169 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
214 typedef unsigned CompositingTriggerFlags; | 215 typedef unsigned CompositingTriggerFlags; |
215 | 216 |
216 // Returns a bitfield indicating conditions that can trigger the compositor. | 217 // Returns a bitfield indicating conditions that can trigger the compositor. |
217 virtual CompositingTriggerFlags allowedCompositingTriggers() const { return static_cast<CompositingTriggerFlags>(AllTriggers); } | 218 virtual CompositingTriggerFlags allowedCompositingTriggers() const { return static_cast<CompositingTriggerFlags>(AllTriggers); } |
218 | 219 |
219 virtual void enterFullScreenForElement(Element*) { } | 220 virtual void enterFullScreenForElement(Element*) { } |
220 virtual void exitFullScreenForElement(Element*) { } | 221 virtual void exitFullScreenForElement(Element*) { } |
221 | 222 |
222 virtual void needTouchEvents(bool) = 0; | 223 virtual void needTouchEvents(bool) = 0; |
223 | 224 |
225 virtual void setTouchAction(TouchAction touchActions) = 0; | |
esprehn
2013/11/21 16:26:29
Ditto
Rick Byers
2013/11/21 22:09:29
Done.
| |
226 | |
224 // Checks if there is an opened popup, called by RenderMenuList::showPopup() . | 227 // Checks if there is an opened popup, called by RenderMenuList::showPopup() . |
225 virtual bool hasOpenedPopup() const = 0; | 228 virtual bool hasOpenedPopup() const = 0; |
226 virtual PassRefPtr<PopupMenu> createPopupMenu(Frame&, PopupMenuClient*) cons t = 0; | 229 virtual PassRefPtr<PopupMenu> createPopupMenu(Frame&, PopupMenuClient*) cons t = 0; |
227 // Creates a PagePopup object, and shows it beside originBoundsInRootView. | 230 // Creates a PagePopup object, and shows it beside originBoundsInRootView. |
228 // The return value can be 0. | 231 // The return value can be 0. |
229 virtual PagePopup* openPagePopup(PagePopupClient*, const IntRect& originBoun dsInRootView) = 0; | 232 virtual PagePopup* openPagePopup(PagePopupClient*, const IntRect& originBoun dsInRootView) = 0; |
230 virtual void closePagePopup(PagePopup*) = 0; | 233 virtual void closePagePopup(PagePopup*) = 0; |
231 // For testing. | 234 // For testing. |
232 virtual void setPagePopupDriver(PagePopupDriver*) = 0; | 235 virtual void setPagePopupDriver(PagePopupDriver*) = 0; |
233 virtual void resetPagePopupDriver() = 0; | 236 virtual void resetPagePopupDriver() = 0; |
(...skipping 44 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
278 | 281 |
279 // Notifies the client a popup was closed. | 282 // Notifies the client a popup was closed. |
280 virtual void popupClosed(PopupContainer* popupContainer) = 0; | 283 virtual void popupClosed(PopupContainer* popupContainer) = 0; |
281 | 284 |
282 protected: | 285 protected: |
283 virtual ~ChromeClient() { } | 286 virtual ~ChromeClient() { } |
284 }; | 287 }; |
285 | 288 |
286 } | 289 } |
287 #endif // ChromeClient_h | 290 #endif // ChromeClient_h |
OLD | NEW |