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

Issue 1914093002: Refactors DockedWindowLayoutManager in terms of ash/wm/common (Closed)

Created:
4 years, 8 months ago by sky
Modified:
4 years, 8 months ago
Reviewers:
James Cook
CC:
chromium-reviews, sadrul, qsr+mojo_chromium.org, derat+watch_chromium.org, viettrungluu+watch_chromium.org, ben+mojo_chromium.org, jam, yzshen+watch_chromium.org, abarth-chromium, Aaron Boodman, darin-cc_chromium.org, oshima+watch_chromium.org, kalyank, darin (slow to review), stevenjb+watch_chromium.org, davemoore+watch_chromium.org
Base URL:
https://chromium.googlesource.com/chromium/src.git@nuke_aura_window
Target Ref:
refs/pending/heads/master
Project:
chromium
Visibility:
Public.

Description

Refactors DockedWindowLayoutManager in terms of ash/wm/common Last remaining bit is shell ids. BUG=603369 TEST=covered by tests R=jamescook@chromium.org Committed: https://crrev.com/019ff29c7c3a1725571d7b3b67cf908a08f32ffc Cr-Commit-Position: refs/heads/master@{#389852}

Patch Set 1 #

Patch Set 2 : conditional #

Patch Set 3 : fix windows build #

Patch Set 4 : wrong patch #

Patch Set 5 : merge 2 trunk #

Total comments: 10

Patch Set 6 : feedback #

Patch Set 7 : comment #

