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 69 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
80 | 80 |
81 bool canDHTMLCut(); | 81 bool canDHTMLCut(); |
82 bool canDHTMLCopy(); | 82 bool canDHTMLCopy(); |
83 | 83 |
84 bool canCut() const; | 84 bool canCut() const; |
85 bool canCopy() const; | 85 bool canCopy() const; |
86 bool canPaste() const; | 86 bool canPaste() const; |
87 bool canDelete() const; | 87 bool canDelete() const; |
88 bool canSmartCopyOrDelete() const; | 88 bool canSmartCopyOrDelete() const; |
89 | 89 |
90 void cut(); | 90 void cut(EditorCommandSource); |
91 void copy(); | 91 void copy(); |
92 void paste(); | 92 void paste(EditorCommandSource); |
93 void pasteAsPlainText(); | 93 void pasteAsPlainText(EditorCommandSource); |
94 void performDelete(); | 94 void performDelete(); |
95 | 95 |
96 static void countEvent(ExecutionContext*, const Event*); | 96 static void countEvent(ExecutionContext*, const Event*); |
97 void copyImage(const HitTestResult&); | 97 void copyImage(const HitTestResult&); |
98 | 98 |
99 void transpose(); | 99 void transpose(); |
100 | 100 |
101 void respondToChangedContents(const VisibleSelection& endingSelection); | 101 void respondToChangedContents(const VisibleSelection& endingSelection); |
102 | 102 |
103 bool selectionStartHasStyle(CSSPropertyID, const String& value) const; | 103 bool selectionStartHasStyle(CSSPropertyID, const String& value) const; |
(...skipping 210 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
314 | 314 |
315 inline bool Editor::markedTextMatchesAreHighlighted() const | 315 inline bool Editor::markedTextMatchesAreHighlighted() const |
316 { | 316 { |
317 return m_areMarkedTextMatchesHighlighted; | 317 return m_areMarkedTextMatchesHighlighted; |
318 } | 318 } |
319 | 319 |
320 | 320 |
321 } // namespace blink | 321 } // namespace blink |
322 | 322 |
323 #endif // Editor_h | 323 #endif // Editor_h |
OLD | NEW |