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

Issue 2036643003: Creat a KeyboardEventManager class (Closed)

Created:
4 years, 6 months ago by Navid Zolghadr
Modified:
4 years, 6 months ago
CC:
chromium-reviews, dtapuska+blinkwatch_chromium.org, aboxhall, nzolghadr+blinkwatch_chromium.org, nektarios, dmazzoni, blink-reviews, je_julie, kinuko+watch
Base URL:
https://chromium.googlesource.com/chromium/src.git@master
Target Ref:
refs/pending/heads/master
Project:
chromium
Visibility:
Public.

Description

Create a KeyboardEventManager class Extract Keyboard related logic and events from EventHandler and put it in a dedicate class. BUG=616836 Committed: https://crrev.com/68da48f3c013555d779a0a0c86634e53dfb65ce4 Cr-Commit-Position: refs/heads/master@{#398678}

Patch Set 1 #

Patch Set 2 : #

Patch Set 3 : #

Total comments: 3

Patch Set 4 : Pass scrollManager in constructor #

Patch Set 5 #

Total comments: 2

Patch Set 6 : Add copyright notice #

Total comments: 2

Patch Set 7 : Removing comment #

Total comments: 2

Patch Set 8 : Move accessKeyModifiers to PlatformKeyboardEvent #

Total comments: 4

Patch Set 9 : Add comments #

Total comments: 2

Patch Set 10 : #

Unified diffs Side-by-side diffs Delta from patch set Stats (+392 lines, -251 lines) Patch
M third_party/WebKit/Source/core/core.gypi View 1 2 3 1 chunk +2 lines, -0 lines 0 comments Download
M third_party/WebKit/Source/core/input/EventHandler.h View 6 chunks +17 lines, -3 lines 0 comments Download
M third_party/WebKit/Source/core/input/EventHandler.cpp View 1 2 3 6 chunks +6 lines, -246 lines 0 comments Download
A third_party/WebKit/Source/core/input/KeyboardEventManager.h View 1 2 3 4 5 6 7 1 chunk +52 lines, -0 lines 0 comments Download
A third_party/WebKit/Source/core/input/KeyboardEventManager.cpp View 1 2 3 4 5 6 7 1 chunk +300 lines, -0 lines 0 comments Download
M third_party/WebKit/Source/platform/PlatformKeyboardEvent.h View 1 2 3 4 5 6 7 8 9 1 chunk +4 lines, -0 lines 0 comments Download
M third_party/WebKit/Source/platform/PlatformKeyboardEvent.cpp View 1 2 3 4 5 6 7 8 1 chunk +10 lines, -0 lines 0 comments Download
M third_party/WebKit/Source/web/WebAXObject.cpp View 1 2 3 4 5 6 7 2 chunks +1 line, -2 lines 0 comments Download

Messages