Unified diffs Side-by-side diffs Delta from patch set Stats (+687 lines, -414 lines) Patch
M ash/app_list/app_list_presenter_delegate.cc View 2 chunks +5 lines, -5 lines 0 comments Download
M ash/ash.gyp View 1 2 3 4 1 chunk +7 lines, -0 lines 0 comments Download
M ash/content/keyboard_overlay/keyboard_overlay_delegate_unittest.cc View 2 chunks +7 lines, -7 lines 0 comments Download
M ash/mus/shelf_delegate_mus.cc View 1 chunk +1 line, -1 line 0 comments Download
M ash/root_window_controller.cc View 2 chunks +2 lines, -1 line 0 comments Download
M ash/shelf/app_list_button.cc View 1 chunk +3 lines, -3 lines 0 comments Download
M ash/shelf/overflow_bubble_view.cc View 1 2 3 4 2 chunks +2 lines, -1 line 0 comments Download
M ash/shelf/overflow_button.cc View 2 chunks +5 lines, -5 lines 0 comments Download
M ash/shelf/shelf.h View 5 chunks +16 lines, -7 lines 0 comments Download
M ash/shelf/shelf.cc View 1 2 3 4 5 3 chunks +6 lines, -2 lines 0 comments Download
M ash/shelf/shelf_alignment_menu.cc View 1 chunk +3 lines, -3 lines 0 comments Download
M ash/shelf/shelf_button.cc View 2 chunks +2 lines, -2 lines 0 comments Download
M ash/shelf/shelf_constants.h View 2 chunks +0 lines, -6 lines 0 comments Download
M ash/shelf/shelf_constants.cc View 1 chunk +0 lines, -2 lines 0 comments Download
M ash/shelf/shelf_layout_manager.h View 2 chunks +7 lines, -7 lines 0 comments Download
M ash/shelf/shelf_layout_manager.cc View 4 chunks +15 lines, -13 lines 0 comments Download
M ash/shelf/shelf_layout_manager_observer.h View 1 chunk +2 lines, -3 lines 0 comments Download
M ash/shelf/shelf_layout_manager_unittest.cc View 1 2 3 4 15 chunks +42 lines, -31 lines 0 comments Download
M ash/shelf/shelf_locking_manager.h View 1 2 3 4 2 chunks +4 lines, -2 lines 0 comments Download
M ash/shelf/shelf_locking_manager.cc View 1 2 3 4 1 chunk +4 lines, -4 lines 0 comments Download
M ash/shelf/shelf_locking_manager_unittest.cc View 1 2 3 4 1 chunk +17 lines, -17 lines 0 comments Download
M ash/shelf/shelf_types.h View 2 chunks +3 lines, -21 lines 0 comments Download
M ash/shelf/shelf_util.h View 1 chunk +1 line, -1 line 0 comments Download
M ash/shelf/shelf_util.cc View 1 chunk +3 lines, -3 lines 0 comments Download
M ash/shelf/shelf_view_unittest.cc View 5 chunks +12 lines, -11 lines 0 comments Download
M ash/shelf/shelf_widget.h View 1 chunk +3 lines, -3 lines 0 comments Download
M ash/shelf/shelf_widget.cc View 8 chunks +18 lines, -17 lines 0 comments Download
M ash/shelf/shelf_widget_unittest.cc View 11 chunks +24 lines, -33 lines 0 comments Download
M ash/shell.h View 1 chunk +3 lines, -2 lines 0 comments Download
M ash/shell.cc View 1 chunk +3 lines, -2 lines 0 comments Download
M ash/system/cast/tray_cast.h View 1 chunk +1 line, -1 line 0 comments Download
M ash/system/cast/tray_cast.cc View 3 chunks +3 lines, -3 lines 0 comments Download
M ash/system/chromeos/network/tray_network.h View 1 chunk +1 line, -1 line 0 comments Download
M ash/system/chromeos/network/tray_network.cc View 2 chunks +3 lines, -2 lines 0 comments Download
M ash/system/chromeos/network/tray_vpn.h View 1 chunk +1 line, -1 line 0 comments Download
M ash/system/chromeos/network/tray_vpn.cc View 1 chunk +1 line, -2 lines 0 comments Download
M ash/system/chromeos/power/tray_power.h View 1 chunk +1 line, -1 line 0 comments Download
M ash/system/chromeos/power/tray_power.cc View 1 chunk +1 line, -1 line 0 comments Download
M ash/system/chromeos/screen_security/screen_tray_item.h View 1 chunk +1 line, -1 line 0 comments Download
M ash/system/chromeos/screen_security/screen_tray_item.cc View 1 chunk +2 lines, -1 line 0 comments Download
M ash/system/chromeos/session/logout_button_tray.h View 1 chunk +1 line, -1 line 0 comments Download
M ash/system/chromeos/session/logout_button_tray.cc View 1 chunk +1 line, -1 line 0 comments Download
M ash/system/chromeos/virtual_keyboard/virtual_keyboard_tray.h View 1 chunk +1 line, -1 line 0 comments Download
M ash/system/chromeos/virtual_keyboard/virtual_keyboard_tray.cc View 1 chunk +1 line, -1 line 0 comments Download
M ash/system/date/tray_date.h View 1 chunk +1 line, -1 line 0 comments Download
M ash/system/date/tray_date.cc View 2 chunks +2 lines, -2 lines 0 comments Download
M ash/system/ime/tray_ime_chromeos.h View 1 chunk +1 line, -1 line 0 comments Download
M ash/system/ime/tray_ime_chromeos.cc View 1 chunk +1 line, -1 line 0 comments Download
M ash/system/overview/overview_button_tray.h View 1 chunk +1 line, -1 line 0 comments Download
M ash/system/overview/overview_button_tray.cc View 1 chunk +1 line, -1 line 0 comments Download
M ash/system/status_area_widget.h View 1 chunk +1 line, -1 line 0 comments Download
M ash/system/status_area_widget.cc View 1 chunk +1 line, -1 line 0 comments Download
M ash/system/status_area_widget_delegate.h View 2 chunks +2 lines, -2 lines 0 comments Download
M ash/system/status_area_widget_delegate.cc View 1 2 3 4 5 1 chunk +2 lines, -2 lines 0 comments Download
M ash/system/toast/toast_manager_unittest.cc View 6 chunks +6 lines, -6 lines 0 comments Download
M ash/system/tray/system_tray.h View 2 chunks +2 lines, -2 lines 0 comments Download
M ash/system/tray/system_tray.cc View 2 chunks +2 lines, -2 lines 0 comments Download
M ash/system/tray/system_tray_item.h View 1 chunk +1 line, -1 line 0 comments Download
M ash/system/tray/system_tray_item.cc View 1 chunk +2 lines, -2 lines 0 comments Download
M ash/system/tray/system_tray_unittest.cc View 6 chunks +6 lines, -6 lines 0 comments Download
M ash/system/tray/tray_background_view.h View 5 chunks +6 lines, -6 lines 0 comments Download
M ash/system/tray/tray_background_view.cc View 5 chunks +8 lines, -7 lines 0 comments Download
M ash/system/tray/tray_image_item.h View 1 chunk +2 lines, -2 lines 0 comments Download
M ash/system/tray/tray_image_item.cc View 2 chunks +3 lines, -2 lines 0 comments Download
M ash/system/tray/tray_utils.h View 1 chunk +3 lines, -2 lines 0 comments Download
M ash/system/tray/tray_utils.cc View 2 chunks +2 lines, -2 lines 0 comments Download
M ash/system/user/tray_user.h View 1 chunk +1 line, -1 line 0 comments Download
M ash/system/user/tray_user.cc View 1 chunk +1 line, -1 line 0 comments Download
M ash/system/user/tray_user_separator.h View 1 chunk +1 line, -1 line 0 comments Download
M ash/system/web_notification/ash_popup_alignment_delegate.h View 1 chunk +1 line, -1 line 0 comments Download
M ash/system/web_notification/ash_popup_alignment_delegate.cc View 2 chunks +2 lines, -2 lines 0 comments Download
M ash/system/web_notification/ash_popup_alignment_delegate_unittest.cc View 3 chunks +8 lines, -11 lines 0 comments Download
M ash/system/web_notification/web_notification_tray.h View 1 chunk +1 line, -1 line 0 comments Download
M ash/system/web_notification/web_notification_tray.cc View 1 chunk +1 line, -1 line 0 comments Download
M ash/wm/aura/wm_root_window_controller_aura.h View 1 chunk +1 line, -0 lines 0 comments Download
M ash/wm/aura/wm_root_window_controller_aura.cc View 2 chunks +9 lines, -0 lines 0 comments Download
A ash/wm/aura/wm_shelf_aura.h View 1 2 3 4 5 1 chunk +54 lines, -0 lines 0 comments Download
A ash/wm/aura/wm_shelf_aura.cc View 1 chunk +63 lines, -0 lines 0 comments Download
A ash/wm/common/shelf/wm_shelf.h View 1 chunk +39 lines, -0 lines 0 comments Download
A ash/wm/common/shelf/wm_shelf_constants.h View 1 chunk +22 lines, -0 lines 0 comments Download
A ash/wm/common/shelf/wm_shelf_constants.cc View 1 chunk +14 lines, -0 lines 0 comments Download
A ash/wm/common/shelf/wm_shelf_observer.h View 1 2 3 4 5 6 1 chunk +31 lines, -0 lines 0 comments Download
A ash/wm/common/shelf/wm_shelf_types.h View 1 chunk +35 lines, -0 lines 0 comments Download
M ash/wm/common/wm_root_window_controller.h View 2 chunks +3 lines, -0 lines 0 comments Download
M ash/wm/dock/docked_window_layout_manager.h View 3 chunks +4 lines, -3 lines 0 comments Download
M ash/wm/dock/docked_window_layout_manager.cc View 1 11 chunks +29 lines, -38 lines 0 comments Download
M ash/wm/dock/docked_window_resizer_unittest.cc View 3 chunks +3 lines, -3 lines 0 comments Download
M ash/wm/panels/panel_layout_manager.cc View 7 chunks +17 lines, -18 lines 0 comments Download
M ash/wm/panels/panel_layout_manager_unittest.cc View 12 chunks +18 lines, -18 lines 0 comments Download
M ash/wm/panels/panel_window_resizer.cc View 1 chunk +4 lines, -4 lines 0 comments Download
M ash/wm/panels/panel_window_resizer_unittest.cc View 3 chunks +5 lines, -3 lines 0 comments Download
M ash/wm/window_animations.cc View 1 chunk +2 lines, -2 lines 0 comments Download
M ash/wm/workspace_controller_unittest.cc View 1 chunk +3 lines, -2 lines 0 comments Download
M chrome/browser/chromeos/first_run/steps/tray_step.cc View 1 chunk +3 lines, -3 lines 0 comments Download
M chrome/browser/ui/ash/chrome_launcher_prefs.h View 1 chunk +3 lines, -2 lines 0 comments Download
M chrome/browser/ui/ash/chrome_launcher_prefs.cc View 3 chunks +12 lines, -11 lines 0 comments Download
M chrome/browser/ui/ash/launcher/chrome_mash_shelf_controller.cc View 1 chunk +1 line, -1 line 0 comments Download
M mash/shelf/public/interfaces/shelf_constants.mojom View 1 chunk +1 line, -1 line 0 comments Download

