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

Unified Diff: third_party/WebKit/Source/core/editing/EditingUtilities.h

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
« no previous file with comments | « no previous file | third_party/WebKit/Source/core/editing/EditingUtilities.cpp » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: third_party/WebKit/Source/core/editing/EditingUtilities.h
diff --git a/third_party/WebKit/Source/core/editing/EditingUtilities.h b/third_party/WebKit/Source/core/editing/EditingUtilities.h
index 0b334ec53ffe6695c93391388a89bec3ff590747..cc83fb609ec6479173149750eb91518d0a86910e 100644
--- a/third_party/WebKit/Source/core/editing/EditingUtilities.h
+++ b/third_party/WebKit/Source/core/editing/EditingUtilities.h
@@ -58,6 +58,7 @@ enum class DeleteDirection {
Backward,
};
+class CompositeEditCommand;
class Document;
class Element;
class HTMLElement;
@@ -433,6 +434,13 @@ DispatchEventResult dispatchBeforeInputDataTransfer(EventTarget*,
InputEvent::InputType deletionInputTypeFromTextGranularity(DeleteDirection,
TextGranularity);
+// TODO(chongz): Move |isComposingFromCommand()| to 'CompositeEditCommand.cpp'
+// after we've moved |Editor::appliedEditing()| to
+// |CompositeEditCommand::appliedEditing()|.
+// https://crbug.com/676001
+InputEvent::EventIsComposing isComposingFromCommand(
+ const CompositeEditCommand*);
+
} // namespace blink
#endif
« no previous file with comments | « no previous file | third_party/WebKit/Source/core/editing/EditingUtilities.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698