Searched defs:TypingCommand (Results 1 - 2 of 2) sorted by relevance

/external/chromium_org/third_party/WebKit/Source/core/editing/
H A DTypingCommand.cpp27 #include "core/editing/TypingCommand.h"
52 TypingCommandLineOperation(TypingCommand* typingCommand, bool selectInsertedText, const String& text)
71 TypingCommand* m_typingCommand;
76 TypingCommand::TypingCommand(Document& document, ETypingCommand commandType, const String &textToInsert, Options options, TextGranularity granularity, TextCompositionType compositionType) function in class:WebCore::TypingCommand
93 void TypingCommand::deleteSelection(Document& document, Options options)
101 if (RefPtr<TypingCommand> lastTypingCommand = lastTypingCommandIfStillOpenForTyping(frame)) {
107 TypingCommand::create(document, DeleteSelection, "", options)->apply();
110 void TypingCommand::deleteKeyPressed(Document& document, Options options, TextGranularity granularity)
114 if (RefPtr<TypingCommand> lastTypingComman
[all...]
H A DTypingCommand.h33 class TypingCommand : public TextInsertionBaseCommand { class in namespace:WebCore
81 static PassRefPtr<TypingCommand> create(Document& document, ETypingCommand command, const String& text = "", Options options = 0, TextGranularity granularity = CharacterGranularity)
83 return adoptRef(new TypingCommand(document, command, text, options, granularity, TextCompositionNone));
86 static PassRefPtr<TypingCommand> create(Document& document, ETypingCommand command, const String& text, Options options, TextCompositionType compositionType)
88 return adoptRef(new TypingCommand(document, command, text, options, CharacterGranularity, compositionType));
91 TypingCommand(Document&, ETypingCommand, const String& text, Options, TextGranularity, TextCompositionType);
98 static PassRefPtr<TypingCommand> lastTypingCommandIfStillOpenForTyping(Frame*);
113 static void updateSelectionIfDifferentFromCurrentSelection(TypingCommand*, Frame*);

Completed in 1482 milliseconds