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

Issue 2434463004: mash: Move directly linked NewWindowDelegate to mojom::NewWindowClient. (Closed)

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

Description

mash: Move directly linked NewWindowDelegate to mojom::NewWindowClient. Previously, NewWindowDelegate was an interface that chrome implemented and injected into ash through the shell delegate. Now chrome exports its implementation of mojom::NewWindowClient. BUG=631836 Committed: https://crrev.com/3404382dde0b1a5a2911d476252b6a823dca3e65 Cr-Commit-Position: refs/heads/master@{#427834}

Patch Set 1 #

Patch Set 2 : Fix gn check on windows #

Patch Set 3 : Fix mash_unittests/ash_unittests by making the proper null mock #

Patch Set 4 : Fix StickyKeysBrowserTest.OpenNewTabs #

Patch Set 5 : Rebase to tot #

Patch Set 6 : Further renaming #

Patch Set 7 : Make chrome-mash launch service:task_viewer on shift+esc #

Patch Set 8 : Fix mac compile. #

Patch Set 9 : Actually rename the browser test. #

Total comments: 16

Patch Set 10 : Merge with ToT for patch failure #

Total comments: 2

Patch Set 11 : Comments from James; rename to NewWindowClientProxy. #

Total comments: 4

Patch Set 12 : sky comments #

Patch Set 13 : Move back to using the chrome task viewer #

Patch Set 14 : Merge with upstream patches #

Patch Set 15 : Rebase to ToT #

