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

Issue 2376103005: mustash: Break dependency of //ash/public/interfaces on //ash (Closed)

Created:
4 years, 2 months ago by James Cook
Modified:
4 years, 2 months ago
CC:
chromium-reviews, darin-cc_chromium.org, jam, kalyank, oshima+watch_chromium.org, sadrul, sky, tfarina
Target Ref:
refs/pending/heads/master
Project:
chromium
Visibility:
Public.

Description

mustash: Break dependency of //ash/public/interfaces on //ash In a future CL I need to use ash's mojom interfaces within ash. Trying to do that now creates a dependency cycle due to typemaps. * Create //ash/public/cpp and move shelf_types.h there, since it is a public header used outside of ash * Make //ash/public/interfaces typemaps depend on //ash/public/cpp instead of //ash The file move was mechanical: tools/git/move_source_file.py ash/common/shelf/shelf_types.h \ ash/public/cpp BUG=none TEST=compiles, checkdeps, gn check Committed: https://crrev.com/d4649fa5f41c85707a7c1641e940d7a83549d454 Cr-Commit-Position: refs/heads/master@{#422149}

Patch Set 1 #

Patch Set 2 : typo #

Total comments: 2

Patch Set 3 : fix deps #

Patch Set 4 : rebase #

Unified diffs Side-by-side diffs Delta from patch set Stats (+54 lines, -109 lines) Patch
M ash/BUILD.gn View 1 2 5 chunks +4 lines, -1 line 0 comments Download
M ash/app_list/app_list_presenter_delegate.cc View 2 chunks +1 line, -1 line 0 comments Download
M ash/common/DEPS View 1 chunk +1 line, -0 lines 0 comments Download
M ash/common/shelf/app_list_button.cc View 1 chunk +1 line, -1 line 0 comments Download
M ash/common/shelf/shelf_alignment_menu.cc View 1 chunk +1 line, -1 line 0 comments Download
M ash/common/shelf/shelf_background_animator.h View 1 chunk +1 line, -1 line 0 comments Download
M ash/common/shelf/shelf_layout_manager.h View 2 chunks +1 line, -1 line 0 comments Download
M ash/common/shelf/shelf_layout_manager_observer.h View 1 chunk +1 line, -1 line 0 comments Download
M ash/common/shelf/shelf_locking_manager.h View 1 chunk +1 line, -1 line 0 comments Download
D ash/common/shelf/shelf_types.h View 1 chunk +0 lines, -60 lines 0 comments Download
M ash/common/shelf/shelf_widget.h View 1 chunk +1 line, -1 line 0 comments Download
M ash/common/shelf/wm_shelf.h View 1 chunk +1 line, -1 line 0 comments Download
M ash/common/shelf/wm_shelf_observer.h View 1 chunk +1 line, -1 line 0 comments Download
M ash/common/shelf/wm_shelf_util.h View 1 chunk +1 line, -1 line 0 comments Download
M ash/common/system/cast/tray_cast.cc View 2 chunks +1 line, -1 line 0 comments Download
M ash/common/system/chromeos/session/logout_button_tray.cc View 2 chunks +1 line, -1 line 0 comments Download
M ash/common/system/overview/overview_button_tray.cc View 2 chunks +1 line, -1 line 0 comments Download
M ash/common/system/status_area_widget.h View 1 chunk +1 line, -1 line 0 comments Download
M ash/common/system/status_area_widget_delegate.h View 1 chunk +1 line, -1 line 0 comments Download
M ash/common/system/tray/system_tray_item.h View 1 chunk +1 line, -1 line 0 comments Download
M ash/common/system/tray/tray_background_view.h View 1 chunk +1 line, -1 line 0 comments Download
M ash/common/system/tray/tray_item_view.cc View 1 chunk +1 line, -1 line 0 comments Download
M ash/common/system/tray/tray_utils.h View 1 chunk +1 line, -1 line 0 comments Download
M ash/common/system/web_notification/ash_popup_alignment_delegate.h View 1 chunk +1 line, -1 line 0 comments Download
M ash/common/system/web_notification/ash_popup_alignment_delegate.cc View 1 chunk +1 line, -1 line 0 comments Download
M ash/common/wm/overview/window_grid.cc View 2 chunks +1 line, -1 line 0 comments Download
M ash/content/keyboard_overlay/keyboard_overlay_delegate_unittest.cc View 1 chunk +1 line, -1 line 0 comments Download
M ash/mus/context_menu_mus.cc View 1 chunk +1 line, -1 line 0 comments Download
M ash/mus/shelf_delegate_mus.h View 1 chunk +1 line, -1 line 0 comments Download
A + ash/public/cpp/BUILD.gn View 1 chunk +2 lines, -2 lines 0 comments Download
A + ash/public/cpp/shelf_types.h View 2 chunks +3 lines, -3 lines 0 comments Download
M ash/public/interfaces/shelf.typemap View 1 chunk +2 lines, -2 lines 0 comments Download
M ash/public/interfaces/shelf_enum_traits.h View 1 chunk +1 line, -1 line 0 comments Download
M ash/root_window_controller.h View 1 chunk +1 line, -1 line 0 comments Download
M ash/root_window_controller.cc View 2 chunks +1 line, -1 line 0 comments Download
M ash/shelf/shelf_window_targeter.cc View 1 chunk +1 line, -1 line 0 comments Download
M ash/shell.h View 1 chunk +1 line, -1 line 0 comments Download
M ash/shell/context_menu.cc View 1 chunk +1 line, -1 line 0 comments Download
M ash/system/overview/overview_button_tray_unittest.cc View 1 chunk +1 line, -1 line 0 comments Download
M ash/system/web_notification/ash_popup_alignment_delegate_unittest.cc View 1 chunk +1 line, -1 line 0 comments Download
M ash/wm/dock/docked_window_resizer_unittest.cc View 2 chunks +1 line, -1 line 0 comments Download
M ash/wm/immersive_fullscreen_controller_unittest.cc View 1 chunk +1 line, -1 line 0 comments Download
M ash/wm/panels/panel_layout_manager_unittest.cc View 2 chunks +1 line, -1 line 0 comments Download
M ash/wm/panels/panel_window_resizer_unittest.cc View 2 chunks +1 line, -1 line 0 comments Download
M chrome/browser/ui/BUILD.gn View 1 2 3 1 chunk +1 line, -0 lines 0 comments Download
M chrome/browser/ui/ash/chrome_launcher_prefs.h View 1 chunk +1 line, -1 line 0 comments Download
M chrome/browser/ui/ash/launcher/chrome_launcher_controller_impl.h View 1 chunk +1 line, -1 line 0 comments Download
M chrome/browser/ui/views/frame/immersive_mode_controller_ash_unittest.cc View 1 chunk +1 line, -1 line 0 comments Download

