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 92 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
103 virtual void handleKeyboardEvent(KeyboardEvent*) = 0; | 103 virtual void handleKeyboardEvent(KeyboardEvent*) = 0; |
104 virtual void handleInputMethodKeydown(KeyboardEvent*) = 0; | 104 virtual void handleInputMethodKeydown(KeyboardEvent*) = 0; |
105 | 105 |
106 virtual void textFieldDidBeginEditing(Element*) = 0; | 106 virtual void textFieldDidBeginEditing(Element*) = 0; |
107 virtual void textFieldDidEndEditing(Element*) = 0; | 107 virtual void textFieldDidEndEditing(Element*) = 0; |
108 virtual void textDidChangeInTextField(Element*) = 0; | 108 virtual void textDidChangeInTextField(Element*) = 0; |
109 virtual bool doTextFieldCommandFromEvent(Element*, KeyboardEvent*) = 0; | 109 virtual bool doTextFieldCommandFromEvent(Element*, KeyboardEvent*) = 0; |
110 virtual void textWillBeDeletedInTextField(Element*) = 0; | 110 virtual void textWillBeDeletedInTextField(Element*) = 0; |
111 virtual void textDidChangeInTextArea(Element*) = 0; | 111 virtual void textDidChangeInTextArea(Element*) = 0; |
112 | 112 |
113 #if USE(APPKIT) | |
114 virtual void uppercaseWord() = 0; | |
115 virtual void lowercaseWord() = 0; | |
116 virtual void capitalizeWord() = 0; | |
117 #endif | |
118 | |
119 #if USE(AUTOMATIC_TEXT_REPLACEMENT) | 113 #if USE(AUTOMATIC_TEXT_REPLACEMENT) |
120 virtual void showSubstitutionsPanel(bool show) = 0; | 114 virtual void showSubstitutionsPanel(bool show) = 0; |
121 virtual bool substitutionsPanelIsShowing() = 0; | 115 virtual bool substitutionsPanelIsShowing() = 0; |
122 virtual void toggleSmartInsertDelete() = 0; | 116 virtual void toggleSmartInsertDelete() = 0; |
123 virtual bool isAutomaticQuoteSubstitutionEnabled() = 0; | 117 virtual bool isAutomaticQuoteSubstitutionEnabled() = 0; |
124 virtual void toggleAutomaticQuoteSubstitution() = 0; | 118 virtual void toggleAutomaticQuoteSubstitution() = 0; |
125 virtual bool isAutomaticLinkDetectionEnabled() = 0; | 119 virtual bool isAutomaticLinkDetectionEnabled() = 0; |
126 virtual void toggleAutomaticLinkDetection() = 0; | 120 virtual void toggleAutomaticLinkDetection() = 0; |
127 virtual bool isAutomaticDashSubstitutionEnabled() = 0; | 121 virtual bool isAutomaticDashSubstitutionEnabled() = 0; |
128 virtual void toggleAutomaticDashSubstitution() = 0; | 122 virtual void toggleAutomaticDashSubstitution() = 0; |
(...skipping 13 matching lines...) Expand all Loading... |
142 virtual void setInputMethodState(bool enabled) = 0; | 136 virtual void setInputMethodState(bool enabled) = 0; |
143 | 137 |
144 // Support for global selections, used on platforms like the X Window System
that treat | 138 // Support for global selections, used on platforms like the X Window System
that treat |
145 // selection as a type of clipboard. | 139 // selection as a type of clipboard. |
146 virtual bool supportsGlobalSelection() { return false; } | 140 virtual bool supportsGlobalSelection() { return false; } |
147 }; | 141 }; |
148 | 142 |
149 } | 143 } |
150 | 144 |
151 #endif // EditorClient_h | 145 #endif // EditorClient_h |
OLD | NEW |