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 737913002: Dispatch key events to the currently focused window. (Closed)

Created:
6 years, 1 month ago by Elliot Glaysher
Modified:
6 years, 1 month ago
Reviewers:
sky
CC:
mojo-reviews_chromium.org, qsr+mojo_chromium.org, viettrungluu+watch_chromium.org, yzshen+watch_chromium.org, abarth-chromium, Aaron Boodman, darin (slow to review), ben+mojo_chromium.org
Base URL:
https://github.com/domokit/mojo.git@master
Project:
mojo
Visibility:
Public.

Description

Dispatch key events to the currently focused window. This fixes the browser demo. You can now enter text into the URL bar. BUG=431047 R=sky@chromium.org Committed: https://chromium.googlesource.com/external/mojo/+/e28eebf4ea5075e92c0bbc40222ba57850fc613b

Patch Set 1 #

Total comments: 4

Patch Set 2 : Redo FocusController storage so that it is a local property on a view. #

Unified diffs Side-by-side diffs Delta from patch set Stats (+114 lines, -19 lines) Patch
M examples/window_manager/window_manager.cc View 1 1 chunk +2 lines, -3 lines 0 comments Download
M examples/wm_flow/wm/wm.cc View 1 1 chunk +1 line, -2 lines 0 comments Download
M mojo/services/public/cpp/view_manager/lib/view.cc View 1 1 chunk +7 lines, -0 lines 0 comments Download
M mojo/services/public/cpp/view_manager/view.h View 1 1 chunk +1 line, -0 lines 0 comments Download
M mojo/services/window_manager/basic_focus_rules.h View 1 3 chunks +1 line, -4 lines 0 comments Download
M mojo/services/window_manager/basic_focus_rules.cc View 1 1 chunk +3 lines, -5 lines 0 comments Download
M mojo/services/window_manager/focus_controller.h View 1 1 chunk +4 lines, -0 lines 0 comments Download
M mojo/services/window_manager/focus_controller.cc View 1 3 chunks +19 lines, -0 lines 0 comments Download
M mojo/services/window_manager/view_targeter.h View 1 chunk +3 lines, -0 lines 0 comments Download
M mojo/services/window_manager/view_targeter.cc View 1 3 chunks +24 lines, -3 lines 0 comments Download
M mojo/services/window_manager/view_targeter_unittest.cc View 1 2 chunks +44 lines, -0 lines 0 comments Download
M mojo/services/window_manager/window_manager_app.cc View 1 1 chunk +3 lines, -0 lines 0 comments Download
M sky/tools/debugger/debugger.cc View 1 1 chunk +2 lines, -2 lines 0 comments Download

Messages

Total messages: 6 (1 generated)
Elliot Glaysher
6 years, 1 month ago (2014-11-18 22:31:26 UTC) #2
sky
Is it possible to write test coverage? https://codereview.chromium.org/737913002/diff/1/mojo/services/window_manager/view_target.h File mojo/services/window_manager/view_target.h (right): https://codereview.chromium.org/737913002/diff/1/mojo/services/window_manager/view_target.h#newcode52 mojo/services/window_manager/view_target.h:52: void set_focus_controller(FocusController* ...
6 years, 1 month ago (2014-11-18 22:36:38 UTC) #3
Elliot Glaysher
Made some changes to the focus rules so that I could add a unit test ...
6 years, 1 month ago (2014-11-18 23:52:30 UTC) #4
sky
LGTM
6 years, 1 month ago (2014-11-19 03:40:02 UTC) #5
Elliot Glaysher
6 years, 1 month ago (2014-11-19 18:39:28 UTC) #6
Message was sent while issue was closed.
Committed patchset #2 (id:20001) manually as
e28eebf4ea5075e92c0bbc40222ba57850fc613b (presubmit successful).

Powered by Google App Engine
This is Rietveld 408576698