Home
last modified time | relevance | path

Searched refs:EditCommand (Results 1 – 25 of 66) sorted by relevance

123

/external/webkit/Source/WebCore/editing/
DEditCommand.cpp43 EditCommand::EditCommand(Document* document) in EditCommand() function in WebCore::EditCommand
53 EditCommand::~EditCommand() in ~EditCommand()
57 void EditCommand::apply() in apply()
106 void EditCommand::unapply() in unapply()
129 void EditCommand::reapply() in reapply()
152 void EditCommand::doReapply() in doReapply()
157 EditAction EditCommand::editingAction() const in editingAction()
162 void EditCommand::setStartingSelection(const VisibleSelection& s) in setStartingSelection()
165 for (EditCommand* cmd = this; ; cmd = cmd->m_parent) { in setStartingSelection()
173 void EditCommand::setEndingSelection(const VisibleSelection &s) in setEndingSelection()
[all …]
DEditCommand.h37 class EditCommand : public RefCounted<EditCommand> {
39 virtual ~EditCommand();
66 EditCommand(Document*);
87 friend void applyCommand(PassRefPtr<EditCommand>);
90 class SimpleEditCommand : public EditCommand {
92 SimpleEditCommand(Document* document) : EditCommand(document) { } in SimpleEditCommand()
95 void applyCommand(PassRefPtr<EditCommand>);
DCompositeEditCommand.h40 class CompositeEditCommand : public EditCommand {
44 …bool isFirstCommand(EditCommand* command) { return !m_commands.isEmpty() && m_commands.first() == … in isFirstCommand()
53 void applyCommandToComposite(PassRefPtr<EditCommand>);
121 Vector<RefPtr<EditCommand> > m_commands;
DTypingCommand.cpp90 EditCommand* lastEditCommand = frame->editor()->lastEditCommand(); in deleteSelection()
108 EditCommand* lastEditCommand = frame->editor()->lastEditCommand(); in deleteKeyPressed()
128 EditCommand* lastEditCommand = frame->editor()->lastEditCommand(); in forwardDeleteKeyPressed()
191 RefPtr<EditCommand> lastEditCommand = frame->editor()->lastEditCommand(); in insertText()
225 EditCommand* lastEditCommand = frame->editor()->lastEditCommand(); in insertLineBreak()
243 EditCommand* lastEditCommand = frame->editor()->lastEditCommand(); in insertParagraphSeparatorInQuotedContent()
259 EditCommand* lastEditCommand = frame->editor()->lastEditCommand(); in insertParagraphSeparator()
270 bool TypingCommand::isOpenForMoreTypingCommand(const EditCommand* cmd) in isOpenForMoreTypingCommand()
275 void TypingCommand::closeTyping(EditCommand* cmd) in closeTyping()
399 EditCommand* lastCommand = m_commands.last().get(); in insertTextRunWithoutNewlines()
DEditor.h55 class EditCommand; variable
92 EditCommand* lastEditCommand() { return m_lastEditCommand.get(); } in lastEditCommand()
169 void appliedEditing(PassRefPtr<EditCommand>);
170 void unappliedEditing(PassRefPtr<EditCommand>);
171 void reappliedEditing(PassRefPtr<EditCommand>);
392 RefPtr<EditCommand> m_lastEditCommand;
DTypingCommand.h68 static bool isOpenForMoreTypingCommand(const EditCommand*);
69 static void closeTyping(EditCommand*);
/external/chromium/chrome/browser/renderer_host/
Dgtk_key_bindings_handler_unittest.cc23 struct EditCommand { struct in GtkKeyBindingsHandlerTest
75 const EditCommand expected_result[], in TestKeyBinding()
92 static const EditCommand kEditCommands[] = { in TEST_F()
134 static const EditCommand kEditCommands[] = { in TEST_F()
178 static const EditCommand kBackspace[] = { in TEST_F()
184 static const EditCommand kCopyClipboard[] = { in TEST_F()
190 static const EditCommand kCutClipboard[] = { in TEST_F()
196 static const EditCommand kInsertAtCursor[] = { in TEST_F()
202 static const EditCommand kPasteClipboard[] = { in TEST_F()
208 static const EditCommand kSelectAll[] = { in TEST_F()
[all …]
/external/webkit/Source/WebKit/wx/WebKitSupport/
DEditCommandWx.h36 class EditCommand; variable
42 EditCommandWx(WTF::PassRefPtr<WebCore::EditCommand> command) in EditCommandWx()
48 WTF::PassRefPtr<WebCore::EditCommand> editCommand() { return m_editCommand; } in editCommand()
51 WTF::RefPtr<WebCore::EditCommand> m_editCommand;
DEditorClientWx.h80 virtual void registerCommandForUndo(PassRefPtr<EditCommand>);
81 virtual void registerCommandForRedo(PassRefPtr<EditCommand>);
/external/webkit/Source/WebKit2/WebProcess/WebPage/
DWebEditCommand.h37 static PassRefPtr<WebEditCommand> create(PassRefPtr<WebCore::EditCommand>);
39 WebCore::EditCommand* command() const { return m_command.get(); } in command()
43 WebEditCommand(PassRefPtr<WebCore::EditCommand> command, uint64_t commandID) in WebEditCommand()
49 RefPtr<WebCore::EditCommand> m_command;
DWebEditCommand.cpp37 PassRefPtr<WebEditCommand> WebEditCommand::create(PassRefPtr<WebCore::EditCommand> command) in create()
/external/webkit/Source/WebKit/qt/WebCoreSupport/
DEditCommandQt.h34 EditCommandQt(WTF::RefPtr<WebCore::EditCommand> cmd, QUndoCommand *parent = 0);
36 EditCommandQt(WTF::RefPtr<WebCore::EditCommand> cmd);
44 WTF::RefPtr<WebCore::EditCommand> m_cmd;
DEditCommandQt.cpp26 EditCommandQt::EditCommandQt(WTF::RefPtr<EditCommand> cmd, QUndoCommand *parent) in EditCommandQt()
33 EditCommandQt::EditCommandQt(WTF::RefPtr<EditCommand> cmd) in EditCommandQt()
DEditorClientQt.h78 virtual void registerCommandForUndo(PassRefPtr<EditCommand>);
79 virtual void registerCommandForRedo(PassRefPtr<EditCommand>);
/external/webkit/Source/WebKit/gtk/WebCoreSupport/
DEditorClientGtk.h61 WTF::Deque<WTF::RefPtr<WebCore::EditCommand> > undoStack;
62 WTF::Deque<WTF::RefPtr<WebCore::EditCommand> > redoStack;
107 virtual void registerCommandForUndo(WTF::PassRefPtr<WebCore::EditCommand>);
108 virtual void registerCommandForRedo(WTF::PassRefPtr<WebCore::EditCommand>);
/external/chromium/chrome/browser/resources/
Dwrench_menu.js44 var EditCommand = cr.ui.define('div'); variable
46 EditCommand.prototype = { class
87 this.copy_ = new EditCommand();
89 this.paste_ = new EditCommand();
/external/webkit/Source/WebCore/page/
DEditorClient.h61 class EditCommand; variable
107 virtual void registerCommandForUndo(PassRefPtr<EditCommand>) = 0;
108 virtual void registerCommandForRedo(PassRefPtr<EditCommand>) = 0;
/external/webkit/Source/WebKit/chromium/src/
DEditorClientImpl.h79 virtual void registerCommandForUndo(PassRefPtr<WebCore::EditCommand>);
80 virtual void registerCommandForRedo(PassRefPtr<WebCore::EditCommand>);
165 typedef Deque<RefPtr<WebCore::EditCommand> > EditCommandStack;
/external/webkit/Source/WebKit/mac/WebCoreSupport/
DWebEditorClient.h106 virtual void registerCommandForUndo(PassRefPtr<WebCore::EditCommand>);
107 virtual void registerCommandForRedo(PassRefPtr<WebCore::EditCommand>);
149 void registerCommandForUndoOrRedo(PassRefPtr<WebCore::EditCommand>, bool isRedo);
/external/webkit/Source/WebKit/haiku/WebCoreSupport/
DEditorClientHaiku.h78 virtual void registerCommandForUndo(PassRefPtr<EditCommand>);
79 virtual void registerCommandForRedo(PassRefPtr<EditCommand>);
/external/webkit/Source/WebKit/efl/WebCoreSupport/
DEditorClientEfl.h81 virtual void registerCommandForUndo(WTF::PassRefPtr<EditCommand>);
82 virtual void registerCommandForRedo(WTF::PassRefPtr<EditCommand>);
/external/webkit/Source/WebKit/android/WebCoreSupport/
DEditorClientAndroid.h84 virtual void registerCommandForUndo(PassRefPtr<EditCommand>);
85 virtual void registerCommandForRedo(PassRefPtr<EditCommand>);
/external/webkit/Source/WebKit/wince/WebCoreSupport/
DEditorClientWinCE.h68 virtual void registerCommandForUndo(WTF::PassRefPtr<WebCore::EditCommand>);
69 virtual void registerCommandForRedo(WTF::PassRefPtr<WebCore::EditCommand>);
/external/webkit/Source/WebKit/win/WebCoreSupport/
DWebEditorClient.h77 void registerCommandForUndo(PassRefPtr<WebCore::EditCommand>);
78 void registerCommandForRedo(PassRefPtr<WebCore::EditCommand>);
DWebEditorClient.cpp428 WebEditorUndoCommand(PassRefPtr<EditCommand> editCommand, bool isUndo);
438 RefPtr<EditCommand> m_editCommand;
442 WebEditorUndoCommand::WebEditorUndoCommand(PassRefPtr<EditCommand> editCommand, bool isUndo) in WebEditorUndoCommand()
529 void WebEditorClient::registerCommandForUndo(PassRefPtr<EditCommand> command) in registerCommandForUndo()
545 void WebEditorClient::registerCommandForRedo(PassRefPtr<EditCommand> command) in registerCommandForRedo()

123