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

Issue 2549903002: mash: Reverse the responsibilities of the NewWindowClient. (Closed)

Created:
4 years ago by Elliot Glaysher
Modified:
4 years ago
CC:
chromium-reviews, sadrul, qsr+mojo_chromium.org, viettrungluu+watch_chromium.org, michaelpg+watch-md-settings_chromium.org, nektar+watch_chromium.org, hidehiko+watch_chromium.org, yzshen+watch_chromium.org, lhchavez+watch_chromium.org, dmazzoni+watch_chromium.org, yusukes+watch_chromium.org, aboxhall+watch_chromium.org, abarth-chromium, nona+watch_chromium.org, je_julie, kalyank, dbeam+watch-options_chromium.org, yuzo+watch_chromium.org, oshima+watch_chromium.org, dbeam+watch-settings_chromium.org, elijahtaylor+arcwatch_chromium.org, michaelpg+watch-options_chromium.org, tfarina, shuchen+watch_chromium.org, Aaron Boodman, dtseng+watch_chromium.org, darin (slow to review), stevenjb+watch-md-settings_chromium.org, davemoore+watch_chromium.org
Target Ref:
refs/pending/heads/master
Project:
chromium
Visibility:
Public.

Description

mash: Reverse the responsibilities of the NewWindowClient. ash now has a NewWindowController which chrome connects to and hands a NewWindowClient, instead of ash connecting to chrome to access its NewWindowClient. BUG=670805 TBR=elijahtaylor@chromium.org Committed: https://crrev.com/609759b085649f1aa62bb211bba6ad0255f3ce1d Cr-Commit-Position: refs/heads/master@{#437011}

Patch Set 1 #

Patch Set 2 : Make StickyKeysBrowserTest how it was before last patch + RunAllPendingInMessageLoop. #

Total comments: 10

Patch Set 3 : jamescook comments #

Unified diffs Side-by-side diffs Delta from patch set Stats (+206 lines, -308 lines) Patch
M ash/BUILD.gn View 1 1 chunk +2 lines, -2 lines 0 comments Download
M ash/common/accelerators/accelerator_controller.cc View 1 2 8 chunks +11 lines, -11 lines 0 comments Download
M ash/common/mojo_interface_factory.cc View 1 2 3 chunks +9 lines, -0 lines 0 comments Download
D ash/common/new_window_client_proxy.h View 1 chunk +0 lines, -50 lines 0 comments Download
D ash/common/new_window_client_proxy.cc View 1 chunk +0 lines, -81 lines 0 comments Download
A ash/common/new_window_controller.h View 1 chunk +50 lines, -0 lines 0 comments Download
A ash/common/new_window_controller.cc View 1 2 1 chunk +70 lines, -0 lines 0 comments Download
M ash/common/test/BUILD.gn View 1 chunk +0 lines, -2 lines 0 comments Download
D ash/common/test/test_new_window_client.h View 1 chunk +0 lines, -36 lines 0 comments Download
D ash/common/test/test_new_window_client.cc View 1 chunk +0 lines, -31 lines 0 comments Download
M ash/common/test/wm_shell_test_api.h View 2 chunks +0 lines, -6 lines 0 comments Download
M ash/common/test/wm_shell_test_api.cc View 1 chunk +0 lines, -5 lines 0 comments Download
M ash/common/wm_shell.h View 1 4 chunks +4 lines, -7 lines 0 comments Download
M ash/common/wm_shell.cc View 1 2 chunks +2 lines, -3 lines 0 comments Download
M ash/display/display_util.cc View 2 chunks +2 lines, -2 lines 0 comments Download
M ash/mus/manifest.json View 1 2 1 chunk +1 line, -0 lines 0 comments Download
M ash/mus/test/wm_test_helper.cc View 1 2 chunks +0 lines, -2 lines 0 comments Download
M ash/public/interfaces/new_window.mojom View 1 chunk +7 lines, -2 lines 0 comments Download
M ash/test/ash_test_helper.cc View 2 chunks +0 lines, -3 lines 0 comments Download
M chrome/browser/chrome_content_browser_manifest_overlay.json View 1 2 1 chunk +1 line, -1 line 0 comments Download
M chrome/browser/chromeos/accessibility/sticky_keys_browsertest.cc View 1 4 chunks +8 lines, -36 lines 0 comments Download
M chrome/browser/chromeos/chrome_interface_factory.cc View 1 2 5 chunks +0 lines, -13 lines 0 comments Download
M chrome/browser/ui/ash/chrome_new_window_client.h View 2 chunks +6 lines, -0 lines 0 comments Download
M chrome/browser/ui/ash/chrome_new_window_client.cc View 1 2 3 chunks +16 lines, -1 line 0 comments Download
M chrome/browser/ui/ash/chrome_new_window_client_browsertest.cc View 6 chunks +6 lines, -6 lines 0 comments Download
M chrome/browser/ui/views/ash/chrome_browser_main_extra_parts_ash.h View 1 2 2 chunks +2 lines, -0 lines 0 comments Download
M chrome/browser/ui/views/ash/chrome_browser_main_extra_parts_ash.cc View 1 2 3 chunks +3 lines, -2 lines 0 comments Download
M chrome/browser/ui/webui/options/chromeos/keyboard_handler.cc View 2 chunks +2 lines, -2 lines 0 comments Download
M chrome/browser/ui/webui/settings/chromeos/device_keyboard_handler.cc View 2 chunks +2 lines, -2 lines 0 comments Download
M components/arc/intent_helper/arc_intent_helper_bridge.cc View 2 chunks +2 lines, -2 lines 0 comments Download

