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

Issue 2815043002: Removes ShellPort::IsRunningInMash() (Closed)

Created:
3 years, 8 months ago by sky
Modified:
3 years, 8 months ago
Reviewers:
msw
CC:
chromium-reviews, kalyank, sadrul, derat+watch_chromium.org
Target Ref:
refs/heads/master
Project:
chromium
Visibility:
Public.

Description

Removes ShellPort::IsRunningInMash() And converts to usage of Shell::GetAshConfig(). BUG=687660 TEST=covered by tests R=msw@chromium.org Review-Url: https://codereview.chromium.org/2815043002 Cr-Commit-Position: refs/heads/master@{#464095} Committed: https://chromium.googlesource.com/chromium/src/+/e5fd122629a18236e1458f79f0785a49ce0ab707

Patch Set 1 #

Patch Set 2 : cleanup #

Total comments: 3

Patch Set 3 : dont set instance_ in constructor #

Unified diffs Side-by-side diffs Delta from patch set Stats (+226 lines, -216 lines) Patch
M ash/accelerators/accelerator_controller_unittest.cc View 7 chunks +7 lines, -6 lines 0 comments Download
M ash/accelerators/accelerator_filter_unittest.cc View 4 chunks +4 lines, -4 lines 0 comments Download
M ash/aura/shell_port_classic.h View 1 chunk +0 lines, -1 line 0 comments Download
M ash/aura/shell_port_classic.cc View 1 2 chunks +1 line, -5 lines 0 comments Download
M ash/autoclick/autoclick_unittest.cc View 2 chunks +2 lines, -1 line 0 comments Download
M ash/display/display_configuration_controller_unittest.cc View 2 chunks +2 lines, -2 lines 0 comments Download
M ash/laser/laser_pointer_controller_unittest.cc View 3 chunks +3 lines, -3 lines 0 comments Download
M ash/metrics/desktop_task_switch_metric_recorder_unittest.cc View 5 chunks +5 lines, -5 lines 0 comments Download
M ash/metrics/user_metrics_recorder_unittest.cc View 2 chunks +2 lines, -1 line 0 comments Download
M ash/mus/bridge/shell_port_mash.h View 1 chunk +0 lines, -1 line 0 comments Download
M ash/mus/bridge/shell_port_mash.cc View 1 chunk +0 lines, -4 lines 0 comments Download
M ash/root_window_controller.cc View 4 chunks +4 lines, -4 lines 0 comments Download
M ash/root_window_controller_unittest.cc View 7 chunks +7 lines, -6 lines 0 comments Download
M ash/rotator/screen_rotation_animator_unittest.cc View 9 chunks +9 lines, -8 lines 0 comments Download
M ash/screen_util_unittest.cc View 2 chunks +2 lines, -2 lines 0 comments Download
M ash/shelf/shelf_button_pressed_metric_tracker_unittest.cc View 6 chunks +7 lines, -6 lines 0 comments Download
M ash/shelf/shelf_layout_manager_unittest.cc View 11 chunks +11 lines, -10 lines 0 comments Download
M ash/shelf/shelf_tooltip_manager_unittest.cc View 3 chunks +4 lines, -3 lines 0 comments Download
M ash/shelf/shelf_view_unittest.cc View 8 chunks +8 lines, -7 lines 0 comments Download
M ash/shelf/shelf_window_watcher.cc View 2 chunks +2 lines, -1 line 0 comments Download
M ash/shelf/shelf_window_watcher_unittest.cc View 7 chunks +7 lines, -6 lines 0 comments Download
M ash/shelf/wm_shelf.cc View 5 chunks +4 lines, -4 lines 0 comments Download
M ash/shell.cc View 1 2 13 chunks +15 lines, -15 lines 0 comments Download
M ash/shell_port.h View 1 1 chunk +0 lines, -3 lines 0 comments Download
M ash/shell_unittest.cc View 3 chunks +3 lines, -2 lines 0 comments Download
M ash/sticky_keys/sticky_keys_overlay_unittest.cc View 3 chunks +3 lines, -2 lines 0 comments Download
M ash/system/ime/tray_ime_chromeos_unittest.cc View 3 chunks +3 lines, -3 lines 0 comments Download
M ash/system/overview/overview_button_tray_unittest.cc View 3 chunks +3 lines, -2 lines 0 comments Download
M ash/system/power/power_event_observer.cc View 3 chunks +3 lines, -2 lines 0 comments Download
M ash/system/toast/toast_manager_unittest.cc View 3 chunks +4 lines, -3 lines 0 comments Download
M ash/system/web_notification/ash_popup_alignment_delegate_unittest.cc View 3 chunks +3 lines, -3 lines 0 comments Download
M ash/system/web_notification/web_notification_tray_unittest.cc View 2 chunks +2 lines, -2 lines 0 comments Download
M ash/test/ash_test.cc View 2 chunks +2 lines, -1 line 0 comments Download
M ash/test/ash_test_base.cc View 1 chunk +1 line, -1 line 0 comments Download
M ash/tooltips/tooltip_controller_unittest.cc View 2 chunks +2 lines, -2 lines 0 comments Download
M ash/wallpaper/wallpaper_controller_unittest.cc View 2 chunks +2 lines, -1 line 0 comments Download
M ash/wm/immersive_fullscreen_controller_unittest.cc View 12 chunks +12 lines, -12 lines 0 comments Download
M ash/wm/lock_state_controller_unittest.cc View 7 chunks +7 lines, -7 lines 0 comments Download
M ash/wm/maximize_mode/maximize_mode_window_manager_unittest.cc View 5 chunks +5 lines, -4 lines 0 comments Download
M ash/wm/overview/window_selector_unittest.cc View 9 chunks +9 lines, -9 lines 0 comments Download
M ash/wm/panels/panel_layout_manager_unittest.cc View 9 chunks +8 lines, -8 lines 0 comments Download
M ash/wm/panels/panel_window_resizer_unittest.cc View 11 chunks +11 lines, -10 lines 0 comments Download
M ash/wm/system_modal_container_layout_manager.cc View 2 chunks +2 lines, -1 line 0 comments Download
M ash/wm/system_modal_container_layout_manager_unittest.cc View 6 chunks +6 lines, -5 lines 0 comments Download
M ash/wm/toplevel_window_event_handler_unittest.cc View 2 chunks +2 lines, -2 lines 0 comments Download
M ash/wm/window_cycle_controller_unittest.cc View 5 chunks +5 lines, -5 lines 0 comments Download
M ash/wm/window_manager_unittest.cc View 6 chunks +6 lines, -6 lines 0 comments Download
M ash/wm/workspace/workspace_event_handler_unittest.cc View 5 chunks +5 lines, -5 lines 0 comments Download
M ash/wm/workspace/workspace_layout_manager_unittest.cc View 3 chunks +3 lines, -2 lines 0 comments Download
M ash/wm/workspace/workspace_window_resizer_unittest.cc View 3 chunks +3 lines, -3 lines 0 comments Download
M ash/wm_window.cc View 5 chunks +5 lines, -5 lines 0 comments Download

