Searched refs:smartDelete (Results 1 - 11 of 11) sorted by relevance

/external/chromium_org/third_party/WebKit/Source/core/editing/
H A DMoveSelectionCommand.h37 static PassRefPtr<MoveSelectionCommand> create(PassRefPtr<DocumentFragment> fragment, const Position& position, bool smartInsert = false, bool smartDelete = false)
39 return adoptRef(new MoveSelectionCommand(fragment, position, smartInsert, smartDelete));
43 MoveSelectionCommand(PassRefPtr<DocumentFragment>, const Position&, bool smartInsert, bool smartDelete);
H A DDeleteSelectionCommand.h37 static PassRefPtr<DeleteSelectionCommand> create(Document* document, bool smartDelete = false, bool mergeBlocksAfterDelete = true, bool replace = false, bool expandForSpecialElements = false, bool sanitizeMarkup = true)
39 return adoptRef(new DeleteSelectionCommand(document, smartDelete, mergeBlocksAfterDelete, replace, expandForSpecialElements, sanitizeMarkup));
41 static PassRefPtr<DeleteSelectionCommand> create(const VisibleSelection& selection, bool smartDelete = false, bool mergeBlocksAfterDelete = true, bool replace = false, bool expandForSpecialElements = false, bool sanitizeMarkup = true)
43 return adoptRef(new DeleteSelectionCommand(selection, smartDelete, mergeBlocksAfterDelete, replace, expandForSpecialElements, sanitizeMarkup));
47 DeleteSelectionCommand(Document*, bool smartDelete, bool mergeBlocksAfterDelete, bool replace, bool expandForSpecialElements, bool santizeMarkup);
48 DeleteSelectionCommand(const VisibleSelection&, bool smartDelete, bool mergeBlocksAfterDelete, bool replace, bool expandForSpecialElements, bool sanitizeMarkup);
H A DTypingCommand.h77 void deleteSelection(bool smartDelete);
93 bool smartDelete() const { return m_smartDelete; } function in class:WebCore::TypingCommand
94 void setSmartDelete(bool smartDelete) { m_smartDelete = smartDelete; } argument
H A DMoveSelectionCommand.cpp34 MoveSelectionCommand::MoveSelectionCommand(PassRefPtr<DocumentFragment> fragment, const Position& position, bool smartInsert, bool smartDelete) argument
35 : CompositeEditCommand(position.anchorNode()->document()), m_fragment(fragment), m_position(position), m_smartInsert(smartInsert), m_smartDelete(smartDelete)
H A DCompositeEditCommand.h103 void deleteSelection(bool smartDelete = false, bool mergeBlocksAfterDelete = true, bool replace = false, bool expandForSpecialElements = true, bool sanitizeMarkup = true);
104 void deleteSelection(const VisibleSelection&, bool smartDelete = false, bool mergeBlocksAfterDelete = true, bool replace = false, bool expandForSpecialElements = true, bool sanitizeMarkup = true);
H A DDeleteSelectionCommand.cpp70 DeleteSelectionCommand::DeleteSelectionCommand(Document *document, bool smartDelete, bool mergeBlocksAfterDelete, bool replace, bool expandForSpecialElements, bool sanitizeMarkup) argument
73 , m_smartDelete(smartDelete)
88 DeleteSelectionCommand::DeleteSelectionCommand(const VisibleSelection& selection, bool smartDelete, bool mergeBlocksAfterDelete, bool replace, bool expandForSpecialElements, bool sanitizeMarkup) argument
91 , m_smartDelete(smartDelete)
H A DTypingCommand.cpp598 void TypingCommand::deleteSelection(bool smartDelete) argument
600 CompositeEditCommand::deleteSelection(smartDelete);
H A DEditor.h139 void deleteSelectionWithSmartDelete(bool smartDelete);
H A DCompositeEditCommand.cpp566 void CompositeEditCommand::deleteSelection(bool smartDelete, bool mergeBlocksAfterDelete, bool replace, bool expandForSpecialElements, bool sanitizeMarkup) argument
569 applyCommandToComposite(DeleteSelectionCommand::create(document(), smartDelete, mergeBlocksAfterDelete, replace, expandForSpecialElements, sanitizeMarkup));
572 void CompositeEditCommand::deleteSelection(const VisibleSelection &selection, bool smartDelete, bool mergeBlocksAfterDelete, bool replace, bool expandForSpecialElements, bool sanitizeMarkup) argument
575 applyCommandToComposite(DeleteSelectionCommand::create(selection, smartDelete, mergeBlocksAfterDelete, replace, expandForSpecialElements, sanitizeMarkup));
H A DEditor.cpp338 void Editor::deleteSelectionWithSmartDelete(bool smartDelete) argument
343 applyCommand(DeleteSelectionCommand::create(m_frame->document(), smartDelete));
/external/chromium_org/third_party/WebKit/Source/core/page/
H A DDragController.cpp500 bool smartDelete = innerFrame->editor()->smartInsertDeleteEnabled(); local
501 bool smartInsert = smartDelete && innerFrame->selection()->granularity() == WordGranularity && dragData->canSmartReplace();
502 applyCommand(MoveSelectionCommand::create(fragment, dragCaret.base(), smartInsert, smartDelete));

Completed in 4259 milliseconds