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 264 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
275 bool tryDHTMLPaste(PasteMode); | 275 bool tryDHTMLPaste(PasteMode); |
276 | 276 |
277 bool canSmartReplaceWithPasteboard(Pasteboard*); | 277 bool canSmartReplaceWithPasteboard(Pasteboard*); |
278 void pasteAsPlainTextWithPasteboard(Pasteboard*); | 278 void pasteAsPlainTextWithPasteboard(Pasteboard*); |
279 void pasteWithPasteboard(Pasteboard*); | 279 void pasteWithPasteboard(Pasteboard*); |
280 void writeSelectionToPasteboard(); | 280 void writeSelectionToPasteboard(); |
281 bool dispatchCPPEvent(const AtomicString&, DataTransferAccessPolicy, PasteMo
de = AllMimeTypes); | 281 bool dispatchCPPEvent(const AtomicString&, DataTransferAccessPolicy, PasteMo
de = AllMimeTypes); |
282 | 282 |
283 void revealSelectionAfterEditingOperation(const ScrollAlignment& = ScrollAli
gnment::alignCenterIfNeeded, RevealExtentOption = DoNotRevealExtent); | 283 void revealSelectionAfterEditingOperation(const ScrollAlignment& = ScrollAli
gnment::alignCenterIfNeeded, RevealExtentOption = DoNotRevealExtent); |
284 void changeSelectionAfterCommand(const VisibleSelection& newSelection, Frame
Selection::SetSelectionOptions); | 284 void changeSelectionAfterCommand(const VisibleSelection& newSelection, Frame
Selection::SetSelectionOptions); |
285 void notifyComponentsOnChangedSelection(const VisibleSelection& oldSelection
); | 285 void notifyComponentsOnChangedSelection(); |
286 | 286 |
287 Element* findEventTargetFromSelection() const; | 287 Element* findEventTargetFromSelection() const; |
288 | 288 |
289 SpellChecker& spellChecker() const; | 289 SpellChecker& spellChecker() const; |
290 | 290 |
291 bool handleEditingKeyboardEvent(KeyboardEvent*); | 291 bool handleEditingKeyboardEvent(KeyboardEvent*); |
292 void requestSpellcheckingAfterApplyingCommand(CompositeEditCommand*); | 292 void requestSpellcheckingAfterApplyingCommand(CompositeEditCommand*); |
293 }; | 293 }; |
294 | 294 |
295 inline void Editor::setStartNewKillRingSequence(bool flag) | 295 inline void Editor::setStartNewKillRingSequence(bool flag) |
(...skipping 13 matching lines...) Expand all Loading... |
309 | 309 |
310 inline bool Editor::markedTextMatchesAreHighlighted() const | 310 inline bool Editor::markedTextMatchesAreHighlighted() const |
311 { | 311 { |
312 return m_areMarkedTextMatchesHighlighted; | 312 return m_areMarkedTextMatchesHighlighted; |
313 } | 313 } |
314 | 314 |
315 | 315 |
316 } // namespace blink | 316 } // namespace blink |
317 | 317 |
318 #endif // Editor_h | 318 #endif // Editor_h |
OLD | NEW |