Messages

Total messages: 31 (22 generated)
Elliot Glaysher
4 years ago (2016-12-06 22:38:59 UTC) #11
James Cook
LGTM with nits. Thanks for fixing this. https://codereview.chromium.org/2549903002/diff/20001/ash/common/new_window_controller.cc File ash/common/new_window_controller.cc (right): https://codereview.chromium.org/2549903002/diff/20001/ash/common/new_window_controller.cc#newcode7 ash/common/new_window_controller.cc:7: #include "base/logging.h" ...
4 years ago (2016-12-06 22:55:42 UTC) #12
James Cook
https://codereview.chromium.org/2549903002/diff/20001/chrome/browser/ui/ash/chrome_new_window_client.cc File chrome/browser/ui/ash/chrome_new_window_client.cc (right): https://codereview.chromium.org/2549903002/diff/20001/chrome/browser/ui/ash/chrome_new_window_client.cc#newcode53 chrome/browser/ui/ash/chrome_new_window_client.cc:53: connector->ConnectToInterface("ash", &new_window_controller_); FYI - I just landed a patch ...
4 years ago (2016-12-06 22:57:29 UTC) #13
Elliot Glaysher
sky: owners review tsepez: mojom elijahtaylor: fyi tbr; trivial change of a name from the ...
4 years ago (2016-12-07 00:22:30 UTC) #21
Tom Sepez
lgtm
4 years ago (2016-12-07 01:00:19 UTC) #22
sky
LGTM
4 years ago (2016-12-07 05:19:17 UTC) #23
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/2549903002/40001
4 years ago (2016-12-07 18:21:43 UTC) #26
commit-bot: I haz the power
Committed patchset #3 (id:40001)
4 years ago (2016-12-07 18:27:23 UTC) #29
commit-bot: I haz the power
4 years ago (2016-12-07 18:28:57 UTC) #31
Message was sent while issue was closed.
Patchset 3 (id:??) landed as
https://crrev.com/609759b085649f1aa62bb211bba6ad0255f3ce1d
Cr-Commit-Position: refs/heads/master@{#437011}

Powered by Google App Engine
This is Rietveld 408576698