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

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

Issue 607613002: Elim parent_window parameter from network_connect (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Elim includes Created 6 years, 3 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 8c8a8066102e4098acf27f25fcd2f9da57f4f3f3..86fdcca6fb5d7dddddae906ee31451c1a1543c32 100644
--- a/chrome/browser/ui/ash/system_tray_delegate_chromeos.cc
+++ b/chrome/browser/ui/ash/system_tray_delegate_chromeos.cc
@@ -746,15 +746,13 @@ void SystemTrayDelegateChromeOS::ActivateIMEProperty(const std::string& key) {
}
void SystemTrayDelegateChromeOS::ShowNetworkConfigure(
- const std::string& network_id,
- gfx::NativeWindow parent_window) {
- NetworkConfigView::Show(network_id, parent_window);
+ const std::string& network_id) {
+ NetworkConfigView::Show(network_id, GetNativeWindow());
}
bool SystemTrayDelegateChromeOS::EnrollNetwork(
- const std::string& network_id,
- gfx::NativeWindow parent_window) {
- return enrollment::CreateDialog(network_id, parent_window);
+ const std::string& network_id) {
+ return enrollment::CreateDialog(network_id, GetNativeWindow());
}
void SystemTrayDelegateChromeOS::ManageBluetoothDevices() {
« no previous file with comments | « chrome/browser/ui/ash/system_tray_delegate_chromeos.h ('k') | chrome/browser/ui/ash/system_tray_delegate_linux.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698