Total messages: 32 (8 generated)
Navid Zolghadr
4 years, 6 months ago (2016-06-03 19:32:46 UTC) #2
dtapuska
https://codereview.chromium.org/2036643003/diff/40001/third_party/WebKit/Source/core/input/KeyboardEventManager.h File third_party/WebKit/Source/core/input/KeyboardEventManager.h (right): https://codereview.chromium.org/2036643003/diff/40001/third_party/WebKit/Source/core/input/KeyboardEventManager.h#newcode26 third_party/WebKit/Source/core/input/KeyboardEventManager.h:26: explicit KeyboardEventManager(LocalFrame*); Disallow copy? Can't the KeyboardEventManager have a ...
4 years, 6 months ago (2016-06-03 20:13:39 UTC) #3
Navid Zolghadr
https://codereview.chromium.org/2036643003/diff/40001/third_party/WebKit/Source/core/input/KeyboardEventManager.h File third_party/WebKit/Source/core/input/KeyboardEventManager.h (right): https://codereview.chromium.org/2036643003/diff/40001/third_party/WebKit/Source/core/input/KeyboardEventManager.h#newcode26 third_party/WebKit/Source/core/input/KeyboardEventManager.h:26: explicit KeyboardEventManager(LocalFrame*); On 2016/06/03 20:13:39, dtapuska wrote: > Disallow ...
4 years, 6 months ago (2016-06-03 20:18:52 UTC) #4
Navid Zolghadr
4 years, 6 months ago (2016-06-06 18:29:03 UTC) #6
bokan
On 2016/06/03 20:18:52, Navid Zolghadr wrote: > https://codereview.chromium.org/2036643003/diff/40001/third_party/WebKit/Source/core/input/KeyboardEventManager.h > File third_party/WebKit/Source/core/input/KeyboardEventManager.h (right): > > https://codereview.chromium.org/2036643003/diff/40001/third_party/WebKit/Source/core/input/KeyboardEventManager.h#newcode26 ...
4 years, 6 months ago (2016-06-06 18:34:14 UTC) #8
Navid Zolghadr
ptal. https://codereview.chromium.org/2036643003/diff/40001/third_party/WebKit/Source/core/input/KeyboardEventManager.h File third_party/WebKit/Source/core/input/KeyboardEventManager.h (right): https://codereview.chromium.org/2036643003/diff/40001/third_party/WebKit/Source/core/input/KeyboardEventManager.h#newcode26 third_party/WebKit/Source/core/input/KeyboardEventManager.h:26: explicit KeyboardEventManager(LocalFrame*); On 2016/06/03 20:18:51, Navid Zolghadr wrote: ...
4 years, 6 months ago (2016-06-06 20:21:49 UTC) #9
dtapuska
On 2016/06/06 20:21:49, Navid Zolghadr wrote: > ptal. > > https://codereview.chromium.org/2036643003/diff/40001/third_party/WebKit/Source/core/input/KeyboardEventManager.h > File third_party/WebKit/Source/core/input/KeyboardEventManager.h (right): ...
4 years, 6 months ago (2016-06-06 20:43:22 UTC) #10
dtapuska
https://codereview.chromium.org/2036643003/diff/80001/third_party/WebKit/Source/core/input/KeyboardEventManager.cpp File third_party/WebKit/Source/core/input/KeyboardEventManager.cpp (right): https://codereview.chromium.org/2036643003/diff/80001/third_party/WebKit/Source/core/input/KeyboardEventManager.cpp#newcode1 third_party/WebKit/Source/core/input/KeyboardEventManager.cpp:1: #include "KeyboardEventManager.h" Chromium copyright?
4 years, 6 months ago (2016-06-06 20:43:31 UTC) #11
Navid Zolghadr
https://codereview.chromium.org/2036643003/diff/80001/third_party/WebKit/Source/core/input/KeyboardEventManager.cpp File third_party/WebKit/Source/core/input/KeyboardEventManager.cpp (right): https://codereview.chromium.org/2036643003/diff/80001/third_party/WebKit/Source/core/input/KeyboardEventManager.cpp#newcode1 third_party/WebKit/Source/core/input/KeyboardEventManager.cpp:1: #include "KeyboardEventManager.h" On 2016/06/06 20:43:30, dtapuska wrote: > Chromium ...
4 years, 6 months ago (2016-06-06 21:37:50 UTC) #12
dtapuska
On 2016/06/06 21:37:50, Navid Zolghadr wrote: > https://codereview.chromium.org/2036643003/diff/80001/third_party/WebKit/Source/core/input/KeyboardEventManager.cpp > File third_party/WebKit/Source/core/input/KeyboardEventManager.cpp (right): > > https://codereview.chromium.org/2036643003/diff/80001/third_party/WebKit/Source/core/input/KeyboardEventManager.cpp#newcode1 ...
4 years, 6 months ago (2016-06-06 23:12:00 UTC) #13
bokan
Nit: in description s/dedicate/dedicated lgtm https://codereview.chromium.org/2036643003/diff/100001/third_party/WebKit/Source/core/input/KeyboardEventManager.h File third_party/WebKit/Source/core/input/KeyboardEventManager.h (right): https://codereview.chromium.org/2036643003/diff/100001/third_party/WebKit/Source/core/input/KeyboardEventManager.h#newcode48 third_party/WebKit/Source/core/input/KeyboardEventManager.h:48: // cleared in |PointerEventManager::clear()|. ...
4 years, 6 months ago (2016-06-07 13:06:53 UTC) #14
Navid Zolghadr
https://codereview.chromium.org/2036643003/diff/100001/third_party/WebKit/Source/core/input/KeyboardEventManager.h File third_party/WebKit/Source/core/input/KeyboardEventManager.h (right): https://codereview.chromium.org/2036643003/diff/100001/third_party/WebKit/Source/core/input/KeyboardEventManager.h#newcode48 third_party/WebKit/Source/core/input/KeyboardEventManager.h:48: // cleared in |PointerEventManager::clear()|. On 2016/06/07 13:06:52, bokan wrote: ...
4 years, 6 months ago (2016-06-07 14:21:07 UTC) #15
mustaq
LGTM with a nit. https://codereview.chromium.org/2036643003/diff/120001/third_party/WebKit/Source/core/input/KeyboardEventManager.cpp File third_party/WebKit/Source/core/input/KeyboardEventManager.cpp (right): https://codereview.chromium.org/2036643003/diff/120001/third_party/WebKit/Source/core/input/KeyboardEventManager.cpp#newcode50 third_party/WebKit/Source/core/input/KeyboardEventManager.cpp:50: PlatformEvent::Modifiers KeyboardEventManager::accessKeyModifiers() This is not ...
4 years, 6 months ago (2016-06-07 15:28:36 UTC) #16
Navid Zolghadr
Can you guys have another last look? I was not sure if I need to ...
4 years, 6 months ago (2016-06-07 15:59:17 UTC) #17
bokan
On 2016/06/07 15:59:17, Navid Zolghadr wrote: > Can you guys have another last look? I ...
4 years, 6 months ago (2016-06-07 16:01:58 UTC) #18
Navid Zolghadr
rbyers@chromium.org: Please review changes in third_party/WebKit/Source/platform/PlatformKeyboardEvent.h third_party/WebKit/Source/platform/PlatformKeyboardEvent.cpp
4 years, 6 months ago (2016-06-07 16:24:25 UTC) #20
Rick Byers
https://codereview.chromium.org/2036643003/diff/140001/third_party/WebKit/Source/platform/PlatformKeyboardEvent.cpp File third_party/WebKit/Source/platform/PlatformKeyboardEvent.cpp (right): https://codereview.chromium.org/2036643003/diff/140001/third_party/WebKit/Source/platform/PlatformKeyboardEvent.cpp#newcode76 third_party/WebKit/Source/platform/PlatformKeyboardEvent.cpp:76: #if OS(MACOSX) normally we prefer to avoid #ifdefs in ...
4 years, 6 months ago (2016-06-08 17:58:16 UTC) #21
Navid Zolghadr
ptal. https://codereview.chromium.org/2036643003/diff/140001/third_party/WebKit/Source/platform/PlatformKeyboardEvent.cpp File third_party/WebKit/Source/platform/PlatformKeyboardEvent.cpp (right): https://codereview.chromium.org/2036643003/diff/140001/third_party/WebKit/Source/platform/PlatformKeyboardEvent.cpp#newcode76 third_party/WebKit/Source/platform/PlatformKeyboardEvent.cpp:76: #if OS(MACOSX) On 2016/06/08 17:58:16, Rick Byers wrote: ...
4 years, 6 months ago (2016-06-08 18:55:08 UTC) #22
dtapuska
lgtm % comment nit https://codereview.chromium.org/2036643003/diff/160001/third_party/WebKit/Source/platform/PlatformKeyboardEvent.h File third_party/WebKit/Source/platform/PlatformKeyboardEvent.h (right): https://codereview.chromium.org/2036643003/diff/160001/third_party/WebKit/Source/platform/PlatformKeyboardEvent.h#newcode94 third_party/WebKit/Source/platform/PlatformKeyboardEvent.h:94: // See http://www.w3schools.com/tags/att_global_accesskey.asp. Oh no ...
4 years, 6 months ago (2016-06-08 19:11:45 UTC) #23
Navid Zolghadr
https://codereview.chromium.org/2036643003/diff/160001/third_party/WebKit/Source/platform/PlatformKeyboardEvent.h File third_party/WebKit/Source/platform/PlatformKeyboardEvent.h (right): https://codereview.chromium.org/2036643003/diff/160001/third_party/WebKit/Source/platform/PlatformKeyboardEvent.h#newcode94 third_party/WebKit/Source/platform/PlatformKeyboardEvent.h:94: // See http://www.w3schools.com/tags/att_global_accesskey.asp. On 2016/06/08 19:11:44, dtapuska wrote: > ...
4 years, 6 months ago (2016-06-08 19:22:48 UTC) #24
Rick Byers
platform LGTM
4 years, 6 months ago (2016-06-08 20:01:43 UTC) #25
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/2036643003/180001
4 years, 6 months ago (2016-06-08 20:19:01 UTC) #28
commit-bot: I haz the power
Committed patchset #10 (id:180001)
4 years, 6 months ago (2016-06-08 21:18:18 UTC) #30
commit-bot: I haz the power
4 years, 6 months ago (2016-06-08 21:21:21 UTC) #32
Message was sent while issue was closed.
Patchset 10 (id:??) landed as
https://crrev.com/68da48f3c013555d779a0a0c86634e53dfb65ce4
Cr-Commit-Position: refs/heads/master@{#398678}

Powered by Google App Engine
This is Rietveld 408576698