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

Issue 1943603002: Makes ash/wm/common a library (Closed)

Created:
4 years, 7 months ago by sky
Modified:
4 years, 7 months ago
Reviewers:
James Cook, reveman, garykac
CC:
chromium-reviews, dcheng, kalyank, sadrul
Base URL:
https://chromium.googlesource.com/chromium/src.git@master
Target Ref:
refs/pending/heads/master
Project:
chromium
Visibility:
Public.

Description

Makes ash/wm/common a library I had a handful of functions that won't work as a library, so I had to add a WmLookup to handle the mapping. BUG=603369 TEST=covered by tests R=jamescook@chromium.org TBR=garykac@chromium.org Committed: https://crrev.com/1c77113596b97c9d7687f1489465465643ca057e Cr-Commit-Position: refs/heads/master@{#391431}

Patch Set 1 #

Patch Set 2 : cleanup #

Patch Set 3 : resources #

Patch Set 4 : skia and events #

Patch Set 5 : explicit includes #

Patch Set 6 : ash_shell_with_content #

Patch Set 7 : unittests and GetWindowState #

Patch Set 8 : unittests #

Patch Set 9 : size_t warning #

Patch Set 10 : format #

Patch Set 11 : fix gyp #

Total comments: 14

Patch Set 12 : feedback #

Patch Set 13 : merge #

Patch Set 14 : merge #

Patch Set 15 : merge again #

