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