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

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

Issue 2426473009: mash: Place views Wi-Fi network config dialogs in correct window parent (Closed)
Patch Set: rebase Created 4 years, 2 months 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_delegate_chromeos.cc
diff --git a/chrome/browser/ui/ash/system_tray_delegate_chromeos.cc b/chrome/browser/ui/ash/system_tray_delegate_chromeos.cc
index 5e37efa4dc0b65b2bee58d14286a3560e5d03dbd..a10c8c7cc91b58a642b963201500d73261e2b170 100644
--- a/chrome/browser/ui/ash/system_tray_delegate_chromeos.cc
+++ b/chrome/browser/ui/ash/system_tray_delegate_chromeos.cc
@@ -110,6 +110,7 @@
#include "ui/base/l10n/time_format.h"
#include "ui/chromeos/ime/input_method_menu_item.h"
#include "ui/chromeos/ime/input_method_menu_manager.h"
+#include "ui/views/widget/widget_parent.h"
#if defined(ENABLE_SUPERVISED_USERS)
#include "chrome/browser/supervised_user/supervised_user_service.h"
@@ -576,7 +577,9 @@ void SystemTrayDelegateChromeOS::ShowOtherNetworkDialog(
ChooseMobileNetworkDialog::ShowDialog(GetNativeWindow());
return;
}
- NetworkConfigView::ShowForType(type, GetNativeWindow());
+ views::WidgetParent widget_parent;
+ widget_parent.native_parent = GetNativeWindow();
+ NetworkConfigView::ShowForType(type, widget_parent);
}
bool SystemTrayDelegateChromeOS::GetBluetoothAvailable() {

Powered by Google App Engine
This is Rietveld 408576698