Unified diffs Side-by-side diffs Delta from patch set Stats (+621 lines, -268 lines) Patch
M ash/BUILD.gn View 1 chunk +1 line, -0 lines 0 comments Download
M ash/ash.gyp View 1 2 3 4 5 6 7 8 9 10 11 12 6 chunks +6 lines, -83 lines 0 comments Download
M ash/wm/aura/wm_globals_aura.h View 2 chunks +2 lines, -0 lines 0 comments Download
M ash/wm/aura/wm_globals_aura.cc View 2 chunks +2 lines, -20 lines 0 comments Download
A ash/wm/aura/wm_lookup_aura.h View 1 1 chunk +32 lines, -0 lines 0 comments Download
A ash/wm/aura/wm_lookup_aura.cc View 1 2 3 4 5 6 7 8 9 10 11 1 chunk +36 lines, -0 lines 0 comments Download
M ash/wm/aura/wm_root_window_controller_aura.cc View 2 chunks +1 line, -8 lines 0 comments Download
M ash/wm/aura/wm_shelf_aura.cc View 1 chunk +1 line, -1 line 0 comments Download
M ash/wm/aura/wm_window_aura.h View 1 2 3 4 5 6 7 8 9 10 11 12 1 chunk +1 line, -0 lines 0 comments Download
M ash/wm/aura/wm_window_aura.cc View 1 2 3 4 5 6 7 8 9 10 11 12 2 chunks +1 line, -6 lines 0 comments Download
A ash/wm/common/BUILD.gn View 1 2 3 4 5 6 7 8 9 10 11 1 chunk +138 lines, -0 lines 0 comments Download
M ash/wm/common/DEPS View 1 chunk +0 lines, -2 lines 0 comments Download
M ash/wm/common/always_on_top_controller.h View 2 chunks +2 lines, -2 lines 0 comments Download
A ash/wm/common/ash_wm_common.gyp View 1 2 3 4 5 6 7 8 9 10 1 chunk +124 lines, -0 lines 0 comments Download
A ash/wm/common/ash_wm_common_export.h View 1 2 3 4 5 6 7 8 9 10 11 1 chunk +32 lines, -0 lines 0 comments Download
M ash/wm/common/background_animator.h View 3 chunks +3 lines, -3 lines 0 comments Download
M ash/wm/common/default_window_resizer.h View 1 2 3 4 5 6 7 8 9 10 11 2 chunks +2 lines, -2 lines 0 comments Download
M ash/wm/common/dock/docked_window_layout_manager.h View 2 chunks +2 lines, -2 lines 0 comments Download
M ash/wm/common/dock/docked_window_layout_manager.cc View 2 chunks +2 lines, -1 line 0 comments Download
M ash/wm/common/dock/docked_window_layout_manager_observer.h View 2 chunks +2 lines, -2 lines 0 comments Download
M ash/wm/common/dock/docked_window_resizer.h View 1 2 3 4 5 6 7 8 9 10 11 2 chunks +2 lines, -2 lines 0 comments Download
M ash/wm/common/dock/docked_window_resizer.cc View 2 chunks +4 lines, -1 line 0 comments Download
M ash/wm/common/drag_details.h View 2 chunks +2 lines, -2 lines 0 comments Download
M ash/wm/common/fullscreen_window_finder.h View 2 chunks +2 lines, -2 lines 0 comments Download
M ash/wm/common/panels/panel_layout_manager.h View 3 chunks +3 lines, -3 lines 0 comments Download
M ash/wm/common/panels/panel_layout_manager.cc View 3 chunks +4 lines, -2 lines 0 comments Download
M ash/wm/common/panels/panel_window_resizer.h View 1 2 3 4 5 6 7 8 9 10 11 2 chunks +2 lines, -2 lines 0 comments Download
M ash/wm/common/panels/panel_window_resizer.cc View 2 chunks +3 lines, -1 line 0 comments Download
M ash/wm/common/root_window_finder.h View 2 chunks +3 lines, -3 lines 0 comments Download
M ash/wm/common/root_window_finder.cc View 3 chunks +3 lines, -2 lines 0 comments Download
M ash/wm/common/shelf/wm_shelf.h View 2 chunks +2 lines, -2 lines 0 comments Download
M ash/wm/common/shelf/wm_shelf_constants.h View 1 chunk +3 lines, -3 lines 0 comments Download
M ash/wm/common/shelf/wm_shelf_observer.h View 2 chunks +2 lines, -2 lines 0 comments Download
M ash/wm/common/shelf/wm_shelf_util.h View 1 chunk +2 lines, -2 lines 0 comments Download
M ash/wm/common/switchable_windows.h View 2 chunks +4 lines, -4 lines 0 comments Download
M ash/wm/common/window_animation_types.h View 1 1 chunk +0 lines, -1 line 0 comments Download
M ash/wm/common/window_parenting_utils.h View 1 1 chunk +0 lines, -2 lines 0 comments Download
M ash/wm/common/window_positioner.h View 2 chunks +2 lines, -2 lines 0 comments Download
M ash/wm/common/window_positioning_utils.h View 3 chunks +7 lines, -7 lines 0 comments Download
M ash/wm/common/window_resizer.h View 3 chunks +3 lines, -3 lines 0 comments Download
M ash/wm/common/window_state.h View 1 2 3 4 5 6 4 chunks +6 lines, -6 lines 0 comments Download
M ash/wm/common/window_state_delegate.h View 1 chunk +2 lines, -2 lines 0 comments Download
M ash/wm/common/window_state_observer.h View 1 chunk +2 lines, -2 lines 0 comments Download
M ash/wm/common/window_state_util.h View 1 chunk +4 lines, -1 line 0 comments Download
M ash/wm/common/wm_activation_observer.h View 2 chunks +2 lines, -2 lines 0 comments Download
M ash/wm/common/wm_display_observer.h View 2 chunks +2 lines, -2 lines 0 comments Download
M ash/wm/common/wm_event.h View 3 chunks +3 lines, -3 lines 0 comments Download
M ash/wm/common/wm_globals.h View 3 chunks +6 lines, -2 lines 0 comments Download
A + ash/wm/common/wm_globals.cc View 1 chunk +12 lines, -4 lines 0 comments Download
M ash/wm/common/wm_layout_manager.h View 2 chunks +2 lines, -2 lines 0 comments Download
A ash/wm/common/wm_lookup.h View 1 chunk +46 lines, -0 lines 0 comments Download
A + ash/wm/common/wm_lookup.cc View 1 chunk +12 lines, -4 lines 0 comments Download
M ash/wm/common/wm_overview_mode_observer.h View 1 chunk +2 lines, -2 lines 0 comments Download
M ash/wm/common/wm_root_window_controller.h View 2 chunks +2 lines, -6 lines 0 comments Download
M ash/wm/common/wm_root_window_controller_observer.h View 1 chunk +2 lines, -2 lines 0 comments Download
M ash/wm/common/wm_screen_util.h View 2 chunks +7 lines, -5 lines 0 comments Download
M ash/wm/common/wm_shell_window_ids.h View 1 1 chunk +0 lines, -2 lines 0 comments Download
M ash/wm/common/wm_snap_to_pixel_layout_manager.h View 2 chunks +2 lines, -2 lines 0 comments Download
M ash/wm/common/wm_types.h View 2 chunks +7 lines, -5 lines 0 comments Download
M ash/wm/common/wm_window.h View 1 2 3 4 5 6 7 8 9 10 11 12 3 chunks +2 lines, -8 lines 0 comments Download
M ash/wm/common/wm_window_observer.h View 2 chunks +2 lines, -2 lines 0 comments Download
M ash/wm/common/wm_window_property.h View 1 1 chunk +0 lines, -2 lines 0 comments Download
M ash/wm/common/workspace/magnetism_matcher.h View 2 chunks +2 lines, -2 lines 0 comments Download
M ash/wm/common/workspace/multi_window_resize_controller.h View 2 chunks +2 lines, -2 lines 0 comments Download
M ash/wm/common/workspace/multi_window_resize_controller.cc View 2 chunks +3 lines, -1 line 0 comments Download
M ash/wm/common/workspace/phantom_window_controller.h View 2 chunks +2 lines, -2 lines 0 comments Download
M ash/wm/common/workspace/phantom_window_controller.cc View 1 2 3 4 5 6 7 8 9 10 11 12 13 3 chunks +7 lines, -2 lines 0 comments Download
M ash/wm/common/workspace/two_step_edge_cycler.h View 2 chunks +2 lines, -2 lines 0 comments Download
M ash/wm/common/workspace/workspace_layout_manager.h View 2 chunks +2 lines, -2 lines 0 comments Download
M ash/wm/common/workspace/workspace_layout_manager_backdrop_delegate.h View 2 chunks +2 lines, -2 lines 0 comments Download
M ash/wm/common/workspace/workspace_layout_manager_delegate.h View 1 chunk +2 lines, -2 lines 0 comments Download
M ash/wm/common/workspace/workspace_window_resizer.h View 1 chunk +1 line, -1 line 0 comments Download
M ash/wm/common/workspace/workspace_window_resizer.cc View 2 chunks +4 lines, -2 lines 0 comments Download
M ash/wm/drag_window_resizer.h View 1 chunk +1 line, -0 lines 0 comments Download
M ash/wm/window_state_aura.cc View 1 2 3 4 5 6 7 8 9 10 11 2 chunks +16 lines, -1 line 0 comments Download
M chrome/browser/ui/ash/window_positioner_unittest.cc View 1 chunk +1 line, -1 line 0 comments Download
M chrome/chrome_browser_chromeos.gypi View 1 2 3 4 1 chunk +1 line, -0 lines 0 comments Download
M chrome/chrome_browser_ui.gypi View 1 2 3 4 5 6 7 8 9 10 11 12 1 chunk +1 line, -0 lines 0 comments Download
M chrome/chrome_browser_ui_views.gyp View 1 2 3 4 1 chunk +1 line, -0 lines 0 comments Download
M chrome/chrome_tests_unit.gypi View 1 2 3 4 1 chunk +1 line, -0 lines 0 comments Download
M components/exo.gypi View 1 2 3 4 1 chunk +1 line, -0 lines 0 comments Download
M remoting/remoting_host.gypi View 1 2 3 4 1 chunk +1 line, -0 lines 0 comments Download

