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

Issue 2664113004: Reland: mash: Fix MusPropertyMirrorAsh for owned properties; add test. (Closed)

Created:
3 years, 10 months ago by msw
Modified:
3 years, 10 months ago
Reviewers:
Tom Sepez, reveman, sky
CC:
chromium-reviews, kalyank, sadrul, tfarina
Target Ref:
refs/pending/heads/master
Project:
chromium
Visibility:
Public.

Description

Reland: mash: Fix MusPropertyMirrorAsh for owned properties; add test. The original CL (PS1) was reverted for test failures, which I fixed here. Differences from the the original CL: -Make ash/public/cpp a component to support exporting symbols (this allows ash and clients to share window property keys) (rename cpp component to ash_public_cpp to avoid name conflict) -Move ShelfItem back to ash/common/shelf (shouldn't be used externally) -Move the shelf item types into ash/public/cpp/shelf_types.h -TODO: rename ash/common/shelf/shelf_item_types.* to shelf_item.* Modified Original Description: mash: Fix MusPropertyMirrorAsh for owned properties; add test. I fixed gfx::ImageSkia in: https://codereview.chromium.org/2667743003 This CL fixes the owned string properties similarly. Move the ash mirror to it's own file; add mash_unittest fixtures. Remove the ShelfID mirroring (this prop hopefully shouldn't be needed) Fallout from move to ash/public/cpp: -Move some shelf_item_types.h to ash/public/cpp/shelf_types.h -Move kInvalidShelfID to avoid moving shelf_constants.h (better home) -Move two mirrored ash window properties to ash/public/cpp BUG=686936 TEST=automated; no crashes running apps on chrome --mash. R=sky@chromium.org Review-Url: https://codereview.chromium.org/2669633003 Cr-Commit-Position: refs/heads/master@{#447455} Committed: https://chromium.googlesource.com/chromium/src/+/612e45de4250e73fa0df767121d7d6ae4f2c9c83 patch from issue 2669633003 at patchset 100001 (http://crrev.com/2669633003#ps100001) Review-Url: https://codereview.chromium.org/2664113004 Cr-Commit-Position: refs/heads/master@{#447819} Committed: https://chromium.googlesource.com/chromium/src/+/8329bfa3d93c3e5cd84a82268500af6989f157f3

Patch Set 1 #

Patch Set 2 : Fixing ash public export; move ShelfItem back to common. #

Patch Set 3 : Cleanup #

Patch Set 4 : Sync and rebase. #

Unified diffs Side-by-side diffs Delta from patch set Stats (+355 lines, -142 lines) Patch
M ash/BUILD.gn View 1 6 chunks +6 lines, -6 lines 0 comments Download
M ash/autoclick/mus/BUILD.gn View 1 1 chunk +1 line, -1 line 0 comments Download
M ash/common/BUILD.gn View 1 2 chunks +2 lines, -1 line 0 comments Download
A ash/common/mus_property_mirror_ash_unittest.cc View 1 chunk +90 lines, -0 lines 0 comments Download
M ash/common/shelf/shelf_constants.h View 1 chunk +0 lines, -2 lines 0 comments Download
M ash/common/shelf/shelf_item_types.h View 1 1 chunk +4 lines, -42 lines 0 comments Download
M ash/common/test/BUILD.gn View 1 1 chunk +1 line, -1 line 0 comments Download
M ash/common/wm_window.cc View 2 1 chunk +1 line, -0 lines 0 comments Download
M ash/mus/BUILD.gn View 1 1 chunk +1 line, -1 line 0 comments Download
M ash/mus/window_manager.cc View 1 chunk +1 line, -1 line 0 comments Download
M ash/public/cpp/BUILD.gn View 1 2 1 chunk +10 lines, -1 line 0 comments Download
A ash/public/cpp/ash_public_export.h View 1 1 chunk +34 lines, -0 lines 0 comments Download
A ash/public/cpp/mus_property_mirror_ash.h View 1 1 chunk +33 lines, -0 lines 0 comments Download
A ash/public/cpp/mus_property_mirror_ash.cc View 2 1 chunk +54 lines, -0 lines 0 comments Download
M ash/public/cpp/shelf_types.h View 1 1 chunk +41 lines, -0 lines 0 comments Download
M ash/public/cpp/shell_window_ids.h View 1 2 chunks +5 lines, -3 lines 0 comments Download
A ash/public/cpp/window_properties.h View 1 2 1 chunk +37 lines, -0 lines 0 comments Download
A ash/public/cpp/window_properties.cc View 1 chunk +13 lines, -0 lines 0 comments Download
M ash/public/interfaces/session_controller.typemap View 1 1 chunk +1 line, -1 line 0 comments Download
M ash/public/interfaces/shelf.typemap View 1 1 chunk +1 line, -1 line 0 comments Download
M ash/public/interfaces/wallpaper.typemap View 1 1 chunk +1 line, -1 line 0 comments Download
M ash/shell/panel_window.cc View 1 chunk +1 line, -1 line 0 comments Download
M ash/test/BUILD.gn View 1 1 chunk +1 line, -1 line 0 comments Download
M ash/touch_hud/mus/BUILD.gn View 1 1 chunk +1 line, -1 line 0 comments Download
M ash/wm/dock/docked_window_resizer_unittest.cc View 1 chunk +1 line, -1 line 0 comments Download
M ash/wm/panels/panel_window_resizer_unittest.cc View 2 1 chunk +1 line, -1 line 0 comments Download
M ash/wm/window_properties.h View 2 chunks +0 lines, -6 lines 0 comments Download
M ash/wm/window_properties.cc View 3 chunks +0 lines, -5 lines 0 comments Download
M chrome/browser/ui/BUILD.gn View 1 2 3 1 chunk +1 line, -1 line 0 comments Download
M chrome/browser/ui/ash/launcher/chrome_launcher_controller_impl_browsertest.cc View 1 chunk +1 line, -1 line 0 comments Download
M chrome/browser/ui/ash/launcher/settings_window_observer.cc View 1 2 3 1 chunk +1 line, -1 line 0 comments Download
M chrome/browser/ui/views/apps/chrome_native_app_window_views_aura_ash.cc View 1 chunk +1 line, -0 lines 0 comments Download
M chrome/browser/ui/views/ash/chrome_browser_main_extra_parts_ash.cc View 3 chunks +4 lines, -56 lines 0 comments Download
M chrome/browser/ui/views/task_manager_view.cc View 1 chunk +1 line, -1 line 0 comments Download
M components/exo/BUILD.gn View 1 3 chunks +3 lines, -3 lines 0 comments Download
M components/exo/wayland/BUILD.gn View 1 1 chunk +1 line, -1 line 0 comments Download

Messages

Total messages: 25 (16 generated)
msw
Hey Scott, please take a look; thanks!
3 years, 10 months ago (2017-02-01 22:20:54 UTC) #9
sky
LGTM
3 years, 10 months ago (2017-02-01 22:49:23 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/2664113004/80001
3 years, 10 months ago (2017-02-02 00:12:31 UTC) #14
commit-bot: I haz the power
Try jobs failed on following builders: chromium_presubmit on master.tryserver.chromium.linux (JOB_FAILED, http://build.chromium.org/p/tryserver.chromium.linux/builders/chromium_presubmit/builds/355153)
3 years, 10 months ago (2017-02-02 00:22:15 UTC) #16
msw
+tsepez@ for ash/public/interfaces/OWNERS +reveman@ for components/exo/OWNERS please take a look (dep target rename), thanks!
3 years, 10 months ago (2017-02-02 00:25:24 UTC) #18
reveman
components/exo lgtm
3 years, 10 months ago (2017-02-02 02:41:53 UTC) #19
Tom Sepez
OWNERS LGTM
3 years, 10 months ago (2017-02-02 18:44:22 UTC) #20
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/2664113004/80001
3 years, 10 months ago (2017-02-02 19:24:13 UTC) #22
commit-bot: I haz the power
3 years, 10 months ago (2017-02-02 19:35:51 UTC) #25
Message was sent while issue was closed.
Committed patchset #4 (id:80001) as
https://chromium.googlesource.com/chromium/src/+/8329bfa3d93c3e5cd84a82268500...

Powered by Google App Engine
This is Rietveld 408576698