OLD | NEW |
1 /* | 1 /* |
2 * Copyright (C) 2006, 2007, 2008 Apple Inc. All rights reserved. | 2 * Copyright (C) 2006, 2007, 2008 Apple Inc. All rights reserved. |
3 * | 3 * |
4 * Redistribution and use in source and binary forms, with or without | 4 * Redistribution and use in source and binary forms, with or without |
5 * modification, are permitted provided that the following conditions | 5 * modification, are permitted provided that the following conditions |
6 * are met: | 6 * are met: |
7 * 1. Redistributions of source code must retain the above copyright | 7 * 1. Redistributions of source code must retain the above copyright |
8 * notice, this list of conditions and the following disclaimer. | 8 * notice, this list of conditions and the following disclaimer. |
9 * 2. Redistributions in binary form must reproduce the above copyright | 9 * 2. Redistributions in binary form must reproduce the above copyright |
10 * notice, this list of conditions and the following disclaimer in the | 10 * notice, this list of conditions and the following disclaimer in the |
(...skipping 57 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
68 CompositeEditCommand* lastEditCommand() { return m_lastEditCommand.get(); } | 68 CompositeEditCommand* lastEditCommand() { return m_lastEditCommand.get(); } |
69 | 69 |
70 void handleKeyboardEvent(KeyboardEvent*); | 70 void handleKeyboardEvent(KeyboardEvent*); |
71 bool handleTextEvent(TextEvent*); | 71 bool handleTextEvent(TextEvent*); |
72 | 72 |
73 bool canEdit() const; | 73 bool canEdit() const; |
74 bool canEditRichly() const; | 74 bool canEditRichly() const; |
75 | 75 |
76 bool canDHTMLCut(); | 76 bool canDHTMLCut(); |
77 bool canDHTMLCopy(); | 77 bool canDHTMLCopy(); |
78 bool canDHTMLPaste(); | |
79 | 78 |
80 bool canCut() const; | 79 bool canCut() const; |
81 bool canCopy() const; | 80 bool canCopy() const; |
82 bool canPaste() const; | 81 bool canPaste() const; |
83 bool canDelete() const; | 82 bool canDelete() const; |
84 bool canSmartCopyOrDelete() const; | 83 bool canSmartCopyOrDelete() const; |
85 | 84 |
86 void cut(); | 85 void cut(); |
87 void copy(); | 86 void copy(); |
88 void paste(); | 87 void paste(); |
(...skipping 212 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
301 | 300 |
302 inline bool Editor::markedTextMatchesAreHighlighted() const | 301 inline bool Editor::markedTextMatchesAreHighlighted() const |
303 { | 302 { |
304 return m_areMarkedTextMatchesHighlighted; | 303 return m_areMarkedTextMatchesHighlighted; |
305 } | 304 } |
306 | 305 |
307 | 306 |
308 } // namespace blink | 307 } // namespace blink |
309 | 308 |
310 #endif // Editor_h | 309 #endif // Editor_h |
OLD | NEW |