| 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 332 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 343 void pasteAsPlainTextWithPasteboard(Pasteboard*); | 343 void pasteAsPlainTextWithPasteboard(Pasteboard*); |
| 344 void pasteWithPasteboard(Pasteboard*); | 344 void pasteWithPasteboard(Pasteboard*); |
| 345 void writeSelectionToPasteboard(); | 345 void writeSelectionToPasteboard(); |
| 346 bool dispatchCPPEvent(const AtomicString&, | 346 bool dispatchCPPEvent(const AtomicString&, |
| 347 DataTransferAccessPolicy, | 347 DataTransferAccessPolicy, |
| 348 PasteMode = AllMimeTypes); | 348 PasteMode = AllMimeTypes); |
| 349 | 349 |
| 350 void revealSelectionAfterEditingOperation( | 350 void revealSelectionAfterEditingOperation( |
| 351 const ScrollAlignment& = ScrollAlignment::alignCenterIfNeeded, | 351 const ScrollAlignment& = ScrollAlignment::alignCenterIfNeeded, |
| 352 RevealExtentOption = DoNotRevealExtent); | 352 RevealExtentOption = DoNotRevealExtent); |
| 353 void changeSelectionAfterCommand(const VisibleSelection& newSelection, | 353 void changeSelectionAfterCommand(const SelectionInDOMTree&, |
| 354 FrameSelection::SetSelectionOptions); | 354 FrameSelection::SetSelectionOptions); |
| 355 | 355 |
| 356 SpellChecker& spellChecker() const; | 356 SpellChecker& spellChecker() const; |
| 357 | 357 |
| 358 bool handleEditingKeyboardEvent(KeyboardEvent*); | 358 bool handleEditingKeyboardEvent(KeyboardEvent*); |
| 359 }; | 359 }; |
| 360 | 360 |
| 361 inline void Editor::setStartNewKillRingSequence(bool flag) { | 361 inline void Editor::setStartNewKillRingSequence(bool flag) { |
| 362 m_shouldStartNewKillRingSequence = flag; | 362 m_shouldStartNewKillRingSequence = flag; |
| 363 } | 363 } |
| (...skipping 18 matching lines...) Expand all Loading... |
| 382 m_typingStyle.clear(); | 382 m_typingStyle.clear(); |
| 383 } | 383 } |
| 384 | 384 |
| 385 inline void Editor::setTypingStyle(EditingStyle* style) { | 385 inline void Editor::setTypingStyle(EditingStyle* style) { |
| 386 m_typingStyle = style; | 386 m_typingStyle = style; |
| 387 } | 387 } |
| 388 | 388 |
| 389 } // namespace blink | 389 } // namespace blink |
| 390 | 390 |
| 391 #endif // Editor_h | 391 #endif // Editor_h |
| OLD | NEW |