| OLD | NEW |
| 1 /* | 1 /* |
| 2 * Copyright (C) 2006, 2007 Apple Inc. All rights reserved. | 2 * Copyright (C) 2006, 2007 Apple Inc. All rights reserved. |
| 3 * Copyright (C) 2008 Nokia Corporation and/or its subsidiary(-ies) | 3 * Copyright (C) 2008 Nokia Corporation and/or its subsidiary(-ies) |
| 4 * | 4 * |
| 5 * Redistribution and use in source and binary forms, with or without | 5 * Redistribution and use in source and binary forms, with or without |
| 6 * modification, are permitted provided that the following conditions | 6 * modification, are permitted provided that the following conditions |
| 7 * are met: | 7 * are met: |
| 8 * 1. Redistributions of source code must retain the above copyright | 8 * 1. Redistributions of source code must retain the above copyright |
| 9 * notice, this list of conditions and the following disclaimer. | 9 * notice, this list of conditions and the following disclaimer. |
| 10 * 2. Redistributions in binary form must reproduce the above copyright | 10 * 2. Redistributions in binary form must reproduce the above copyright |
| (...skipping 63 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 74 virtual bool canCopyCut(Frame*, bool defaultValue) const = 0; | 74 virtual bool canCopyCut(Frame*, bool defaultValue) const = 0; |
| 75 virtual bool canPaste(Frame*, bool defaultValue) const = 0; | 75 virtual bool canPaste(Frame*, bool defaultValue) const = 0; |
| 76 virtual bool canUndo() const = 0; | 76 virtual bool canUndo() const = 0; |
| 77 virtual bool canRedo() const = 0; | 77 virtual bool canRedo() const = 0; |
| 78 | 78 |
| 79 virtual void undo() = 0; | 79 virtual void undo() = 0; |
| 80 virtual void redo() = 0; | 80 virtual void redo() = 0; |
| 81 | 81 |
| 82 virtual void handleKeyboardEvent(KeyboardEvent*) = 0; | 82 virtual void handleKeyboardEvent(KeyboardEvent*) = 0; |
| 83 | 83 |
| 84 virtual void textFieldDidEndEditing(Element*) = 0; | |
| 85 virtual void textDidChangeInTextField(Element*) = 0; | |
| 86 virtual bool doTextFieldCommandFromEvent(Element*, KeyboardEvent*) = 0; | |
| 87 | |
| 88 virtual TextCheckerClient& textChecker() = 0; | 84 virtual TextCheckerClient& textChecker() = 0; |
| 89 | 85 |
| 90 virtual void updateSpellingUIWithMisspelledWord(const String&) = 0; | 86 virtual void updateSpellingUIWithMisspelledWord(const String&) = 0; |
| 91 virtual void showSpellingUI(bool show) = 0; | 87 virtual void showSpellingUI(bool show) = 0; |
| 92 virtual bool spellingUIIsShowing() = 0; | 88 virtual bool spellingUIIsShowing() = 0; |
| 93 virtual void willSetInputMethodState() = 0; | 89 virtual void willSetInputMethodState() = 0; |
| 94 | 90 |
| 95 // Support for global selections, used on platforms like the X Window System
that treat | 91 // Support for global selections, used on platforms like the X Window System
that treat |
| 96 // selection as a type of clipboard. | 92 // selection as a type of clipboard. |
| 97 virtual bool supportsGlobalSelection() { return false; } | 93 virtual bool supportsGlobalSelection() { return false; } |
| 98 }; | 94 }; |
| 99 | 95 |
| 100 } | 96 } |
| 101 | 97 |
| 102 #endif // EditorClient_h | 98 #endif // EditorClient_h |
| OLD | NEW |