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

Issue 2455513003: chromeos: Make enterprise help dialog work in mash, part 1 (Closed)

Created:
4 years, 1 month ago by James Cook
Modified:
4 years, 1 month ago
Reviewers:
xiyuan, stevenjb
CC:
chromium-reviews, alemate+watch_chromium.org, sadrul, achuith+watch_chromium.org, oshima+watch_chromium.org, kalyank, davemoore+watch_chromium.org
Target Ref:
refs/pending/heads/master
Project:
chromium
Visibility:
Public.

Description

chromeos: Make enterprise help dialog work in mash, part 1 Under mash code in chrome cannot directly access the ash aura window hierarchy. Instead it must pass an ash window container id when a new window is being opened. This eliminates the last use of GetNativeWindow in SystemTrayDelegateChromeos. Also clean up some include-what-you-use violations. TODO: Convert system tray enterprise delegate methods to a mojo interface. BUG=647412 TEST=chrome browser_tests. Also, on enterprise enrolled device at the lock screen click on system tray "This device is managed by..." item and verify that the help dialog appears on top of the login pods. Committed: https://crrev.com/4f58a16098b5f14112db1314c6751a8d8715a933 Cr-Commit-Position: refs/heads/master@{#427835}

Patch Set 1 #

Total comments: 3
Unified diffs Side-by-side diffs Delta from patch set Stats (+16 lines, -13 lines) Patch
M chrome/browser/chromeos/login/help_app_launcher.h View 2 chunks +4 lines, -3 lines 0 comments Download
M chrome/browser/chromeos/login/help_app_launcher.cc View 2 chunks +2 lines, -0 lines 0 comments Download
M chrome/browser/chromeos/login/ui/login_web_dialog.h View 1 chunk +2 lines, -0 lines 0 comments Download
M chrome/browser/chromeos/login/ui/login_web_dialog.cc View 2 chunks +7 lines, -1 line 2 comments Download
M chrome/browser/ui/ash/system_tray_delegate_chromeos.h View 1 chunk +0 lines, -2 lines 0 comments Download
M chrome/browser/ui/ash/system_tray_delegate_chromeos.cc View 2 chunks +1 line, -7 lines 1 comment Download

Messages

Total messages: 15 (8 generated)
James Cook
xiyuan, please take a look. https://codereview.chromium.org/2455513003/diff/1/chrome/browser/chromeos/login/ui/login_web_dialog.cc File chrome/browser/chromeos/login/ui/login_web_dialog.cc (right): https://codereview.chromium.org/2455513003/diff/1/chrome/browser/chromeos/login/ui/login_web_dialog.cc#newcode70 chrome/browser/chromeos/login/ui/login_web_dialog.cc:70: SystemTrayClient::GetDialogParentContainerId(), browser_context_, this); Aside: ...
4 years, 1 month ago (2016-10-26 17:58:09 UTC) #3
xiyuan
lgtm https://codereview.chromium.org/2455513003/diff/1/chrome/browser/chromeos/login/ui/login_web_dialog.cc File chrome/browser/chromeos/login/ui/login_web_dialog.cc (right): https://codereview.chromium.org/2455513003/diff/1/chrome/browser/chromeos/login/ui/login_web_dialog.cc#newcode70 chrome/browser/chromeos/login/ui/login_web_dialog.cc:70: SystemTrayClient::GetDialogParentContainerId(), browser_context_, this); On 2016/10/26 17:58:09, James Cook ...
4 years, 1 month ago (2016-10-26 19:30:07 UTC) #7
James Cook
stevenjb, can I get OWNERS for c/b/ui/ash ?
4 years, 1 month ago (2016-10-26 19:33:40 UTC) #9
stevenjb
lgtm! https://codereview.chromium.org/2455513003/diff/1/chrome/browser/ui/ash/system_tray_delegate_chromeos.cc File chrome/browser/ui/ash/system_tray_delegate_chromeos.cc (left): https://codereview.chromium.org/2455513003/diff/1/chrome/browser/ui/ash/system_tray_delegate_chromeos.cc#oldcode847 chrome/browser/ui/ash/system_tray_delegate_chromeos.cc:847: } Hooray!
4 years, 1 month ago (2016-10-26 19:39:07 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/2455513003/1
4 years, 1 month ago (2016-10-26 20:51:56 UTC) #12
commit-bot: I haz the power
Committed patchset #1 (id:1)
4 years, 1 month ago (2016-10-26 21:59:41 UTC) #13
commit-bot: I haz the power
4 years, 1 month ago (2016-10-26 22:03:33 UTC) #15
Message was sent while issue was closed.
Patchset 1 (id:??) landed as
https://crrev.com/4f58a16098b5f14112db1314c6751a8d8715a933
Cr-Commit-Position: refs/heads/master@{#427835}

Powered by Google App Engine
This is Rietveld 408576698