Messages

Total messages: 14 (8 generated)
sky
For the most this is a straight rename. No doubt some of these conditionals will ...
3 years, 8 months ago (2017-04-12 04:44:59 UTC) #1
msw
lgtm with a q/nit. https://codereview.chromium.org/2815043002/diff/20001/ash/shell.cc File ash/shell.cc (left): https://codereview.chromium.org/2815043002/diff/20001/ash/shell.cc#oldcode228 ash/shell.cc:228: instance_ = new Shell(base::WrapUnique<ShellDelegate>(init_params.delegate), q: ...
3 years, 8 months ago (2017-04-12 17:46:59 UTC) #6
sky
https://codereview.chromium.org/2815043002/diff/20001/ash/shell.cc File ash/shell.cc (left): https://codereview.chromium.org/2815043002/diff/20001/ash/shell.cc#oldcode228 ash/shell.cc:228: instance_ = new Shell(base::WrapUnique<ShellDelegate>(init_params.delegate), On 2017/04/12 17:46:59, msw wrote: ...
3 years, 8 months ago (2017-04-12 17:53:18 UTC) #7
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/2815043002/40001
3 years, 8 months ago (2017-04-12 17:54:41 UTC) #10
msw
still lgtm https://codereview.chromium.org/2815043002/diff/20001/ash/shell.cc File ash/shell.cc (left): https://codereview.chromium.org/2815043002/diff/20001/ash/shell.cc#oldcode228 ash/shell.cc:228: instance_ = new Shell(base::WrapUnique<ShellDelegate>(init_params.delegate), On 2017/04/12 17:53:18, ...
3 years, 8 months ago (2017-04-12 18:03:08 UTC) #11
commit-bot: I haz the power
3 years, 8 months ago (2017-04-12 18:44:58 UTC) #14
Message was sent while issue was closed.
Committed patchset #3 (id:40001) as
https://chromium.googlesource.com/chromium/src/+/e5fd122629a18236e1458f79f078...

Powered by Google App Engine
This is Rietveld 408576698