Unified diffs Side-by-side diffs Delta from patch set Stats (+360 lines, -637 lines) Patch
M ash/BUILD.gn View 1 2 3 4 5 6 7 8 9 10 11 1 chunk +2 lines, -0 lines 0 comments Download
M ash/common/accelerators/accelerator_controller.cc View 1 2 3 4 5 6 7 8 9 10 11 8 chunks +11 lines, -11 lines 0 comments Download
A ash/common/new_window_client_proxy.h View 1 2 3 4 5 6 7 8 9 10 1 chunk +50 lines, -0 lines 0 comments Download
A ash/common/new_window_client_proxy.cc View 1 2 3 4 5 6 7 8 9 10 11 1 chunk +80 lines, -0 lines 0 comments Download
D ash/common/new_window_delegate.h View 1 chunk +0 lines, -46 lines 0 comments Download
M ash/common/shell_delegate.h View 1 2 3 4 5 6 7 8 9 2 chunks +0 lines, -4 lines 0 comments Download
M ash/common/test/BUILD.gn View 1 2 3 4 5 6 7 8 9 2 chunks +3 lines, -0 lines 0 comments Download
A + ash/common/test/test_new_window_client.h View 1 2 3 4 5 2 chunks +11 lines, -12 lines 0 comments Download
A ash/common/test/test_new_window_client.cc View 1 2 1 chunk +31 lines, -0 lines 0 comments Download
M ash/common/test/wm_shell_test_api.h View 2 chunks +6 lines, -0 lines 0 comments Download
M ash/common/test/wm_shell_test_api.cc View 1 2 3 4 5 6 7 8 9 10 11 2 chunks +8 lines, -0 lines 0 comments Download
M ash/common/wm_shell.h View 1 2 3 4 5 6 7 8 9 10 5 chunks +7 lines, -5 lines 0 comments Download
M ash/common/wm_shell.cc View 1 2 3 4 5 6 7 8 9 10 3 chunks +3 lines, -3 lines 0 comments Download
M ash/display/display_util.cc View 1 2 3 4 5 6 7 8 9 10 11 2 chunks +3 lines, -4 lines 0 comments Download
M ash/mus/BUILD.gn View 1 chunk +0 lines, -2 lines 0 comments Download
D ash/mus/new_window_delegate_mus.h View 1 chunk +0 lines, -37 lines 0 comments Download
D ash/mus/new_window_delegate_mus.cc View 1 chunk +0 lines, -63 lines 0 comments Download
M ash/mus/shell_delegate_mus.h View 1 2 3 4 5 6 7 8 9 1 chunk +0 lines, -1 line 0 comments Download
M ash/mus/shell_delegate_mus.cc View 1 2 3 4 5 6 7 8 9 10 11 2 chunks +0 lines, -5 lines 0 comments Download
M ash/mus/test/wm_test_helper.cc View 1 2 2 chunks +2 lines, -0 lines 0 comments Download
M ash/public/interfaces/BUILD.gn View 1 2 3 4 5 6 7 8 9 1 chunk +1 line, -0 lines 0 comments Download
A ash/public/interfaces/new_window.mojom View 1 chunk +36 lines, -0 lines 0 comments Download
M ash/shell/shell_delegate_impl.h View 1 2 3 4 5 6 7 8 9 1 chunk +0 lines, -1 line 0 comments Download
M ash/shell/shell_delegate_impl.cc View 1 2 3 4 5 6 7 8 9 10 11 3 chunks +0 lines, -30 lines 0 comments Download
M ash/test/ash_test_helper.cc View 1 2 2 chunks +4 lines, -0 lines 0 comments Download
M ash/test/test_shell_delegate.h View 1 2 3 4 5 6 7 8 9 1 chunk +0 lines, -1 line 0 comments Download
M ash/test/test_shell_delegate.cc View 1 2 3 4 5 6 7 8 9 3 chunks +0 lines, -25 lines 0 comments Download
M chrome/app/mash/chrome_mash_content_browser_manifest_overlay.json View 1 2 3 4 5 6 7 8 9 2 chunks +3 lines, -1 line 0 comments Download
M chrome/browser/chrome_content_browser_manifest_overlay.json View 1 2 3 4 5 6 7 8 9 1 chunk +1 line, -0 lines 0 comments Download
M chrome/browser/chromeos/accessibility/sticky_keys_browsertest.cc View 1 2 3 4 5 6 7 8 9 10 11 4 chunks +36 lines, -6 lines 0 comments Download
M chrome/browser/chromeos/chrome_interface_factory.cc View 1 2 3 4 5 6 7 8 9 5 chunks +13 lines, -0 lines 0 comments Download
M chrome/browser/ui/BUILD.gn View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 1 chunk +2 lines, -2 lines 0 comments Download
A + chrome/browser/ui/ash/chrome_new_window_client.h View 1 2 3 4 5 6 7 8 9 10 2 chunks +9 lines, -10 lines 0 comments Download
A + chrome/browser/ui/ash/chrome_new_window_client.cc View 1 2 3 4 10 chunks +20 lines, -25 lines 0 comments Download
A + chrome/browser/ui/ash/chrome_new_window_client_browsertest.cc View 1 2 3 4 5 6 7 8 9 10 6 chunks +8 lines, -8 lines 0 comments Download
D chrome/browser/ui/ash/chrome_new_window_delegate.h View 1 chunk +0 lines, -40 lines 0 comments Download
D chrome/browser/ui/ash/chrome_new_window_delegate.cc View 1 chunk +0 lines, -200 lines 0 comments Download
M chrome/browser/ui/ash/chrome_new_window_delegate_browsertest.cc View 1 2 3 4 5 6 7 8 1 chunk +0 lines, -81 lines 0 comments Download
M chrome/browser/ui/ash/chrome_shell_delegate.h View 1 2 3 4 5 6 7 8 9 1 chunk +0 lines, -1 line 0 comments Download
M chrome/browser/ui/ash/chrome_shell_delegate.cc View 1 2 3 4 5 6 7 8 9 2 chunks +0 lines, -5 lines 0 comments Download
M chrome/browser/ui/views/task_manager_view.cc View 1 2 3 4 5 6 7 8 9 10 11 12 2 chunks +2 lines, -1 line 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 chrome/test/BUILD.gn View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 1 chunk +1 line, -1 line 0 comments Download
M components/arc/BUILD.gn View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 1 chunk +1 line, -0 lines 0 comments Download
M components/arc/intent_helper/arc_intent_helper_bridge.cc View 1 2 3 4 5 6 7 8 9 10 11 2 chunks +2 lines, -2 lines 0 comments Download

Depends on Patchset:

Dependent Patchsets:

Messages

