| 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 79 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 90 bool canPaste() const; | 90 bool canPaste() const; |
| 91 bool canDelete() const; | 91 bool canDelete() const; |
| 92 bool canSmartCopyOrDelete() const; | 92 bool canSmartCopyOrDelete() const; |
| 93 | 93 |
| 94 void cut(); | 94 void cut(); |
| 95 void copy(); | 95 void copy(); |
| 96 void paste(); | 96 void paste(); |
| 97 void pasteAsPlainText(); | 97 void pasteAsPlainText(); |
| 98 void performDelete(); | 98 void performDelete(); |
| 99 | 99 |
| 100 static void countEvent(ExecutionContext*, const Event*); |
| 100 void copyImage(const HitTestResult&); | 101 void copyImage(const HitTestResult&); |
| 101 | 102 |
| 102 void indent(); | 103 void indent(); |
| 103 void outdent(); | 104 void outdent(); |
| 104 void transpose(); | 105 void transpose(); |
| 105 | 106 |
| 106 bool shouldDeleteRange(Range*) const; | 107 bool shouldDeleteRange(Range*) const; |
| 107 | 108 |
| 108 void respondToChangedContents(const VisibleSelection& endingSelection); | 109 void respondToChangedContents(const VisibleSelection& endingSelection); |
| 109 | 110 |
| (...skipping 184 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 294 | 295 |
| 295 inline bool Editor::markedTextMatchesAreHighlighted() const | 296 inline bool Editor::markedTextMatchesAreHighlighted() const |
| 296 { | 297 { |
| 297 return m_areMarkedTextMatchesHighlighted; | 298 return m_areMarkedTextMatchesHighlighted; |
| 298 } | 299 } |
| 299 | 300 |
| 300 | 301 |
| 301 } // namespace WebCore | 302 } // namespace WebCore |
| 302 | 303 |
| 303 #endif // Editor_h | 304 #endif // Editor_h |
| OLD | NEW |