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

Issue 2141133003: [InputEvent] Fire 'beforeinput'/'input' for 6 text styling actions (Closed)

Created:
4 years, 5 months ago by chongz
Modified:
4 years, 5 months ago
Reviewers:
bokan, yosin_UTC9
CC:
blink-reviews, chromium-reviews
Base URL:
https://chromium.googlesource.com/chromium/src.git@master
Target Ref:
refs/pending/heads/master
Project:
chromium
Visibility:
Public.

Description

[InputEvent] Fire 'beforeinput'/'input' for 6 text styling actions This CL adds support for the following text styling actions: 1. Bold 2. Italic 3. Underline 4. StrikeThrough 5. Superscript 6. Subscript 'beforeinput' and 'input' events will be fired on context menu actions and hotkeys such as Ctrl+b or Ctrl+i. (Note: 4,5,6 may not have associated hotkeys currently, but they might be fired from context menu.) Additionally, 'input' events will also be fired on |execCommand()| for backward compatibility. BUG=585875 Committed: https://crrev.com/518d3acaa508b210560d95ff5b4d8834801d7e60 Cr-Commit-Position: refs/heads/master@{#405824}

Patch Set 1 #

Total comments: 3
Unified diffs Side-by-side diffs Delta from patch set Stats (+64 lines, -8 lines) Patch
M third_party/WebKit/LayoutTests/fast/events/inputevents/inputevent-execcommand.html View 1 chunk +13 lines, -4 lines 0 comments Download
M third_party/WebKit/Source/core/editing/Editor.cpp View 1 chunk +17 lines, -2 lines 0 comments Download
M third_party/WebKit/Source/core/editing/commands/EditAction.h View 1 chunk +1 line, -0 lines 0 comments Download
M third_party/WebKit/Source/core/editing/commands/EditorCommand.cpp View 3 chunks +17 lines, -2 lines 3 comments Download
M third_party/WebKit/Source/core/events/InputEvent.h View 1 chunk +10 lines, -0 lines 0 comments Download
M third_party/WebKit/Source/core/events/InputEvent.cpp View 1 chunk +6 lines, -0 lines 0 comments Download

Messages

Total messages: 21 (11 generated)
chongz
yosin@ PTAL at this text styling InputEvents CL, thanks! https://codereview.chromium.org/2141133003/diff/1/third_party/WebKit/Source/core/editing/commands/EditorCommand.cpp File third_party/WebKit/Source/core/editing/commands/EditorCommand.cpp (right): https://codereview.chromium.org/2141133003/diff/1/third_party/WebKit/Source/core/editing/commands/EditorCommand.cpp#newcode206 third_party/WebKit/Source/core/editing/commands/EditorCommand.cpp:206: ...
4 years, 5 months ago (2016-07-13 07:24:39 UTC) #5
yosin_UTC9
lgtm https://codereview.chromium.org/2141133003/diff/1/third_party/WebKit/Source/core/editing/commands/EditorCommand.cpp File third_party/WebKit/Source/core/editing/commands/EditorCommand.cpp (right): https://codereview.chromium.org/2141133003/diff/1/third_party/WebKit/Source/core/editing/commands/EditorCommand.cpp#newcode1197 third_party/WebKit/Source/core/editing/commands/EditorCommand.cpp:1197: return executeToggleStyleInList(frame, source, EditActionStrikeThrough, CSSPropertyWebkitTextDecorationsInEffect, lineThrough); On 2016/07/13 ...
4 years, 5 months ago (2016-07-13 08:10:42 UTC) #6
chongz
ojan@ PTAL, thanks!
4 years, 5 months ago (2016-07-13 18:06:54 UTC) #8
chongz
bokan@ can you take a look at "core/events/InputEvent.h/cpp" please? Thanks! (The original owner ojan@ seems ...
4 years, 5 months ago (2016-07-14 20:54:00 UTC) #10
bokan
InputEvent.cpp/h lgtm
4 years, 5 months ago (2016-07-15 14:20:47 UTC) #11
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/v2/patch-status/codereview.chromium.org/2141133003/1
4 years, 5 months ago (2016-07-15 15:48:31 UTC) #13
commit-bot: I haz the power
Try jobs failed on following builders: linux_android_rel_ng on master.tryserver.chromium.android (JOB_FAILED, https://build.chromium.org/p/tryserver.chromium.android/builders/linux_android_rel_ng/builds/104867)
4 years, 5 months ago (2016-07-15 16:55:57 UTC) #15
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/v2/patch-status/codereview.chromium.org/2141133003/1
4 years, 5 months ago (2016-07-15 18:49:31 UTC) #17
commit-bot: I haz the power
Committed patchset #1 (id:1)
4 years, 5 months ago (2016-07-15 19:35:47 UTC) #19
commit-bot: I haz the power
4 years, 5 months ago (2016-07-15 19:38:29 UTC) #21
Message was sent while issue was closed.
Patchset 1 (id:??) landed as
https://crrev.com/518d3acaa508b210560d95ff5b4d8834801d7e60
Cr-Commit-Position: refs/heads/master@{#405824}

Powered by Google App Engine
This is Rietveld 408576698