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 38 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
49 | 49 |
50 virtual bool canCopyCut(Frame*, bool defaultValue) const = 0; | 50 virtual bool canCopyCut(Frame*, bool defaultValue) const = 0; |
51 virtual bool canPaste(Frame*, bool defaultValue) const = 0; | 51 virtual bool canPaste(Frame*, bool defaultValue) const = 0; |
52 virtual bool canUndo() const = 0; | 52 virtual bool canUndo() const = 0; |
53 virtual bool canRedo() const = 0; | 53 virtual bool canRedo() const = 0; |
54 | 54 |
55 virtual void undo() = 0; | 55 virtual void undo() = 0; |
56 virtual void redo() = 0; | 56 virtual void redo() = 0; |
57 | 57 |
58 virtual void handleKeyboardEvent(KeyboardEvent*) = 0; | 58 virtual void handleKeyboardEvent(KeyboardEvent*) = 0; |
59 | |
60 virtual void textFieldDidEndEditing(Element*) = 0; | |
61 virtual void textDidChangeInTextField(Element*) = 0; | |
62 virtual bool doTextFieldCommandFromEvent(Element*, KeyboardEvent*) = 0; | |
63 }; | 59 }; |
64 | 60 |
65 } | 61 } |
66 | 62 |
67 #endif // EditorClient_h | 63 #endif // EditorClient_h |
OLD | NEW |