| 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 89 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 100 virtual void setToolTip(const String&, TextDirection) = 0; | 100 virtual void setToolTip(const String&, TextDirection) = 0; |
| 101 | 101 |
| 102 // 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. |
| 103 virtual GraphicsLayerFactory* graphicsLayerFactory() const { return 0; } | 103 virtual GraphicsLayerFactory* graphicsLayerFactory() const { return 0; } |
| 104 | 104 |
| 105 // Pass 0 as the GraphicsLayer to detatch the root layer. | 105 // Pass 0 as the GraphicsLayer to detatch the root layer. |
| 106 virtual void attachRootGraphicsLayer(GraphicsLayer*) = 0; | 106 virtual void attachRootGraphicsLayer(GraphicsLayer*) = 0; |
| 107 | 107 |
| 108 virtual void clearCompositedSelectionBounds() { } | 108 virtual void clearCompositedSelectionBounds() { } |
| 109 | 109 |
| 110 virtual void needTouchEvents(bool) = 0; | |
| 111 | |
| 112 virtual void setTouchAction(TouchAction) = 0; | 110 virtual void setTouchAction(TouchAction) = 0; |
| 113 | 111 |
| 114 virtual String acceptLanguages() = 0; | 112 virtual String acceptLanguages() = 0; |
| 115 | 113 |
| 116 enum DialogType { | 114 enum DialogType { |
| 117 AlertDialog = 0, | 115 AlertDialog = 0, |
| 118 ConfirmDialog = 1, | 116 ConfirmDialog = 1, |
| 119 PromptDialog = 2, | 117 PromptDialog = 2, |
| 120 HTMLDialog = 3 | 118 HTMLDialog = 3 |
| 121 }; | 119 }; |
| (...skipping 10 matching lines...) Expand all Loading... |
| 132 virtual void willSetInputMethodState() { } | 130 virtual void willSetInputMethodState() { } |
| 133 virtual void didUpdateTextOfFocusedElementByNonUserInput() { } | 131 virtual void didUpdateTextOfFocusedElementByNonUserInput() { } |
| 134 virtual void showImeIfNeeded() { } | 132 virtual void showImeIfNeeded() { } |
| 135 | 133 |
| 136 protected: | 134 protected: |
| 137 virtual ~ChromeClient() { } | 135 virtual ~ChromeClient() { } |
| 138 }; | 136 }; |
| 139 | 137 |
| 140 } | 138 } |
| 141 #endif // ChromeClient_h | 139 #endif // ChromeClient_h |
| OLD | NEW |