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

Issue 2655513002: mash: Relay some Chrome aura window properties to Ash. (Closed)

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

Description

mash: Relay some Chrome aura window properties to Ash. Register ash window properties with Chrome's PropertyConverter. (register kPanelAttachedKey and kShelfItemTypeKey) Create MusPropertyMirror to copy properties to root windows (mash frames). Make DesktopWindowTreeHostMus surface content window prop changes. Implement an ash mirror with a best-guess set of properties to copy at first. BUG=681233 TEST='chrome --mash' settings window title and shelf item are right. R=sky@chromium.org Review-Url: https://codereview.chromium.org/2655513002 Cr-Commit-Position: refs/heads/master@{#446862} Committed: https://chromium.googlesource.com/chromium/src/+/dc1ee54c6abd46f02adb02fcb119a553ee661a84

Patch Set 1 #

Patch Set 2 : Get item appearing for settings window... #

Patch Set 3 : Hacky client-side approach working. #

Patch Set 4 : Cleanup. #

Patch Set 5 : More cleanup. #

Total comments: 6

Patch Set 6 : Sync and rebase. #

Patch Set 7 : Address comments; use root window. #

Patch Set 8 : cleanup. #

Total comments: 10

Patch Set 9 : Address comments. #

Total comments: 4

Patch Set 10 : Address comments. #

Unified diffs Side-by-side diffs Delta from patch set Stats (+142 lines, -3 lines) Patch
M chrome/browser/ui/views/ash/chrome_browser_main_extra_parts_ash.h View 1 2 3 4 5 6 1 chunk +2 lines, -0 lines 0 comments Download
M chrome/browser/ui/views/ash/chrome_browser_main_extra_parts_ash.cc View 1 2 3 4 5 6 7 8 2 chunks +66 lines, -0 lines 0 comments Download
M ui/views/mus/desktop_window_tree_host_mus.h View 1 2 3 4 5 6 3 chunks +8 lines, -1 line 0 comments Download
M ui/views/mus/desktop_window_tree_host_mus.cc View 1 2 3 4 5 6 7 8 9 4 chunks +19 lines, -0 lines 0 comments Download
M ui/views/mus/mus_client.h View 1 2 3 4 5 6 7 8 4 chunks +8 lines, -2 lines 0 comments Download
M ui/views/mus/mus_client.cc View 1 2 3 4 5 6 7 8 2 chunks +5 lines, -0 lines 0 comments Download
A ui/views/mus/mus_property_mirror.h View 1 2 3 4 5 6 7 8 9 1 chunk +34 lines, -0 lines 0 comments Download

Messages

Total messages: 31 (22 generated)
msw
Hey Scott, please take a look; thanks! (help refining comments and cl desc is also ...
3 years, 10 months ago (2017-01-27 00:17:52 UTC) #6
sky
https://codereview.chromium.org/2655513002/diff/80001/chrome/browser/ui/views/ash/chrome_browser_main_extra_parts_ash.cc File chrome/browser/ui/views/ash/chrome_browser_main_extra_parts_ash.cc (right): https://codereview.chromium.org/2655513002/diff/80001/chrome/browser/ui/views/ash/chrome_browser_main_extra_parts_ash.cc#newcode56 chrome/browser/ui/views/ash/chrome_browser_main_extra_parts_ash.cc:56: int32_t value = window->GetProperty(ash::kShelfIDKey); This sure is ICK, isn't ...
3 years, 10 months ago (2017-01-27 16:20:20 UTC) #10
msw
Comments addressed. Please take another look; thanks! https://codereview.chromium.org/2655513002/diff/80001/chrome/browser/ui/views/ash/chrome_browser_main_extra_parts_ash.cc File chrome/browser/ui/views/ash/chrome_browser_main_extra_parts_ash.cc (right): https://codereview.chromium.org/2655513002/diff/80001/chrome/browser/ui/views/ash/chrome_browser_main_extra_parts_ash.cc#newcode56 chrome/browser/ui/views/ash/chrome_browser_main_extra_parts_ash.cc:56: int32_t value ...
3 years, 10 months ago (2017-01-27 19:11:34 UTC) #13
sky
https://codereview.chromium.org/2655513002/diff/160001/chrome/browser/ui/views/ash/chrome_browser_main_extra_parts_ash.cc File chrome/browser/ui/views/ash/chrome_browser_main_extra_parts_ash.cc (right): https://codereview.chromium.org/2655513002/diff/160001/chrome/browser/ui/views/ash/chrome_browser_main_extra_parts_ash.cc#newcode36 chrome/browser/ui/views/ash/chrome_browser_main_extra_parts_ash.cc:36: // Relays aura content window properties to its root ...
3 years, 10 months ago (2017-01-27 20:10:45 UTC) #16
msw
Comments addressed. Please take another look; thanks! https://codereview.chromium.org/2655513002/diff/160001/chrome/browser/ui/views/ash/chrome_browser_main_extra_parts_ash.cc File chrome/browser/ui/views/ash/chrome_browser_main_extra_parts_ash.cc (right): https://codereview.chromium.org/2655513002/diff/160001/chrome/browser/ui/views/ash/chrome_browser_main_extra_parts_ash.cc#newcode36 chrome/browser/ui/views/ash/chrome_browser_main_extra_parts_ash.cc:36: // Relays ...
3 years, 10 months ago (2017-01-27 21:19:25 UTC) #19
sky
LGTM https://codereview.chromium.org/2655513002/diff/180001/ui/views/mus/desktop_window_tree_host_mus.cc File ui/views/mus/desktop_window_tree_host_mus.cc (right): https://codereview.chromium.org/2655513002/diff/180001/ui/views/mus/desktop_window_tree_host_mus.cc#newcode703 ui/views/mus/desktop_window_tree_host_mus.cc:703: aura::Window* root_window = window->GetRootWindow(); root_window is the same ...
3 years, 10 months ago (2017-01-27 23:46:22 UTC) #24
msw
Landing; thanks for your help and review! https://codereview.chromium.org/2655513002/diff/180001/ui/views/mus/desktop_window_tree_host_mus.cc File ui/views/mus/desktop_window_tree_host_mus.cc (right): https://codereview.chromium.org/2655513002/diff/180001/ui/views/mus/desktop_window_tree_host_mus.cc#newcode703 ui/views/mus/desktop_window_tree_host_mus.cc:703: aura::Window* root_window ...
3 years, 10 months ago (2017-01-28 00:09:16 UTC) #25
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/2655513002/200001
3 years, 10 months ago (2017-01-28 00:10:09 UTC) #28
commit-bot: I haz the power
3 years, 10 months ago (2017-01-28 00:57:02 UTC) #31
Message was sent while issue was closed.
Committed patchset #10 (id:200001) as
https://chromium.googlesource.com/chromium/src/+/dc1ee54c6abd46f02adb02fcb119...

Powered by Google App Engine
This is Rietveld 408576698