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

Issue 2200893002: mash: Partially migrate ash/desktop_background to ash common types. (Closed)

Created:
4 years, 4 months ago by msw
Modified:
4 years, 4 months ago
Reviewers:
James Cook, sky
CC:
chromium-reviews, dbeam+watch-options_chromium.org, Dirk Pranke, michaelpg+watch-options_chromium.org, sadrul, yusukes+watch_chromium.org, michaelpg+watch-md-settings_chromium.org, hidehiko+watch_chromium.org, dzhioev+watch_chromium.org, achuith+watch_chromium.org, lhchavez+watch_chromium.org, elijahtaylor+arcwatch_chromium.org, oshima+watch_chromium.org, kalyank, dbeam+watch-settings_chromium.org, stevenjb+watch-md-settings_chromium.org, davemoore+watch_chromium.org
Base URL:
https://chromium.googlesource.com/chromium/src.git@master
Target Ref:
refs/pending/heads/master
Project:
chromium
Visibility:
Public.

Description

mash: Partially migrate ash/desktop_background to ash common types. Nix shell_factory.h (move used decl to desktop_background_view). Nix DesktopBackgroundController::TestAPI (make test accessor public). Nix unused DesktopBackgroundController functions, members, friends. Nix unused solid_color_user_wallpaper_delegate. Inline SetDesktopBackgroundImageMode. Use WmDisplayObserver, not WindowTreeHostManager::Observer. Use WmWindow instead of aura::Window in various places. Use WmShell::GetDisplayInfo, not DisplayManager. Use WmWindow animation functions. BUG=629605 TEST=Automated; no Chrome OS wallpaper behavior changes. R=jamescook@chromium.org TBR=sky@chromium.org Committed: https://crrev.com/60ca980b7d941d76094f53e633c2d11ff5c9b362 Cr-Commit-Position: refs/heads/master@{#409360}

Patch Set 1 #

Patch Set 2 : Working on it... #

Patch Set 3 : Working on it.. #

Total comments: 10

Patch Set 4 : Address comments; fix test. #

Patch Set 5 : Fix mash browser test crash in GetMaxDisplaySizeInNative. #

Unified diffs Side-by-side diffs Delta from patch set Stats (+101 lines, -389 lines) Patch
M ash/ash.gyp View 1 2 3 4 2 chunks +0 lines, -3 lines 0 comments Download
M ash/desktop_background/desktop_background_controller.h View 5 chunks +13 lines, -53 lines 0 comments Download
M ash/desktop_background/desktop_background_controller.cc View 1 2 3 4 9 chunks +51 lines, -84 lines 0 comments Download
D ash/desktop_background/desktop_background_controller_test_api.h View 1 chunk +0 lines, -24 lines 0 comments Download
D ash/desktop_background/desktop_background_controller_test_api.cc View 1 chunk +0 lines, -18 lines 0 comments Download
M ash/desktop_background/desktop_background_controller_unittest.cc View 1 2 3 chunks +2 lines, -8 lines 0 comments Download
M ash/desktop_background/desktop_background_view.h View 1 2 2 chunks +3 lines, -3 lines 0 comments Download
M ash/desktop_background/desktop_background_view.cc View 1 2 8 chunks +28 lines, -45 lines 0 comments Download
M ash/desktop_background/desktop_background_widget_controller.cc View 1 2 1 chunk +0 lines, -2 lines 0 comments Download
M ash/root_window_controller.cc View 1 2 3 4 2 chunks +0 lines, -2 lines 0 comments Download
M ash/shell.cc View 1 2 1 chunk +0 lines, -1 line 0 comments Download
M ash/shell/content/client/shell_browser_main_parts.cc View 1 1 chunk +0 lines, -1 line 0 comments Download
D ash/shell_factory.h View 1 chunk +0 lines, -34 lines 0 comments Download
M ash/sysui/sysui_application.cc View 1 1 chunk +1 line, -1 line 0 comments Download
M ash/test/ui_controls_factory_ash.cc View 1 chunk +0 lines, -1 line 0 comments Download
M chrome/browser/chromeos/extensions/wallpaper_private_api.cc View 1 1 chunk +0 lines, -1 line 0 comments Download
M chrome/browser/chromeos/login/users/wallpaper/wallpaper_manager.h View 1 1 chunk +0 lines, -1 line 0 comments Download
M chrome/browser/chromeos/login/users/wallpaper/wallpaper_manager.cc View 1 1 chunk +1 line, -0 lines 0 comments Download
M chrome/browser/chromeos/login/users/wallpaper/wallpaper_manager_browsertest.cc View 1 3 chunks +1 line, -5 lines 0 comments Download
M chrome/browser/chromeos/login/users/wallpaper/wallpaper_manager_unittest.cc View 1 1 chunk +0 lines, -3 lines 0 comments Download
M chrome/browser/ui/ash/launcher/chrome_launcher_controller_impl.cc View 1 1 chunk +0 lines, -1 line 0 comments Download
M chrome/browser/ui/ash/multi_user/user_switch_animator_chromeos.cc View 1 2 1 chunk +1 line, -0 lines 0 comments Download
D chrome/browser/ui/ash/solid_color_user_wallpaper_delegate.h View 1 1 chunk +0 lines, -14 lines 0 comments Download
M chrome/browser/ui/ash/solid_color_user_wallpaper_delegate.cc View 1 1 chunk +0 lines, -81 lines 0 comments Download
M chrome/browser/ui/ash/system_tray_delegate_chromeos.cc View 1 1 chunk +0 lines, -1 line 0 comments Download
M chrome/chrome_browser_ui.gypi View 1 2 3 4 1 chunk +0 lines, -2 lines 0 comments Download

