| 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 290 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 301 const VisibleSelection& mark() const; // Mark, to be used as emacs uses it. | 301 const VisibleSelection& mark() const; // Mark, to be used as emacs uses it. |
| 302 void setMark(const VisibleSelection&); | 302 void setMark(const VisibleSelection&); |
| 303 | 303 |
| 304 void computeAndSetTypingStyle(StylePropertySet* , EditAction = EditActionUns
pecified); | 304 void computeAndSetTypingStyle(StylePropertySet* , EditAction = EditActionUns
pecified); |
| 305 void applyEditingStyleToBodyElement() const; | 305 void applyEditingStyleToBodyElement() const; |
| 306 void applyEditingStyleToElement(Element*) const; | 306 void applyEditingStyleToElement(Element*) const; |
| 307 | 307 |
| 308 IntRect firstRectForRange(Range*) const; | 308 IntRect firstRectForRange(Range*) const; |
| 309 | 309 |
| 310 void respondToChangedSelection(const VisibleSelection& oldSelection, FrameSe
lection::SetSelectionOptions); | 310 void respondToChangedSelection(const VisibleSelection& oldSelection, FrameSe
lection::SetSelectionOptions); |
| 311 void respondToChangedFocusedOrActiveState(bool activeAndFocused); |
| 311 bool shouldChangeSelection(const VisibleSelection& oldSelection, const Visib
leSelection& newSelection, EAffinity, bool stillSelecting) const; | 312 bool shouldChangeSelection(const VisibleSelection& oldSelection, const Visib
leSelection& newSelection, EAffinity, bool stillSelecting) const; |
| 312 | 313 |
| 313 bool markedTextMatchesAreHighlighted() const; | 314 bool markedTextMatchesAreHighlighted() const; |
| 314 void setMarkedTextMatchesAreHighlighted(bool); | 315 void setMarkedTextMatchesAreHighlighted(bool); |
| 315 | 316 |
| 316 void textFieldDidEndEditing(Element*); | 317 void textFieldDidEndEditing(Element*); |
| 317 void textDidChangeInTextField(Element*); | 318 void textDidChangeInTextField(Element*); |
| 318 bool doTextFieldCommandFromEvent(Element*, KeyboardEvent*); | 319 bool doTextFieldCommandFromEvent(Element*, KeyboardEvent*); |
| 319 WritingDirection baseWritingDirectionForSelectionStart() const; | 320 WritingDirection baseWritingDirectionForSelectionStart() const; |
| 320 | 321 |
| (...skipping 67 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 388 | 389 |
| 389 inline bool Editor::markedTextMatchesAreHighlighted() const | 390 inline bool Editor::markedTextMatchesAreHighlighted() const |
| 390 { | 391 { |
| 391 return m_areMarkedTextMatchesHighlighted; | 392 return m_areMarkedTextMatchesHighlighted; |
| 392 } | 393 } |
| 393 | 394 |
| 394 | 395 |
| 395 } // namespace WebCore | 396 } // namespace WebCore |
| 396 | 397 |
| 397 #endif // Editor_h | 398 #endif // Editor_h |
| OLD | NEW |