| 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 // Allows ports to customize the type of graphics layers created by this pag
e. | |
| 103 virtual GraphicsLayerFactory* graphicsLayerFactory() const { return 0; } | |
| 104 | |
| 105 // Pass 0 as the GraphicsLayer to detatch the root layer. | |
| 106 virtual void attachRootGraphicsLayer(GraphicsLayer*) = 0; | |
| 107 | |
| 108 virtual void setTouchAction(TouchAction) = 0; | 102 virtual void setTouchAction(TouchAction) = 0; |
| 109 | 103 |
| 110 virtual String acceptLanguages() = 0; | 104 virtual String acceptLanguages() = 0; |
| 111 | 105 |
| 112 enum DialogType { | 106 enum DialogType { |
| 113 AlertDialog = 0, | 107 AlertDialog = 0, |
| 114 ConfirmDialog = 1, | 108 ConfirmDialog = 1, |
| 115 PromptDialog = 2, | 109 PromptDialog = 2, |
| 116 HTMLDialog = 3 | 110 HTMLDialog = 3 |
| 117 }; | 111 }; |
| (...skipping 10 matching lines...) Expand all Loading... |
| 128 virtual void willSetInputMethodState() { } | 122 virtual void willSetInputMethodState() { } |
| 129 virtual void didUpdateTextOfFocusedElementByNonUserInput() { } | 123 virtual void didUpdateTextOfFocusedElementByNonUserInput() { } |
| 130 virtual void showImeIfNeeded() { } | 124 virtual void showImeIfNeeded() { } |
| 131 | 125 |
| 132 protected: | 126 protected: |
| 133 virtual ~ChromeClient() { } | 127 virtual ~ChromeClient() { } |
| 134 }; | 128 }; |
| 135 | 129 |
| 136 } | 130 } |
| 137 #endif // SKY_ENGINE_CORE_PAGE_CHROMECLIENT_H_ | 131 #endif // SKY_ENGINE_CORE_PAGE_CHROMECLIENT_H_ |
| OLD | NEW |