Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(102)

Unified Diff: third_party/WebKit/Source/core/editing/Editor.cpp

Issue 2617753002: [InputEvent] Move attributes from |EditCommand| to |CompositeEditCommand| (2/11) (Closed)
Patch Set: Created 3 years, 11 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
Index: third_party/WebKit/Source/core/editing/Editor.cpp
diff --git a/third_party/WebKit/Source/core/editing/Editor.cpp b/third_party/WebKit/Source/core/editing/Editor.cpp
index 2954891283900e17fad5cad4257946cc1f26294c..511c81e0a1cf9e21c54d837e6a961d3188f4eec5 100644
--- a/third_party/WebKit/Source/core/editing/Editor.cpp
+++ b/third_party/WebKit/Source/core/editing/Editor.cpp
@@ -125,15 +125,6 @@ void dispatchInputEventEditableContentChanged(
dispatchInputEvent(endRoot, inputType, data, isComposing);
}
-InputEvent::EventIsComposing isComposingFromCommand(
- const CompositeEditCommand* command) {
- if (command->isTypingCommand() &&
- toTypingCommand(command)->compositionType() !=
- TypingCommand::TextCompositionNone)
- return InputEvent::EventIsComposing::IsComposing;
- return InputEvent::EventIsComposing::NotComposing;
-}
-
} // anonymous namespace
Editor::RevealSelectionScope::RevealSelectionScope(Editor* editor)

Powered by Google App Engine
This is Rietveld 408576698