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

Side by Side Diff: chrome/browser/chromeos/login/network_selection_view.h

Issue 2878055: Make theme change notifications auto-propagate through the view hierarchy, in... (Closed) Base URL: svn://chrome-svn/chrome/trunk/src/
Patch Set: '' Created 10 years, 5 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 unified diff | Download patch | Annotate | Revision Log
OLDNEW
1 // Copyright (c) 2010 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2010 The Chromium Authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style license that can be 2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file. 3 // found in the LICENSE file.
4 4
5 #ifndef CHROME_BROWSER_CHROMEOS_LOGIN_NETWORK_SELECTION_VIEW_H_ 5 #ifndef CHROME_BROWSER_CHROMEOS_LOGIN_NETWORK_SELECTION_VIEW_H_
6 #define CHROME_BROWSER_CHROMEOS_LOGIN_NETWORK_SELECTION_VIEW_H_ 6 #define CHROME_BROWSER_CHROMEOS_LOGIN_NETWORK_SELECTION_VIEW_H_
7 7
8 #include <string> 8 #include <string>
9 9
10 #include "views/controls/button/menu_button.h" 10 #include "views/controls/button/menu_button.h"
(...skipping 40 matching lines...) Expand 10 before | Expand all | Expand 10 after
51 51
52 // Shows network connecting status or network selection otherwise. 52 // Shows network connecting status or network selection otherwise.
53 void ShowConnectingStatus(bool connecting, const string16& network_id); 53 void ShowConnectingStatus(bool connecting, const string16& network_id);
54 54
55 // Sets whether continue control is enabled. 55 // Sets whether continue control is enabled.
56 void EnableContinue(bool enabled); 56 void EnableContinue(bool enabled);
57 57
58 protected: 58 protected:
59 // Overridden from views::View. 59 // Overridden from views::View.
60 virtual void ChildPreferredSizeChanged(View* child); 60 virtual void ChildPreferredSizeChanged(View* child);
61 virtual void LocaleChanged(); 61 virtual void OnLocaleChanged();
62 62
63 private: 63 private:
64 // Delete and recreate native controls that 64 // Delete and recreate native controls that
65 // fail to update preferred size after string update. 65 // fail to update preferred size after string update.
66 void RecreateNativeControls(); 66 void RecreateNativeControls();
67 67
68 // Updates text on label with currently connecting network. 68 // Updates text on label with currently connecting network.
69 void UpdateConnectingNetworkLabel(); 69 void UpdateConnectingNetworkLabel();
70 70
71 // Dialog controls. 71 // Dialog controls.
(...skipping 11 matching lines...) Expand all
83 83
84 // Id of the network that is in process of connecting. 84 // Id of the network that is in process of connecting.
85 string16 network_id_; 85 string16 network_id_;
86 86
87 DISALLOW_COPY_AND_ASSIGN(NetworkSelectionView); 87 DISALLOW_COPY_AND_ASSIGN(NetworkSelectionView);
88 }; 88 };
89 89
90 } // namespace chromeos 90 } // namespace chromeos
91 91
92 #endif // CHROME_BROWSER_CHROMEOS_LOGIN_NETWORK_SELECTION_VIEW_H_ 92 #endif // CHROME_BROWSER_CHROMEOS_LOGIN_NETWORK_SELECTION_VIEW_H_
OLDNEW
« no previous file with comments | « chrome/browser/chromeos/login/eula_view.cc ('k') | chrome/browser/chromeos/login/network_selection_view.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698