Messages

Total messages: 31 (16 generated)
sky
4 years, 7 months ago (2016-05-03 17:04:53 UTC) #1
sky
+reveman for exo +garykac for remoting
4 years, 7 months ago (2016-05-03 17:05:54 UTC) #4
James Cook
LGTM with nits https://codereview.chromium.org/1943603002/diff/200001/ash/wm/aura/wm_lookup_aura.cc File ash/wm/aura/wm_lookup_aura.cc (right): https://codereview.chromium.org/1943603002/diff/200001/ash/wm/aura/wm_lookup_aura.cc#newcode19 ash/wm/aura/wm_lookup_aura.cc:19: WmLookupAura::~WmLookupAura() { nit: blank line above ...
4 years, 7 months ago (2016-05-03 18:43:10 UTC) #5
reveman
components/exo.gypi lgtm
4 years, 7 months ago (2016-05-03 18:50:35 UTC) #6
sky
https://codereview.chromium.org/1943603002/diff/200001/ash/wm/aura/wm_lookup_aura.cc File ash/wm/aura/wm_lookup_aura.cc (right): https://codereview.chromium.org/1943603002/diff/200001/ash/wm/aura/wm_lookup_aura.cc#newcode19 ash/wm/aura/wm_lookup_aura.cc:19: WmLookupAura::~WmLookupAura() { On 2016/05/03 18:43:10, James Cook wrote: > ...
4 years, 7 months ago (2016-05-03 19:10:06 UTC) #7
sky
TBR garykac for trivial gyp change
4 years, 7 months ago (2016-05-03 22:33:41 UTC) #9
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1943603002/220001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1943603002/220001
4 years, 7 months ago (2016-05-03 22:34:11 UTC) #12
commit-bot: I haz the power
Try jobs failed on following builders: chromium_presubmit on tryserver.chromium.linux (JOB_FAILED, http://build.chromium.org/p/tryserver.chromium.linux/builders/chromium_presubmit/builds/177112)
4 years, 7 months ago (2016-05-03 22:42:30 UTC) #14
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1943603002/240001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1943603002/240001
4 years, 7 months ago (2016-05-03 23:48:38 UTC) #17
commit-bot: I haz the power
Try jobs failed on following builders: chromeos_amd64-generic_chromium_compile_only_ng on tryserver.chromium.linux (JOB_FAILED, http://build.chromium.org/p/tryserver.chromium.linux/builders/chromeos_amd64-generic_chromium_compile_only_ng/builds/132040) chromeos_daisy_chromium_compile_only_ng on tryserver.chromium.linux (JOB_FAILED, ...
4 years, 7 months ago (2016-05-04 00:06:27 UTC) #19
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1943603002/260001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1943603002/260001
4 years, 7 months ago (2016-05-04 00:10:42 UTC) #22
commit-bot: I haz the power
Failed to apply the patch.
4 years, 7 months ago (2016-05-04 01:22:24 UTC) #24
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1943603002/280001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1943603002/280001
4 years, 7 months ago (2016-05-04 02:10:22 UTC) #27
commit-bot: I haz the power
Committed patchset #15 (id:280001)
4 years, 7 months ago (2016-05-04 03:14:18 UTC) #29
commit-bot: I haz the power
4 years, 7 months ago (2016-05-04 03:16:19 UTC) #31
Message was sent while issue was closed.
Patchset 15 (id:??) landed as
https://crrev.com/1c77113596b97c9d7687f1489465465643ca057e
Cr-Commit-Position: refs/heads/master@{#391431}

Powered by Google App Engine
This is Rietveld 408576698