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

Issue 13957005: Move KeyIdentifier->KeyEvent conversion to src/ui/. (Closed)

Created:
7 years, 8 months ago by bryeung
Modified:
7 years, 8 months ago
CC:
chromium-reviews, Aaron Boodman, chromium-apps-reviews_chromium.org
Visibility:
Public.

Description

Move KeyIdentifier->KeyEvent conversion to src/ui/. This shouldn't depend on anything in src/chrome and will be useful to use from src/ui/keyboard. BUG=none Committed: https://src.chromium.org/viewvc/chrome?view=rev&revision=194416

Patch Set 1 #

Total comments: 10

Patch Set 2 : review comments #

Patch Set 3 : gyp fix #

Unified diffs Side-by-side diffs Delta from patch set Stats (+43 lines, -491 lines) Patch
M chrome/browser/extensions/api/input/input.cc View 1 2 chunks +5 lines, -2 lines 0 comments Download
D chrome/browser/extensions/key_identifier_conversion_views.h View 1 chunk +0 lines, -22 lines 0 comments Download
D chrome/browser/extensions/key_identifier_conversion_views.cc View 1 chunk +0 lines, -344 lines 0 comments Download
D chrome/browser/extensions/key_identifier_conversion_views_unittest.cc View 1 chunk +0 lines, -76 lines 0 comments Download
M chrome/chrome_browser_extensions.gypi View 1 chunk +0 lines, -2 lines 0 comments Download
M chrome/chrome_tests_unit.gypi View 2 chunks +0 lines, -2 lines 0 comments Download
M ui/base/events/event.h View 1 2 1 chunk +1 line, -1 line 0 comments Download
A + ui/base/events/key_identifier_conversion.h View 1 1 chunk +10 lines, -7 lines 0 comments Download
A + ui/base/events/key_identifier_conversion.cc View 1 5 chunks +13 lines, -14 lines 0 comments Download
A + ui/base/events/key_identifier_conversion_unittest.cc View 4 chunks +8 lines, -21 lines 0 comments Download
M ui/ui.gyp View 1 2 2 chunks +4 lines, -0 lines 0 comments Download
M ui/ui_unittests.gypi View 2 chunks +2 lines, -0 lines 0 comments Download

Messages

Total messages: 7 (0 generated)
bryeung
https://codereview.chromium.org/13957005/diff/1/ui/base/events/key_identifier_conversion.cc File ui/base/events/key_identifier_conversion.cc (right): https://codereview.chromium.org/13957005/diff/1/ui/base/events/key_identifier_conversion.cc#newcode328 ui/base/events/key_identifier_conversion.cc:328: // FIXME: what about races? Sadrul: do you know ...
7 years, 8 months ago (2013-04-14 15:40:16 UTC) #1
sadrul
https://codereview.chromium.org/13957005/diff/1/ui/base/events/key_identifier_conversion.cc File ui/base/events/key_identifier_conversion.cc (right): https://codereview.chromium.org/13957005/diff/1/ui/base/events/key_identifier_conversion.cc#newcode17 ui/base/events/key_identifier_conversion.cc:17: static const int kNumIdentifierTypes = 3; We typically don't ...
7 years, 8 months ago (2013-04-15 02:05:12 UTC) #2
bryeung
Thanks Sadrul: ptal. https://codereview.chromium.org/13957005/diff/1/ui/base/events/key_identifier_conversion.cc File ui/base/events/key_identifier_conversion.cc (right): https://codereview.chromium.org/13957005/diff/1/ui/base/events/key_identifier_conversion.cc#newcode17 ui/base/events/key_identifier_conversion.cc:17: static const int kNumIdentifierTypes = 3; ...
7 years, 8 months ago (2013-04-15 15:34:13 UTC) #3
sadrul
ui/base/events/ LGTM https://codereview.chromium.org/13957005/diff/1/ui/base/events/key_identifier_conversion.h File ui/base/events/key_identifier_conversion.h (right): https://codereview.chromium.org/13957005/diff/1/ui/base/events/key_identifier_conversion.h#newcode20 ui/base/events/key_identifier_conversion.h:20: UI_EXPORT const ui::KeyEvent& KeyEventFromKeyIdentifier( On 2013/04/15 15:34:13, ...
7 years, 8 months ago (2013-04-15 16:53:28 UTC) #4
bryeung
Thanks Sadrul! +ben: can you look for OWNERS please?
7 years, 8 months ago (2013-04-15 17:43:40 UTC) #5
Ben Goodger (Google)
lgtm
7 years, 8 months ago (2013-04-16 16:32:35 UTC) #6
bryeung
7 years, 8 months ago (2013-04-16 19:34:35 UTC) #7
Message was sent while issue was closed.
Committed patchset #3 manually as r194416 (presubmit successful).

Powered by Google App Engine
This is Rietveld 408576698