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 403 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
414 OwnPtr<AlternativeTextController> m_alternativeTextController; | 414 OwnPtr<AlternativeTextController> m_alternativeTextController; |
415 VisibleSelection m_mark; | 415 VisibleSelection m_mark; |
416 bool m_areMarkedTextMatchesHighlighted; | 416 bool m_areMarkedTextMatchesHighlighted; |
417 EditorParagraphSeparator m_defaultParagraphSeparator; | 417 EditorParagraphSeparator m_defaultParagraphSeparator; |
418 | 418 |
419 bool canDeleteRange(Range*) const; | 419 bool canDeleteRange(Range*) const; |
420 bool canSmartReplaceWithPasteboard(Pasteboard*); | 420 bool canSmartReplaceWithPasteboard(Pasteboard*); |
421 PassRefPtr<Clipboard> newGeneralClipboard(ClipboardAccessPolicy, Frame*); | 421 PassRefPtr<Clipboard> newGeneralClipboard(ClipboardAccessPolicy, Frame*); |
422 void pasteAsPlainTextWithPasteboard(Pasteboard*); | 422 void pasteAsPlainTextWithPasteboard(Pasteboard*); |
423 void pasteWithPasteboard(Pasteboard*, bool allowPlainText); | 423 void pasteWithPasteboard(Pasteboard*, bool allowPlainText); |
424 void revealSelectionAfterEditingOperation(); | 424 void revealSelectionAfterEditingOperation(const ScrollAlignment& = ScrollAli
gnment::alignCenterIfNeeded); |
425 void markMisspellingsOrBadGrammar(const VisibleSelection&, bool checkSpellin
g, RefPtr<Range>& firstMisspellingRange); | 425 void markMisspellingsOrBadGrammar(const VisibleSelection&, bool checkSpellin
g, RefPtr<Range>& firstMisspellingRange); |
426 TextCheckingTypeMask resolveTextCheckingTypeMask(TextCheckingTypeMask); | 426 TextCheckingTypeMask resolveTextCheckingTypeMask(TextCheckingTypeMask); |
427 | 427 |
428 void selectComposition(); | 428 void selectComposition(); |
429 enum SetCompositionMode { ConfirmComposition, CancelComposition }; | 429 enum SetCompositionMode { ConfirmComposition, CancelComposition }; |
430 void setComposition(const String&, SetCompositionMode); | 430 void setComposition(const String&, SetCompositionMode); |
431 | 431 |
432 PassRefPtr<Range> firstVisibleRange(const String&, FindOptions); | 432 PassRefPtr<Range> firstVisibleRange(const String&, FindOptions); |
433 PassRefPtr<Range> lastVisibleRange(const String&, FindOptions); | 433 PassRefPtr<Range> lastVisibleRange(const String&, FindOptions); |
434 PassRefPtr<Range> nextVisibleRange(Range*, const String&, FindOptions); | 434 PassRefPtr<Range> nextVisibleRange(Range*, const String&, FindOptions); |
(...skipping 22 matching lines...) Expand all Loading... |
457 | 457 |
458 inline bool Editor::markedTextMatchesAreHighlighted() const | 458 inline bool Editor::markedTextMatchesAreHighlighted() const |
459 { | 459 { |
460 return m_areMarkedTextMatchesHighlighted; | 460 return m_areMarkedTextMatchesHighlighted; |
461 } | 461 } |
462 | 462 |
463 | 463 |
464 } // namespace WebCore | 464 } // namespace WebCore |
465 | 465 |
466 #endif // Editor_h | 466 #endif // Editor_h |
OLD | NEW |