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

Issue 2023883002: Update Ash CustomFrame to not directly access Shell (Closed)

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

Description

Update Ash CustomFrame to not directly access Shell The ash::Shell is not available when runnig in Mash. Update the frame code to exit early in this environment. Committed: https://crrev.com/151a30547ebed34badf6ebf14f60701e2123cf52 Cr-Commit-Position: refs/heads/master@{#397264}

Patch Set 1 #

Patch Set 2 : Modify Frame Creation Instead #

Total comments: 2

Patch Set 3 : #

Unified diffs Side-by-side diffs Delta from patch set Stats (+3 lines, -0 lines) Patch
M chrome/browser/ui/views/apps/chrome_native_app_window_views_aura_ash.cc View 1 2 1 chunk +3 lines, -0 lines 0 comments Download

Messages

Total messages: 16 (4 generated)
jonross
Hey, Small change that allows extensions/apps to boot within mash. However if would be good ...
4 years, 6 months ago (2016-05-30 17:18:32 UTC) #2
sadrul
+sky@ for his thoughts as well. I think this fix is needed because it's the ...
4 years, 6 months ago (2016-05-31 15:53:57 UTC) #4
sky
It seems like we shouldn't be creating CustomFrameViewAsh. What code is triggering that? Might it ...
4 years, 6 months ago (2016-05-31 19:12:44 UTC) #5
jonross
On 2016/05/31 19:12:44, sky wrote: > It seems like we shouldn't be creating CustomFrameViewAsh. What ...
4 years, 6 months ago (2016-05-31 19:59:01 UTC) #6
sky
It's the extension/app code triggering the creation. It should look do something different when running ...
4 years, 6 months ago (2016-05-31 21:02:13 UTC) #7
jonross
On 2016/05/31 21:02:13, sky wrote: > It's the extension/app code triggering the creation. It should ...
4 years, 6 months ago (2016-06-01 15:43:47 UTC) #8
sky
https://codereview.chromium.org/2023883002/diff/20001/chrome/browser/ui/views/apps/chrome_native_app_window_views_aura_ash.cc File chrome/browser/ui/views/apps/chrome_native_app_window_views_aura_ash.cc (right): https://codereview.chromium.org/2023883002/diff/20001/chrome/browser/ui/views/apps/chrome_native_app_window_views_aura_ash.cc#newcode276 chrome/browser/ui/views/apps/chrome_native_app_window_views_aura_ash.cc:276: if (chrome::IsRunningInMash()) { nit: no {} I'm not familiar ...
4 years, 6 months ago (2016-06-01 17:06:16 UTC) #9
jonross
https://codereview.chromium.org/2023883002/diff/20001/chrome/browser/ui/views/apps/chrome_native_app_window_views_aura_ash.cc File chrome/browser/ui/views/apps/chrome_native_app_window_views_aura_ash.cc (right): https://codereview.chromium.org/2023883002/diff/20001/chrome/browser/ui/views/apps/chrome_native_app_window_views_aura_ash.cc#newcode276 chrome/browser/ui/views/apps/chrome_native_app_window_views_aura_ash.cc:276: if (chrome::IsRunningInMash()) { On 2016/06/01 17:06:16, sky wrote: > ...
4 years, 6 months ago (2016-06-01 20:47:44 UTC) #10
sky
Great, LGTM
4 years, 6 months ago (2016-06-01 20:54:22 UTC) #11
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/2023883002/40001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/2023883002/40001
4 years, 6 months ago (2016-06-01 20:55:40 UTC) #13
commit-bot: I haz the power
Committed patchset #3 (id:40001)
4 years, 6 months ago (2016-06-01 22:05:02 UTC) #14
commit-bot: I haz the power
4 years, 6 months ago (2016-06-01 22:08:10 UTC) #16
Message was sent while issue was closed.
Patchset 3 (id:??) landed as
https://crrev.com/151a30547ebed34badf6ebf14f60701e2123cf52
Cr-Commit-Position: refs/heads/master@{#397264}

Powered by Google App Engine
This is Rietveld 408576698