| Index: third_party/WebKit/Source/core/events/InputEvent.cpp
|
| diff --git a/third_party/WebKit/Source/core/events/InputEvent.cpp b/third_party/WebKit/Source/core/events/InputEvent.cpp
|
| index 56c32b82612ce3892043d2e90963c9bc21c8c07a..83581081d15708d2fb1af366201ee6dd841dc5c3 100644
|
| --- a/third_party/WebKit/Source/core/events/InputEvent.cpp
|
| +++ b/third_party/WebKit/Source/core/events/InputEvent.cpp
|
| @@ -18,7 +18,6 @@ const struct {
|
| } kInputTypeStringNameMap[] = {
|
| {InputEvent::InputType::None, ""},
|
| {InputEvent::InputType::InsertText, "insertText"},
|
| - {InputEvent::InputType::InsertNonText, "insertNonText"},
|
| {InputEvent::InputType::InsertLineBreak, "insertLineBreak"},
|
| {InputEvent::InputType::InsertParagraph, "insertParagraph"},
|
| {InputEvent::InputType::InsertOrderedList, "insertOrderedList"},
|
| @@ -38,30 +37,23 @@ const struct {
|
| {InputEvent::InputType::DeleteContentForward, "deleteContentForward"},
|
| {InputEvent::InputType::DeleteByCut, "deleteByCut"},
|
| {InputEvent::InputType::DeleteByDrag, "deleteByDrag"},
|
| - {InputEvent::InputType::Undo, "undo"},
|
| - {InputEvent::InputType::Redo, "redo"},
|
| - {InputEvent::InputType::Bold, "bold"},
|
| - {InputEvent::InputType::Italic, "italic"},
|
| - {InputEvent::InputType::Underline, "underline"},
|
| - {InputEvent::InputType::StrikeThrough, "strikeThrough"},
|
| - {InputEvent::InputType::Superscript, "superscript"},
|
| - {InputEvent::InputType::Subscript, "subscript"},
|
| - {InputEvent::InputType::JustifyCenter, "justifyCenter"},
|
| - {InputEvent::InputType::JustifyRight, "justifyRight"},
|
| - {InputEvent::InputType::JustifyLeft, "justifyLeft"},
|
| - {InputEvent::InputType::Indent, "indent"},
|
| - {InputEvent::InputType::Outdent, "outdent"},
|
| - {InputEvent::InputType::RemoveFormat, "removeFormat"},
|
| - {InputEvent::InputType::JustifyFull, "justifyFull"},
|
| - {InputEvent::InputType::SetColor, "setColor"},
|
| - {InputEvent::InputType::SetBackgroundColor, "setBackgroundColor"},
|
| - {InputEvent::InputType::SetFont, "setFont"},
|
| - {InputEvent::InputType::ChangeAttributes, "changeAttributes"},
|
| - {InputEvent::InputType::SetWritingDirection, "setWritingDirection"},
|
| - {InputEvent::InputType::Unscript, "unscript"},
|
| - {InputEvent::InputType::CreateLink, "createLink"},
|
| - {InputEvent::InputType::Unlink, "unlink"},
|
| - {InputEvent::InputType::FormatBlock, "formatBlock"},
|
| + {InputEvent::InputType::HistoryUndo, "historyUndo"},
|
| + {InputEvent::InputType::HistoryRedo, "historyRedo"},
|
| + {InputEvent::InputType::FormatBold, "formatBold"},
|
| + {InputEvent::InputType::FormatItalic, "formatItalic"},
|
| + {InputEvent::InputType::FormatUnderline, "formatUnderline"},
|
| + {InputEvent::InputType::FormatStrikeThrough, "formatStrikeThrough"},
|
| + {InputEvent::InputType::FormatSuperscript, "formatSuperscript"},
|
| + {InputEvent::InputType::FormatSubscript, "formatSubscript"},
|
| + {InputEvent::InputType::FormatJustifyCenter, "formatJustifyCenter"},
|
| + {InputEvent::InputType::FormatJustifyFull, "formatJustifyFull"},
|
| + {InputEvent::InputType::FormatJustifyRight, "formatJustifyRight"},
|
| + {InputEvent::InputType::FormatJustifyLeft, "formatJustifyLeft"},
|
| + {InputEvent::InputType::FormatIndent, "formatIndent"},
|
| + {InputEvent::InputType::FormatOutdent, "formatOutdent"},
|
| + {InputEvent::InputType::FormatRemove, "formatRemove"},
|
| + {InputEvent::InputType::FormatSetBlockTextDirection,
|
| + "formatSetBlockTextDirection"},
|
| };
|
|
|
| static_assert(
|
|
|