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

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

Issue 4235005: Push for ers:... (Closed) Base URL: svn://chrome-svn/chrome/trunk/src/
Patch Set: '' Created 10 years, 1 month 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_SCREEN_H_ 5 #ifndef CHROME_BROWSER_CHROMEOS_LOGIN_NETWORK_SCREEN_H_
6 #define CHROME_BROWSER_CHROMEOS_LOGIN_NETWORK_SCREEN_H_ 6 #define CHROME_BROWSER_CHROMEOS_LOGIN_NETWORK_SCREEN_H_
7 #pragma once 7 #pragma once
8 8
9 #include "base/scoped_ptr.h" 9 #include "base/scoped_ptr.h"
10 #include "base/string16.h" 10 #include "base/string16.h"
(...skipping 29 matching lines...) Expand all
40 return &language_switch_menu_; 40 return &language_switch_menu_;
41 } 41 }
42 virtual KeyboardSwitchMenu* keyboard_switch_menu() { 42 virtual KeyboardSwitchMenu* keyboard_switch_menu() {
43 return &keyboard_switch_menu_; 43 return &keyboard_switch_menu_;
44 } 44 }
45 virtual gfx::Size size() const { return GetScreenSize(); } 45 virtual gfx::Size size() const { return GetScreenSize(); }
46 46
47 // views::ButtonListener implementation: 47 // views::ButtonListener implementation:
48 virtual void ButtonPressed(views::Button* sender, const views::Event& event); 48 virtual void ButtonPressed(views::Button* sender, const views::Event& event);
49 49
50 // NetworkLibrary::Observer implementation: 50 // NetworkLibrary::NetworkManagerObserver implementation:
51 virtual void NetworkChanged(NetworkLibrary* network_lib); 51 virtual void OnNetworkManagerChanged(NetworkLibrary* network_lib);
52 52
53 protected: 53 protected:
54 // Subscribes NetworkScreen to the network change notification, 54 // Subscribes NetworkScreen to the network change notification,
55 // forces refresh of current network state. 55 // forces refresh of current network state.
56 void Refresh(); 56 void Refresh();
57 57
58 private: 58 private:
59 FRIEND_TEST(NetworkScreenTest, Timeout); 59 FRIEND_TEST(NetworkScreenTest, Timeout);
60 60
61 // ViewScreen implementation: 61 // ViewScreen implementation:
(...skipping 50 matching lines...) Expand 10 before | Expand all | Expand 10 after
112 112
113 // Help application used for help dialogs. 113 // Help application used for help dialogs.
114 scoped_ptr<HelpAppLauncher> help_app_; 114 scoped_ptr<HelpAppLauncher> help_app_;
115 115
116 DISALLOW_COPY_AND_ASSIGN(NetworkScreen); 116 DISALLOW_COPY_AND_ASSIGN(NetworkScreen);
117 }; 117 };
118 118
119 } // namespace chromeos 119 } // namespace chromeos
120 120
121 #endif // CHROME_BROWSER_CHROMEOS_LOGIN_NETWORK_SCREEN_H_ 121 #endif // CHROME_BROWSER_CHROMEOS_LOGIN_NETWORK_SCREEN_H_
OLDNEW
« no previous file with comments | « chrome/browser/chromeos/login/login_utils.cc ('k') | chrome/browser/chromeos/login/network_screen.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698