Total messages: 84 (64 generated)
Elliot Glaysher
This is functionally complete. I'm not sure about the naming though: NewWindowClientRemote might not be ...
4 years, 2 months ago (2016-10-21 18:10:00 UTC) #31
James Cook
LGTM with nits. Nice patch - always good to see net negative lines of code. ...
4 years, 2 months ago (2016-10-21 22:22:31 UTC) #38
Elliot Glaysher
+sky: chrome review +tsepez: new mojom review https://codereview.chromium.org/2434463004/diff/160001/ash/common/new_window_client_remote.cc File ash/common/new_window_client_remote.cc (right): https://codereview.chromium.org/2434463004/diff/160001/ash/common/new_window_client_remote.cc#newcode14 ash/common/new_window_client_remote.cc:14: : connector_(connector) ...
4 years, 2 months ago (2016-10-21 22:45:56 UTC) #42
Tom Sepez
mojom LGTM
4 years, 2 months ago (2016-10-21 23:00:21 UTC) #43
sky
LGTM assuming you change to use Chrome's task manager. If you feel strongly we should ...
4 years, 2 months ago (2016-10-21 23:26:00 UTC) #44
Elliot Glaysher
stevenjb: chrome/browser/ui/webui/options/chromeos/ yusukes: components/arc/ These changes are just minor interface changes.
4 years, 1 month ago (2016-10-25 20:05:47 UTC) #58
stevenjb
c/b/ui/webui lgtm
4 years, 1 month ago (2016-10-25 20:13:59 UTC) #59
Elliot Glaysher
yusukes: components/arc/ (really added this time) These changes are just minor interface changes.
4 years, 1 month ago (2016-10-25 21:09:54 UTC) #61
Elliot Glaysher
https://codereview.chromium.org/2434463004/diff/190001/chrome/browser/chromeos/accessibility/sticky_keys_browsertest.cc File chrome/browser/chromeos/accessibility/sticky_keys_browsertest.cc (right): https://codereview.chromium.org/2434463004/diff/190001/chrome/browser/chromeos/accessibility/sticky_keys_browsertest.cc#newcode40 chrome/browser/chromeos/accessibility/sticky_keys_browsertest.cc:40: int new_tab_action_count() { return new_tab_action_count_; } On 2016/10/21 23:26:00, ...
4 years, 1 month ago (2016-10-25 23:30:50 UTC) #64
sky
LGTM
4 years, 1 month ago (2016-10-25 23:51:23 UTC) #65
Yusuke Sato
arc/ lgtm
4 years, 1 month ago (2016-10-26 03:26:58 UTC) #66
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/2434463004/270001
4 years, 1 month ago (2016-10-26 19:23:38 UTC) #69
commit-bot: I haz the power
Try jobs failed on following builders: chromeos_amd64-generic_chromium_compile_only_ng on master.tryserver.chromium.linux (JOB_FAILED, http://build.chromium.org/p/tryserver.chromium.linux/builders/chromeos_amd64-generic_chromium_compile_only_ng/builds/223928) chromeos_daisy_chromium_compile_only_ng on master.tryserver.chromium.linux (JOB_FAILED, ...
4 years, 1 month ago (2016-10-26 19:33:57 UTC) #71
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/2434463004/270001
4 years, 1 month ago (2016-10-26 19:53:19 UTC) #73
commit-bot: I haz the power
Try jobs failed on following builders: linux_chromium_chromeos_ozone_rel_ng on master.tryserver.chromium.linux (JOB_FAILED, http://build.chromium.org/p/tryserver.chromium.linux/builders/linux_chromium_chromeos_ozone_rel_ng/builds/260831)
4 years, 1 month ago (2016-10-26 20:03:20 UTC) #75
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/2434463004/270001
4 years, 1 month ago (2016-10-26 20:12:40 UTC) #77
commit-bot: I haz the power
Try jobs failed on following builders: win_chromium_rel_ng on master.tryserver.chromium.win (JOB_FAILED, http://build.chromium.org/p/tryserver.chromium.win/builders/win_chromium_rel_ng/builds/319788)
4 years, 1 month ago (2016-10-26 20:23:38 UTC) #79
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/2434463004/270001
4 years, 1 month ago (2016-10-26 21:00:53 UTC) #81
commit-bot: I haz the power
Committed patchset #15 (id:270001)
4 years, 1 month ago (2016-10-26 21:58:45 UTC) #82
commit-bot: I haz the power
4 years, 1 month ago (2016-10-26 22:03:31 UTC) #84
Message was sent while issue was closed.
Patchset 15 (id:??) landed as
https://crrev.com/3404382dde0b1a5a2911d476252b6a823dca3e65
Cr-Commit-Position: refs/heads/master@{#427834}

Powered by Google App Engine
This is Rietveld 408576698