Messages

Total messages: 16 (8 generated)
James Cook
rockot, please take a look at //ash/public/* msw, can I get a rubber-stamp for the ...
4 years, 2 months ago (2016-09-30 01:36:11 UTC) #4
msw
lgtm, thanks! (ash/public/cpp seems better than ash/shared) https://codereview.chromium.org/2376103005/diff/20001/ash/public/interfaces/shelf.typemap File ash/public/interfaces/shelf.typemap (right): https://codereview.chromium.org/2376103005/diff/20001/ash/public/interfaces/shelf.typemap#newcode7 ash/public/interfaces/shelf.typemap:7: traits_headers = ...
4 years, 2 months ago (2016-09-30 01:50:09 UTC) #7
sky
Correct me if I'm wrong, but ash/shared and ash/public/cpp seem to be slightly different use ...
4 years, 2 months ago (2016-09-30 03:11:56 UTC) #8
Ken Rockot(use gerrit already)
LGTM as non-owner. I could see treating ash/shared as stuff which is shared between the ...
4 years, 2 months ago (2016-09-30 03:14:47 UTC) #9
James Cook
I like the idea of combining ash/shared and ash/public/cpp into just ash/public/cpp. That means we ...
4 years, 2 months ago (2016-09-30 15:42:12 UTC) #10
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/2376103005/60001
4 years, 2 months ago (2016-09-30 16:28:29 UTC) #13
commit-bot: I haz the power
Committed patchset #4 (id:60001)
4 years, 2 months ago (2016-09-30 17:50:28 UTC) #14
commit-bot: I haz the power
4 years, 2 months ago (2016-09-30 17:52:48 UTC) #16
Message was sent while issue was closed.
Patchset 4 (id:??) landed as
https://crrev.com/d4649fa5f41c85707a7c1641e940d7a83549d454
Cr-Commit-Position: refs/heads/master@{#422149}

Powered by Google App Engine
This is Rietveld 408576698