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

Issue 2458883002: chromeos: Refactor NetworkConfigView to use shared widget parent code for mash (Closed)

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

Description

chromeos: Refactor NetworkConfigView to use shared widget parent code for mash Now that SystemTrayClient::CreateUnhostedDialogWidget exists for both mash and classic ash, convert NetworkConfigView to use it. This exposes the fact that LoginDisplayHost::GetNativeWindow does not return a valid mus window (aka ui::Window) parent. However, mash is converting soon to use aura::Window natively, so that problem will go away. Also, if the user is at a login screen then CreateUnhostedDialogWidget should do the right thing anyway. BUG=657021 TEST=open wifi password dialogs, both after and before login, on both mash and classic ash Committed: https://crrev.com/f3e88cbf92c8965319eef3a20e6073c8fe4bed6f Cr-Commit-Position: refs/heads/master@{#428731}

Patch Set 1 #

Patch Set 2 : rebase #

Unified diffs Side-by-side diffs Delta from patch set Stats (+38 lines, -99 lines) Patch
M chrome/browser/chromeos/options/network_config_view.h View 3 chunks +6 lines, -19 lines 0 comments Download
M chrome/browser/chromeos/options/network_config_view.cc View 1 6 chunks +27 lines, -75 lines 0 comments Download
M chrome/browser/ui/ash/system_tray_client.cc View 1 2 chunks +3 lines, -3 lines 0 comments Download
M chrome/browser/ui/webui/options/chromeos/internet_options_handler.cc View 1 1 chunk +1 line, -1 line 0 comments Download
M chrome/browser/ui/webui/settings/chromeos/internet_handler.cc View 1 chunk +1 line, -1 line 0 comments Download

Messages

Total messages: 14 (7 generated)
James Cook
stevenjb, please take a look.
4 years, 1 month ago (2016-10-28 00:07:23 UTC) #2
stevenjb
Hooray for code evolution! Thanks for doing this. We should make sure that connecting to ...
4 years, 1 month ago (2016-10-28 00:18:43 UTC) #3
stevenjb
On 2016/10/28 00:18:43, stevenjb wrote: > Hooray for code evolution! Thanks for doing this. > ...
4 years, 1 month ago (2016-10-28 00:20:37 UTC) #4
James Cook
Yep, I've been testing all these dialogs manually, either with Wi-Fi 2 or by hacking ...
4 years, 1 month ago (2016-10-31 15:46:30 UTC) #5
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/2458883002/20001
4 years, 1 month ago (2016-10-31 16:04:19 UTC) #11
commit-bot: I haz the power
Committed patchset #2 (id:20001)
4 years, 1 month ago (2016-10-31 16:22:05 UTC) #12
commit-bot: I haz the power
4 years, 1 month ago (2016-10-31 16:45:46 UTC) #14
Message was sent while issue was closed.
Patchset 2 (id:??) landed as
https://crrev.com/f3e88cbf92c8965319eef3a20e6073c8fe4bed6f
Cr-Commit-Position: refs/heads/master@{#428731}

Powered by Google App Engine
This is Rietveld 408576698