Dependent Patchsets:

Messages

Total messages: 12 (5 generated)
sky
Sorry for the size. In the future I'll keep namepsace changes to their own dedicated ...
4 years, 8 months ago (2016-04-26 03:15:28 UTC) #1
James Cook
LGTM with nits https://codereview.chromium.org/1914093002/diff/80001/ash/shelf/shelf.cc File ash/shelf/shelf.cc (right): https://codereview.chromium.org/1914093002/diff/80001/ash/shelf/shelf.cc#newcode53 ash/shelf/shelf.cc:53: wm_shelf_.reset(new wm::WmShelfAura(this)); optional: Maybe comment why ...
4 years, 8 months ago (2016-04-26 15:22:34 UTC) #2
sky
https://codereview.chromium.org/1914093002/diff/80001/ash/shelf/shelf.cc File ash/shelf/shelf.cc (right): https://codereview.chromium.org/1914093002/diff/80001/ash/shelf/shelf.cc#newcode53 ash/shelf/shelf.cc:53: wm_shelf_.reset(new wm::WmShelfAura(this)); On 2016/04/26 15:22:34, James Cook wrote: > ...
4 years, 8 months ago (2016-04-26 16:26:02 UTC) #3
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1914093002/100001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1914093002/100001
4 years, 8 months ago (2016-04-26 16:26:59 UTC) #6
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1914093002/120001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1914093002/120001
4 years, 8 months ago (2016-04-26 17:23:32 UTC) #9
commit-bot: I haz the power
Committed patchset #7 (id:120001)
4 years, 8 months ago (2016-04-26 19:41:10 UTC) #10
commit-bot: I haz the power
4 years, 8 months ago (2016-04-26 19:42:48 UTC) #12
Message was sent while issue was closed.
Patchset 7 (id:??) landed as
https://crrev.com/019ff29c7c3a1725571d7b3b67cf908a08f32ffc
Cr-Commit-Position: refs/heads/master@{#389852}

Powered by Google App Engine
This is Rietveld 408576698