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 72 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
83 bool canSmartCopyOrDelete() const; | 83 bool canSmartCopyOrDelete() const; |
84 | 84 |
85 void cut(); | 85 void cut(); |
86 void copy(); | 86 void copy(); |
87 void paste(); | 87 void paste(); |
88 void pasteAsPlainText(); | 88 void pasteAsPlainText(); |
89 void performDelete(); | 89 void performDelete(); |
90 | 90 |
91 static void countEvent(ExecutionContext*, const Event*); | 91 static void countEvent(ExecutionContext*, const Event*); |
92 void copyImage(const HitTestResult&); | 92 void copyImage(const HitTestResult&); |
| 93 void reloadImage(const HitTestResult&, bool bypassCache); |
93 | 94 |
94 void transpose(); | 95 void transpose(); |
95 | 96 |
96 bool shouldDeleteRange(Range*) const; | 97 bool shouldDeleteRange(Range*) const; |
97 | 98 |
98 void respondToChangedContents(const VisibleSelection& endingSelection); | 99 void respondToChangedContents(const VisibleSelection& endingSelection); |
99 | 100 |
100 bool selectionStartHasStyle(CSSPropertyID, const String& value) const; | 101 bool selectionStartHasStyle(CSSPropertyID, const String& value) const; |
101 TriState selectionHasStyle(CSSPropertyID, const String& value) const; | 102 TriState selectionHasStyle(CSSPropertyID, const String& value) const; |
102 String selectionStartCSSPropertyValue(CSSPropertyID); | 103 String selectionStartCSSPropertyValue(CSSPropertyID); |
(...skipping 197 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
300 | 301 |
301 inline bool Editor::markedTextMatchesAreHighlighted() const | 302 inline bool Editor::markedTextMatchesAreHighlighted() const |
302 { | 303 { |
303 return m_areMarkedTextMatchesHighlighted; | 304 return m_areMarkedTextMatchesHighlighted; |
304 } | 305 } |
305 | 306 |
306 | 307 |
307 } // namespace blink | 308 } // namespace blink |
308 | 309 |
309 #endif // Editor_h | 310 #endif // Editor_h |
OLD | NEW |