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

Issue 2452283003: chromeos: Make network enrollment and SIM unlock dialogs work with mash (Closed)

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

Description

chromeos: Make network enrollment and SIM unlock dialogs work with mash Chrome running in mash cannot directly access the ash aura window hierarchy. Instead it must pass an ash window container id when a new window is being opened. * Convert dialogs to use container id when no explicit parent is available * Remove ash dependencies from NetworkConnectDelegateChromeos, including GetNativeWindow() * Add DEPS to restrict access to ash from chrome/browser/chromeos/net Also do some cleanup: * Add class comments for captive portal and HaTS dialogs, which I audited. They do not need to be fixed for mash because they are always displayed in the default container. * Fix include-what-you-use. BUG=657021 TEST=chrome browser_tests Committed: https://crrev.com/f44dbc1714dc8e15a394c6eac2fbbfddf47dfb52 Cr-Commit-Position: refs/heads/master@{#428569}

Patch Set 1 #

Total comments: 6

Patch Set 2 : review comments #

Total comments: 1

Patch Set 3 : rebase #

Patch Set 4 : rebase #

Unified diffs Side-by-side diffs Delta from patch set Stats (+93 lines, -30 lines) Patch
M chrome/browser/chromeos/enrollment_dialog_view.h View 1 2 1 chunk +4 lines, -5 lines 0 comments Download
M chrome/browser/chromeos/enrollment_dialog_view.cc View 1 2 2 chunks +8 lines, -1 line 0 comments Download
M chrome/browser/chromeos/hats/hats_dialog.h View 2 chunks +3 lines, -4 lines 0 comments Download
M chrome/browser/chromeos/net/DEPS View 1 chunk +16 lines, -0 lines 0 comments Download
M chrome/browser/chromeos/net/network_connect_delegate_chromeos.cc View 1 2 2 chunks +9 lines, -15 lines 0 comments Download
M chrome/browser/chromeos/net/network_portal_notification_controller.h View 1 chunk +2 lines, -0 lines 0 comments Download
M chrome/browser/chromeos/sim_dialog_delegate.h View 2 chunks +3 lines, -2 lines 0 comments Download
M chrome/browser/chromeos/sim_dialog_delegate.cc View 2 chunks +9 lines, -3 lines 0 comments Download
M chrome/browser/ui/ash/system_tray_client.h View 1 2 chunks +11 lines, -0 lines 0 comments Download
M chrome/browser/ui/ash/system_tray_client.cc View 1 2 3 3 chunks +28 lines, -0 lines 0 comments Download

Messages

Total messages: 24 (15 generated)
James Cook
stevenjb, please take a look. https://codereview.chromium.org/2452283003/diff/1/chrome/browser/chromeos/enrollment_dialog_view.cc File chrome/browser/chromeos/enrollment_dialog_view.cc (right): https://codereview.chromium.org/2452283003/diff/1/chrome/browser/chromeos/enrollment_dialog_view.cc#newcode122 chrome/browser/chromeos/enrollment_dialog_view.cc:122: int container_id = SystemTrayClient::GetDialogParentContainerId(); ...
4 years, 1 month ago (2016-10-27 18:20:37 UTC) #4
stevenjb
https://codereview.chromium.org/2452283003/diff/1/chrome/browser/chromeos/enrollment_dialog_view.cc File chrome/browser/chromeos/enrollment_dialog_view.cc (right): https://codereview.chromium.org/2452283003/diff/1/chrome/browser/chromeos/enrollment_dialog_view.cc#newcode122 chrome/browser/chromeos/enrollment_dialog_view.cc:122: int container_id = SystemTrayClient::GetDialogParentContainerId(); On 2016/10/27 18:20:37, James Cook ...
4 years, 1 month ago (2016-10-27 18:45:13 UTC) #5
James Cook
stevenjb, please take another look. https://codereview.chromium.org/2452283003/diff/1/chrome/browser/chromeos/enrollment_dialog_view.cc File chrome/browser/chromeos/enrollment_dialog_view.cc (right): https://codereview.chromium.org/2452283003/diff/1/chrome/browser/chromeos/enrollment_dialog_view.cc#newcode122 chrome/browser/chromeos/enrollment_dialog_view.cc:122: int container_id = SystemTrayClient::GetDialogParentContainerId(); ...
4 years, 1 month ago (2016-10-27 22:28:27 UTC) #9
stevenjb
Thanks, this makes a lot more sense to me. LGTM
4 years, 1 month ago (2016-10-27 22:48:31 UTC) #11
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/2452283003/40001
4 years, 1 month ago (2016-10-27 23:03:29 UTC) #16
commit-bot: I haz the power
Failed to apply patch for chrome/browser/ui/ash/system_tray_client.cc: While running git apply --index -3 -p1; error: patch ...
4 years, 1 month ago (2016-10-27 23:55:38 UTC) #18
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/2452283003/60001
4 years, 1 month ago (2016-10-29 00:24:14 UTC) #21
commit-bot: I haz the power
Committed patchset #4 (id:60001)
4 years, 1 month ago (2016-10-29 00:52:37 UTC) #22
commit-bot: I haz the power
4 years, 1 month ago (2016-10-29 01:00:57 UTC) #24
Message was sent while issue was closed.
Patchset 4 (id:??) landed as
https://crrev.com/f44dbc1714dc8e15a394c6eac2fbbfddf47dfb52
Cr-Commit-Position: refs/heads/master@{#428569}

Powered by Google App Engine
This is Rietveld 408576698