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

Unified Diff: third_party/WebKit/Source/core/editing/commands/CompositeEditCommand.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
Index: third_party/WebKit/Source/core/editing/commands/CompositeEditCommand.h
diff --git a/third_party/WebKit/Source/core/editing/commands/CompositeEditCommand.h b/third_party/WebKit/Source/core/editing/commands/CompositeEditCommand.h
index 2f9f88cb64664d52c01f0536ab9e05b3528bc676..4419c21e0586beaa45d16d51f42e2cc19dcc7dd4 100644
--- a/third_party/WebKit/Source/core/editing/commands/CompositeEditCommand.h
+++ b/third_party/WebKit/Source/core/editing/commands/CompositeEditCommand.h
@@ -31,6 +31,7 @@
#include "core/editing/commands/EditCommand.h"
#include "core/editing/commands/EditingState.h"
#include "core/editing/commands/UndoStep.h"
+#include "core/events/InputEvent.h"
#include "wtf/Vector.h"
namespace blink {
@@ -121,6 +122,12 @@ class CORE_EXPORT CompositeEditCommand : public EditCommand {
virtual void setShouldRetainAutocorrectionIndicator(bool);
virtual bool shouldStopCaretBlinking() const { return false; }
+ virtual InputEvent::InputType inputType() const;
+ // |TypingCommand| will return the text of the last |m_commands|.
+ virtual String textDataForInputEvent() const;
+ virtual DataTransfer* dataTransferForInputEvent() const;
+ virtual RangeVector* targetRangesForInputEvent() const;
+
DECLARE_VIRTUAL_TRACE();
protected:

Powered by Google App Engine
This is Rietveld 408576698