| 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 96 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 107 void respondToChangedContents(const VisibleSelection& endingSelection); | 107 void respondToChangedContents(const VisibleSelection& endingSelection); |
| 108 | 108 |
| 109 bool selectionStartHasStyle(CSSPropertyID, const String& value) const; | 109 bool selectionStartHasStyle(CSSPropertyID, const String& value) const; |
| 110 TriState selectionHasStyle(CSSPropertyID, const String& value) const; | 110 TriState selectionHasStyle(CSSPropertyID, const String& value) const; |
| 111 String selectionStartCSSPropertyValue(CSSPropertyID); | 111 String selectionStartCSSPropertyValue(CSSPropertyID); |
| 112 | 112 |
| 113 TriState selectionUnorderedListState() const; | 113 TriState selectionUnorderedListState() const; |
| 114 TriState selectionOrderedListState() const; | 114 TriState selectionOrderedListState() const; |
| 115 PassRefPtr<Node> insertOrderedList(); | 115 PassRefPtr<Node> insertOrderedList(); |
| 116 PassRefPtr<Node> insertUnorderedList(); | 116 PassRefPtr<Node> insertUnorderedList(); |
| 117 bool canIncreaseSelectionListLevel(); | |
| 118 bool canDecreaseSelectionListLevel(); | |
| 119 PassRefPtr<Node> increaseSelectionListLevel(); | |
| 120 PassRefPtr<Node> increaseSelectionListLevelOrdered(); | |
| 121 PassRefPtr<Node> increaseSelectionListLevelUnordered(); | |
| 122 void decreaseSelectionListLevel(); | |
| 123 | 117 |
| 124 void removeFormattingAndStyle(); | 118 void removeFormattingAndStyle(); |
| 125 | 119 |
| 126 void clearLastEditCommand(); | 120 void clearLastEditCommand(); |
| 127 | 121 |
| 128 bool deleteWithDirection(SelectionDirection, TextGranularity, bool killRing,
bool isTypingAction); | 122 bool deleteWithDirection(SelectionDirection, TextGranularity, bool killRing,
bool isTypingAction); |
| 129 void deleteSelectionWithSmartDelete(bool smartDelete); | 123 void deleteSelectionWithSmartDelete(bool smartDelete); |
| 130 | 124 |
| 131 void applyStyle(StylePropertySet*, EditAction = EditActionUnspecified); | 125 void applyStyle(StylePropertySet*, EditAction = EditActionUnspecified); |
| 132 void applyParagraphStyle(StylePropertySet*, EditAction = EditActionUnspecifi
ed); | 126 void applyParagraphStyle(StylePropertySet*, EditAction = EditActionUnspecifi
ed); |
| (...skipping 165 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 298 | 292 |
| 299 inline bool Editor::markedTextMatchesAreHighlighted() const | 293 inline bool Editor::markedTextMatchesAreHighlighted() const |
| 300 { | 294 { |
| 301 return m_areMarkedTextMatchesHighlighted; | 295 return m_areMarkedTextMatchesHighlighted; |
| 302 } | 296 } |
| 303 | 297 |
| 304 | 298 |
| 305 } // namespace WebCore | 299 } // namespace WebCore |
| 306 | 300 |
| 307 #endif // Editor_h | 301 #endif // Editor_h |
| OLD | NEW |