| 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 81 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 92 virtual void setCursor(const Cursor&) = 0; | 92 virtual void setCursor(const Cursor&) = 0; |
| 93 virtual void scheduleAnimation() = 0; | 93 virtual void scheduleAnimation() = 0; |
| 94 // End methods used by HostWindow. | 94 // End methods used by HostWindow. |
| 95 | 95 |
| 96 virtual void layoutUpdated(LocalFrame*) const { } | 96 virtual void layoutUpdated(LocalFrame*) const { } |
| 97 | 97 |
| 98 virtual void mouseDidMoveOverElement(const HitTestResult&, unsigned modifier
Flags) = 0; | 98 virtual void mouseDidMoveOverElement(const HitTestResult&, unsigned modifier
Flags) = 0; |
| 99 | 99 |
| 100 virtual void setToolTip(const String&, TextDirection) = 0; | 100 virtual void setToolTip(const String&, TextDirection) = 0; |
| 101 | 101 |
| 102 virtual bool paintCustomOverhangArea(GraphicsContext*, const IntRect&, const
IntRect&, const IntRect&) = 0; | |
| 103 | |
| 104 // Allows ports to customize the type of graphics layers created by this pag
e. | 102 // Allows ports to customize the type of graphics layers created by this pag
e. |
| 105 virtual GraphicsLayerFactory* graphicsLayerFactory() const { return 0; } | 103 virtual GraphicsLayerFactory* graphicsLayerFactory() const { return 0; } |
| 106 | 104 |
| 107 // Pass 0 as the GraphicsLayer to detatch the root layer. | 105 // Pass 0 as the GraphicsLayer to detatch the root layer. |
| 108 virtual void attachRootGraphicsLayer(GraphicsLayer*) = 0; | 106 virtual void attachRootGraphicsLayer(GraphicsLayer*) = 0; |
| 109 | 107 |
| 110 virtual void clearCompositedSelectionBounds() { } | 108 virtual void clearCompositedSelectionBounds() { } |
| 111 | 109 |
| 112 virtual void needTouchEvents(bool) = 0; | 110 virtual void needTouchEvents(bool) = 0; |
| 113 | 111 |
| (...skipping 20 matching lines...) Expand all Loading... |
| 134 virtual void willSetInputMethodState() { } | 132 virtual void willSetInputMethodState() { } |
| 135 virtual void didUpdateTextOfFocusedElementByNonUserInput() { } | 133 virtual void didUpdateTextOfFocusedElementByNonUserInput() { } |
| 136 virtual void showImeIfNeeded() { } | 134 virtual void showImeIfNeeded() { } |
| 137 | 135 |
| 138 protected: | 136 protected: |
| 139 virtual ~ChromeClient() { } | 137 virtual ~ChromeClient() { } |
| 140 }; | 138 }; |
| 141 | 139 |
| 142 } | 140 } |
| 143 #endif // ChromeClient_h | 141 #endif // ChromeClient_h |
| OLD | NEW |