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

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

Issue 23684042: Eliminate NetworkManagerChanged (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Rebase Created 7 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 unified diff | Download patch | Annotate | Revision Log
OLDNEW
1 // Copyright (c) 2012 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2012 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_SCREENS_NETWORK_SCREEN_H_ 5 #ifndef CHROME_BROWSER_CHROMEOS_LOGIN_SCREENS_NETWORK_SCREEN_H_
6 #define CHROME_BROWSER_CHROMEOS_LOGIN_SCREENS_NETWORK_SCREEN_H_ 6 #define CHROME_BROWSER_CHROMEOS_LOGIN_SCREENS_NETWORK_SCREEN_H_
7 7
8 #include "base/compiler_specific.h" 8 #include "base/compiler_specific.h"
9 #include "base/memory/ref_counted.h" 9 #include "base/memory/ref_counted.h"
10 #include "base/strings/string16.h" 10 #include "base/strings/string16.h"
(...skipping 16 matching lines...) Expand all
27 NetworkScreen(ScreenObserver* screen_observer, NetworkScreenActor* actor); 27 NetworkScreen(ScreenObserver* screen_observer, NetworkScreenActor* actor);
28 virtual ~NetworkScreen(); 28 virtual ~NetworkScreen();
29 29
30 // WizardScreen implementation: 30 // WizardScreen implementation:
31 virtual void PrepareToShow() OVERRIDE; 31 virtual void PrepareToShow() OVERRIDE;
32 virtual void Show() OVERRIDE; 32 virtual void Show() OVERRIDE;
33 virtual void Hide() OVERRIDE; 33 virtual void Hide() OVERRIDE;
34 virtual std::string GetName() const OVERRIDE; 34 virtual std::string GetName() const OVERRIDE;
35 35
36 // NetworkStateHandlerObserver implementation: 36 // NetworkStateHandlerObserver implementation:
37 virtual void NetworkManagerChanged() OVERRIDE; 37 virtual void NetworkConnectionStateChanged(
38 const NetworkState* network) OVERRIDE;
38 virtual void DefaultNetworkChanged(const NetworkState* network) OVERRIDE; 39 virtual void DefaultNetworkChanged(const NetworkState* network) OVERRIDE;
39 40
40 // NetworkScreenActor::Delegate implementation: 41 // NetworkScreenActor::Delegate implementation:
41 virtual void OnActorDestroyed(NetworkScreenActor* actor) OVERRIDE; 42 virtual void OnActorDestroyed(NetworkScreenActor* actor) OVERRIDE;
42 virtual void OnContinuePressed() OVERRIDE; 43 virtual void OnContinuePressed() OVERRIDE;
43 44
44 NetworkScreenActor* actor() const { return actor_; } 45 NetworkScreenActor* actor() const { return actor_; }
45 46
46 protected: 47 protected:
47 // Subscribes NetworkScreen to the network change notification, 48 // Subscribes NetworkScreen to the network change notification,
(...skipping 45 matching lines...) Expand 10 before | Expand all | Expand 10 after
93 94
94 NetworkScreenActor* actor_; 95 NetworkScreenActor* actor_;
95 scoped_ptr<login::NetworkStateHelper> network_state_helper_; 96 scoped_ptr<login::NetworkStateHelper> network_state_helper_;
96 97
97 DISALLOW_COPY_AND_ASSIGN(NetworkScreen); 98 DISALLOW_COPY_AND_ASSIGN(NetworkScreen);
98 }; 99 };
99 100
100 } // namespace chromeos 101 } // namespace chromeos
101 102
102 #endif // CHROME_BROWSER_CHROMEOS_LOGIN_SCREENS_NETWORK_SCREEN_H_ 103 #endif // CHROME_BROWSER_CHROMEOS_LOGIN_SCREENS_NETWORK_SCREEN_H_
OLDNEW
« no previous file with comments | « chrome/browser/chromeos/login/auth_prewarmer.cc ('k') | chrome/browser/chromeos/login/screens/network_screen.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698