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

Unified Diff: third_party/WebKit/Source/core/editing/commands/FormatBlockCommand.h

Issue 2151353002: [InputEvent] Replace |EditAction| with |InputType| (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@inputevent-text-styling
Patch Set: Replaced |EditAction| with |InputType| Created 4 years, 5 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/FormatBlockCommand.h
diff --git a/third_party/WebKit/Source/core/editing/commands/FormatBlockCommand.h b/third_party/WebKit/Source/core/editing/commands/FormatBlockCommand.h
index 0e1a7c14dd99d918769beebd7ff1befcca30b82e..d15798452c57f6fb6163d02cd071fe616362b153 100644
--- a/third_party/WebKit/Source/core/editing/commands/FormatBlockCommand.h
+++ b/third_party/WebKit/Source/core/editing/commands/FormatBlockCommand.h
@@ -30,7 +30,6 @@
#include "core/editing/Position.h"
#include "core/editing/VisiblePosition.h"
#include "core/editing/commands/ApplyBlockElementCommand.h"
-#include "core/editing/commands/EditAction.h"
namespace blink {
@@ -55,7 +54,7 @@ private:
void formatSelection(const VisiblePosition& startOfSelection, const VisiblePosition& endOfSelection, EditingState*) override;
void formatRange(const Position& start, const Position& end, const Position& endOfSelection, HTMLElement*&, EditingState*) override;
- EditAction editingAction() const override { return EditActionFormatBlock; }
+ InputEvent::InputType inputType() const;
bool m_didApply;
};

Powered by Google App Engine
This is Rietveld 408576698