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

Unified Diff: chrome/browser/ui/ash/system_tray_client.cc

Issue 2458883002: chromeos: Refactor NetworkConfigView to use shared widget parent code for mash (Closed)
Patch Set: rebase Created 4 years, 1 month ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
Index: chrome/browser/ui/ash/system_tray_client.cc
diff --git a/chrome/browser/ui/ash/system_tray_client.cc b/chrome/browser/ui/ash/system_tray_client.cc
index 2b96e3e91aa219d5c8be437a6fe4ca0365e3c32a..d848ee93b63ef81555f2f64f65e4e0d2dd36bd2e 100644
--- a/chrome/browser/ui/ash/system_tray_client.cc
+++ b/chrome/browser/ui/ash/system_tray_client.cc
@@ -239,8 +239,8 @@ void SystemTrayClient::ShowNetworkConfigure(const std::string& network_id) {
}
// Dialog will default to the primary display.
- chromeos::NetworkConfigView::ShowInContainer(network_id,
- GetDialogParentContainerId());
+ chromeos::NetworkConfigView::ShowForNetworkId(network_id,
+ nullptr /* parent */);
}
void SystemTrayClient::ShowNetworkCreate(const std::string& type) {
@@ -249,7 +249,7 @@ void SystemTrayClient::ShowNetworkCreate(const std::string& type) {
chromeos::ChooseMobileNetworkDialog::ShowDialogInContainer(container_id);
return;
}
- chromeos::NetworkConfigView::ShowForTypeInContainer(type, container_id);
+ chromeos::NetworkConfigView::ShowForType(type, nullptr /* parent */);
}
void SystemTrayClient::ShowNetworkSettings(const std::string& network_id) {

Powered by Google App Engine
This is Rietveld 408576698