Messages

Total messages: 25 (15 generated)
msw
Hey James, please take a look; thanks!
4 years, 4 months ago (2016-08-02 03:44:32 UTC) #3
James Cook
LGTM with nits, assuming the bot failures are something simple. https://codereview.chromium.org/2200893002/diff/40001/ash/desktop_background/desktop_background_controller.cc File ash/desktop_background/desktop_background_controller.cc (left): https://codereview.chromium.org/2200893002/diff/40001/ash/desktop_background/desktop_background_controller.cc#oldcode37 ...
4 years, 4 months ago (2016-08-02 16:51:51 UTC) #8
msw
The test fix was a simple one in GetMaxDisplaySizeInNative. https://codereview.chromium.org/2200893002/diff/40001/ash/desktop_background/desktop_background_controller.cc File ash/desktop_background/desktop_background_controller.cc (left): https://codereview.chromium.org/2200893002/diff/40001/ash/desktop_background/desktop_background_controller.cc#oldcode37 ash/desktop_background/desktop_background_controller.cc:37: ...
4 years, 4 months ago (2016-08-02 18:28:57 UTC) #9
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/2200893002/60001
4 years, 4 months ago (2016-08-02 18:29:48 UTC) #12
msw
+TBR sky for mechanical chrome/* changes.
4 years, 4 months ago (2016-08-02 18:30:57 UTC) #15
commit-bot: I haz the power
Try jobs failed on following builders: linux_chromium_chromeos_rel_ng on master.tryserver.chromium.linux (JOB_FAILED, http://build.chromium.org/p/tryserver.chromium.linux/builders/linux_chromium_chromeos_rel_ng/builds/254025)
4 years, 4 months ago (2016-08-02 19:38:09 UTC) #17
msw
Hey James, I found the crash; take a look as you have time.
4 years, 4 months ago (2016-08-02 21:59:13 UTC) #18
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/2200893002/80001
4 years, 4 months ago (2016-08-02 21:59:47 UTC) #21
commit-bot: I haz the power
Committed patchset #5 (id:80001)
4 years, 4 months ago (2016-08-02 22:48:49 UTC) #23
commit-bot: I haz the power
4 years, 4 months ago (2016-08-02 22:50:39 UTC) #25
Message was sent while issue was closed.
Patchset 5 (id:??) landed as
https://crrev.com/60ca980b7d941d76094f53e633c2d11ff5c9b362
Cr-Commit-Position: refs/heads/master@{#409360}

Powered by Google App Engine
This is Rietveld 408576698