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

Unified Diff: chrome/browser/ui/webui/options/chromeos/internet_options_handler.h

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/webui/options/chromeos/internet_options_handler.h
diff --git a/chrome/browser/ui/webui/options/chromeos/internet_options_handler.h b/chrome/browser/ui/webui/options/chromeos/internet_options_handler.h
index 19dba2aea139b60171b77222d7a28559822cbcfa..cb96f7b9f0bcf1704f6a2db2498714f67b58cd2e 100644
--- a/chrome/browser/ui/webui/options/chromeos/internet_options_handler.h
+++ b/chrome/browser/ui/webui/options/chromeos/internet_options_handler.h
@@ -22,6 +22,7 @@ class ImageSkia;
namespace views {
class WidgetDelegate;
+struct WidgetParent;
}
namespace chromeos {
@@ -44,9 +45,12 @@ class InternetOptionsHandler : public ::options::OptionsPageUIHandler {
void ShowMorePlanInfoCallback(const base::ListValue* args);
void SimOperationCallback(const base::ListValue* args);
- // Gets the native window for hosting dialogs, etc.
+ // Deprecated: Use GetWidgetParent() instead.
gfx::NativeWindow GetNativeWindow() const;
+ // Returns a parent for hosting dialogs.
+ views::WidgetParent GetWidgetParent() const;
+
// Gets the user PrefService associated with the WebUI.
const PrefService* GetPrefs() const;

Powered by Google App Engine
This is Rietveld 408576698