OpenGrok
Home
Sort by relevance
Sort by last modified time
Full Search
Definition
Symbol
File Path
History
|
|
Help
Searched
refs:smartDelete
(Results
1 - 11
of
11
) sorted by null
/external/chromium_org/third_party/WebKit/Source/core/editing/
MoveSelectionCommand.h
37
static PassRefPtrWillBeRawPtr<MoveSelectionCommand> create(PassRefPtrWillBeRawPtr<DocumentFragment> fragment, const Position& position, bool smartInsert = false, bool
smartDelete
= false)
39
return adoptRefWillBeNoop(new MoveSelectionCommand(fragment, position, smartInsert,
smartDelete
));
45
MoveSelectionCommand(PassRefPtrWillBeRawPtr<DocumentFragment>, const Position&, bool smartInsert, bool
smartDelete
);
DeleteSelectionCommand.h
38
static PassRefPtrWillBeRawPtr<DeleteSelectionCommand> create(Document& document, bool
smartDelete
= false, bool mergeBlocksAfterDelete = true, bool expandForSpecialElements = false, bool sanitizeMarkup = true)
40
return adoptRefWillBeNoop(new DeleteSelectionCommand(document,
smartDelete
, mergeBlocksAfterDelete, expandForSpecialElements, sanitizeMarkup));
42
static PassRefPtrWillBeRawPtr<DeleteSelectionCommand> create(const VisibleSelection& selection, bool
smartDelete
= false, bool mergeBlocksAfterDelete = true, bool expandForSpecialElements = false, bool sanitizeMarkup = true)
44
return adoptRefWillBeNoop(new DeleteSelectionCommand(selection,
smartDelete
, mergeBlocksAfterDelete, expandForSpecialElements, sanitizeMarkup));
50
DeleteSelectionCommand(Document&, bool
smartDelete
, bool mergeBlocksAfterDelete, bool expandForSpecialElements, bool santizeMarkup);
51
DeleteSelectionCommand(const VisibleSelection&, bool
smartDelete
, bool mergeBlocksAfterDelete, bool expandForSpecialElements, bool sanitizeMarkup);
TypingCommand.h
56
SmartDelete
= 1 << 4
77
void deleteSelection(bool
smartDelete
);
93
void setSmartDelete(bool
smartDelete
) { m_smartDelete =
smartDelete
; }
MoveSelectionCommand.cpp
34
MoveSelectionCommand::MoveSelectionCommand(PassRefPtrWillBeRawPtr<DocumentFragment> fragment, const Position& position, bool smartInsert, bool
smartDelete
)
35
: CompositeEditCommand(*position.document()), m_fragment(fragment), m_position(position), m_smartInsert(smartInsert), m_smartDelete(
smartDelete
)
CompositeEditCommand.h
104
void deleteSelection(bool
smartDelete
= false, bool mergeBlocksAfterDelete = true, bool expandForSpecialElements = true, bool sanitizeMarkup = true);
105
void deleteSelection(const VisibleSelection&, bool
smartDelete
= false, bool mergeBlocksAfterDelete = true, bool expandForSpecialElements = true, bool sanitizeMarkup = true);
DeleteSelectionCommand.cpp
68
DeleteSelectionCommand::DeleteSelectionCommand(Document& document, bool
smartDelete
, bool mergeBlocksAfterDelete, bool expandForSpecialElements, bool sanitizeMarkup)
71
, m_smartDelete(
smartDelete
)
85
DeleteSelectionCommand::DeleteSelectionCommand(const VisibleSelection& selection, bool
smartDelete
, bool mergeBlocksAfterDelete, bool expandForSpecialElements, bool sanitizeMarkup)
88
, m_smartDelete(
smartDelete
)
[
all
...]
Editor.h
110
void deleteSelectionWithSmartDelete(bool
smartDelete
);
TypingCommand.cpp
84
, m_smartDelete(options &
SmartDelete
)
105
lastTypingCommand->deleteSelection(options &
SmartDelete
);
603
void TypingCommand::deleteSelection(bool
smartDelete
)
605
CompositeEditCommand::deleteSelection(
smartDelete
);
CompositeEditCommand.cpp
568
void CompositeEditCommand::deleteSelection(bool
smartDelete
, bool mergeBlocksAfterDelete, bool expandForSpecialElements, bool sanitizeMarkup)
571
applyCommandToComposite(DeleteSelectionCommand::create(document(),
smartDelete
, mergeBlocksAfterDelete, expandForSpecialElements, sanitizeMarkup));
574
void CompositeEditCommand::deleteSelection(const VisibleSelection &selection, bool
smartDelete
, bool mergeBlocksAfterDelete, bool expandForSpecialElements, bool sanitizeMarkup)
577
applyCommandToComposite(DeleteSelectionCommand::create(selection,
smartDelete
, mergeBlocksAfterDelete, expandForSpecialElements, sanitizeMarkup));
[
all
...]
Editor.cpp
298
TypingCommand::deleteKeyPressed(*frame().document(), canSmartCopyOrDelete() ? TypingCommand::
SmartDelete
: 0, granularity);
309
options |= TypingCommand::
SmartDelete
;
336
void Editor::deleteSelectionWithSmartDelete(bool
smartDelete
)
342
DeleteSelectionCommand::create(*frame().document(),
smartDelete
)->apply();
[
all
...]
/external/chromium_org/third_party/WebKit/Source/core/page/
DragController.cpp
504
bool
smartDelete
= innerFrame->editor().smartInsertDeleteEnabled();
505
bool smartInsert =
smartDelete
&& innerFrame->selection().granularity() == WordGranularity && dragData->canSmartReplace();
506
MoveSelectionCommand::create(fragment, dragCaret.base(), smartInsert,
smartDelete
)->apply();
[
all
...]
Completed in 252 milliseconds