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

Issue 328513004: Introduce use counters for Blink specific editing event usage (Closed)

Created:
6 years, 6 months ago by yosin_UTC9
Modified:
6 years, 6 months ago
CC:
blink-reviews
Base URL:
https://chromium.googlesource.com/chromium/blink.git@master
Visibility:
Public.

Description

Introduce use counters for Blink specific editing event usage This patch introduces Blink specific editing events usage with |addEventListener| for - textInput - webkitBeforeTextInserted - webkitEditableContentChanged We would like to deprecate these Blink specific events and replace them standard one, e.g. beforeinput, or use another way to implement editing functionality if community agreed. The usage data collected from use counter introduced by this patch are important for decision. BUG=382814 TEST=n/a Committed: https://src.chromium.org/viewvc/blink?view=rev&revision=175945

Patch Set 1 #

Total comments: 2

Patch Set 2 : 2014-06-10T06:41:10 #

Total comments: 11

Patch Set 3 : 2014-06-11T11:21:22 #

Unified diffs Side-by-side diffs Delta from patch set Stats (+87 lines, -1 line) Patch
M Source/core/editing/Editor.h View 1 1 chunk +1 line, -0 lines 0 comments Download
M Source/core/editing/Editor.cpp View 1 2 3 chunks +67 lines, -0 lines 0 comments Download
M Source/core/events/EventTarget.cpp View 1 2 chunks +2 lines, -0 lines 0 comments Download
M Source/core/frame/UseCounter.h View 1 2 1 chunk +12 lines, -0 lines 0 comments Download
M Source/core/html/HTMLTextFormControlElement.h View 1 1 chunk +1 line, -0 lines 0 comments Download
M Source/core/html/HTMLTextFormControlElement.cpp View 1 1 chunk +4 lines, -1 line 0 comments Download

Messages

Total messages: 9 (0 generated)
yosin_UTC9
Could you review this patch? Thanks in advance.
6 years, 6 months ago (2014-06-10 08:03:22 UTC) #1
tkent
https://codereview.chromium.org/328513004/diff/1/Source/core/events/EventTarget.cpp File Source/core/events/EventTarget.cpp (right): https://codereview.chromium.org/328513004/diff/1/Source/core/events/EventTarget.cpp#newcode108 Source/core/events/EventTarget.cpp:108: if (eventType == EventTypeNames::textInput) { EventTarget is a generic ...
6 years, 6 months ago (2014-06-10 08:20:00 UTC) #2
yosin_UTC9
PTAL - Move count logic to Editor class - Introduce enclosingTextFormControl(Node*) in addition to enclosingTextFormControl(const ...
6 years, 6 months ago (2014-06-11 00:48:20 UTC) #3
tkent
lgtm https://codereview.chromium.org/328513004/diff/20001/Source/core/editing/Editor.cpp File Source/core/editing/Editor.cpp (right): https://codereview.chromium.org/328513004/diff/20001/Source/core/editing/Editor.cpp#newcode934 Source/core/editing/Editor.cpp:934: if (node->hasTagName(HTMLNames::inputTag)) { You can omit HTMLNames::. Or, ...
6 years, 6 months ago (2014-06-11 01:05:48 UTC) #4
tkent
https://codereview.chromium.org/328513004/diff/20001/Source/core/editing/Editor.cpp File Source/core/editing/Editor.cpp (right): https://codereview.chromium.org/328513004/diff/20001/Source/core/editing/Editor.cpp#newcode934 Source/core/editing/Editor.cpp:934: if (node->hasTagName(HTMLNames::inputTag)) { On 2014/06/11 01:05:48, tkent wrote: > ...
6 years, 6 months ago (2014-06-11 01:06:36 UTC) #5
yosin_UTC9
Thanks for reviewing! Committing... https://codereview.chromium.org/328513004/diff/20001/Source/core/editing/Editor.cpp File Source/core/editing/Editor.cpp (right): https://codereview.chromium.org/328513004/diff/20001/Source/core/editing/Editor.cpp#newcode934 Source/core/editing/Editor.cpp:934: if (node->hasTagName(HTMLNames::inputTag)) { On 2014/06/11 ...
6 years, 6 months ago (2014-06-11 02:23:20 UTC) #6
yosin_UTC9
The CQ bit was checked by yosin@chromium.org
6 years, 6 months ago (2014-06-11 04:18:09 UTC) #7
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/yosin@chromium.org/328513004/40001
6 years, 6 months ago (2014-06-11 04:19:21 UTC) #8
commit-bot: I haz the power
6 years, 6 months ago (2014-06-11 06:17:43 UTC) #9
Message was sent while issue was closed.
Change committed as 175945

Powered by Google App Engine
This is Rietveld 408576698