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

Unified Diff: chrome/browser/ui/webui/chromeos/login/network_dropdown.h

Issue 8834011: [cros] Postpone call to GetNativeWindow() in NetworkDropdown till it's really needed. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 9 years 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
« no previous file with comments | « no previous file | chrome/browser/ui/webui/chromeos/login/network_dropdown.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/browser/ui/webui/chromeos/login/network_dropdown.h
diff --git a/chrome/browser/ui/webui/chromeos/login/network_dropdown.h b/chrome/browser/ui/webui/chromeos/login/network_dropdown.h
index d5a6e7fd8bd3a7b7635be9bc71a31f7bc8e8da93..cc521d49614b5fd8af10961780b791dd2db74fc4 100644
--- a/chrome/browser/ui/webui/chromeos/login/network_dropdown.h
+++ b/chrome/browser/ui/webui/chromeos/login/network_dropdown.h
@@ -22,7 +22,7 @@ class NetworkDropdown : public NetworkMenu::Delegate,
NetworkLibrary::NetworkManagerObserver,
public LoginHtmlDialog::Delegate {
public:
- NetworkDropdown(WebUI* web_ui, gfx::NativeWindow parent_window, bool oobe);
+ NetworkDropdown(WebUI* web_ui, bool oobe);
virtual ~NetworkDropdown();
// Sets last active network type. Used to show correct disconnected icon.
@@ -55,8 +55,6 @@ class NetworkDropdown : public NetworkMenu::Delegate,
private:
void SetNetworkIconAndText();
- gfx::NativeWindow parent_window_;
-
// The Network menu.
scoped_ptr<NetworkMenuWebUI> network_menu_;
// The Network menu icon.
« no previous file with comments | « no previous file | chrome/browser/ui/webui/chromeos/login/network_dropdown.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698