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

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

Issue 10832009: Additional checks/calls for cases when WebUI may be already gone but OOBE screen instance is not (Closed) Base URL: http://git.chromium.org/chromium/src.git@master
Patch Set: fix tests Created 8 years, 4 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
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_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 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/string16.h" 10 #include "base/string16.h"
(...skipping 16 matching lines...) Expand all
27 // WizardScreen implementation: 27 // WizardScreen implementation:
28 virtual void PrepareToShow() OVERRIDE; 28 virtual void PrepareToShow() OVERRIDE;
29 virtual void Show() OVERRIDE; 29 virtual void Show() OVERRIDE;
30 virtual void Hide() OVERRIDE; 30 virtual void Hide() OVERRIDE;
31 virtual std::string GetName() const OVERRIDE; 31 virtual std::string GetName() const OVERRIDE;
32 32
33 // NetworkLibrary::NetworkManagerObserver implementation: 33 // NetworkLibrary::NetworkManagerObserver implementation:
34 virtual void OnNetworkManagerChanged(NetworkLibrary* network_lib) OVERRIDE; 34 virtual void OnNetworkManagerChanged(NetworkLibrary* network_lib) OVERRIDE;
35 35
36 // NetworkScreenActor::Delegate implementation: 36 // NetworkScreenActor::Delegate implementation:
37 virtual void OnActorDestroyed(NetworkScreenActor* actor) OVERRIDE;
37 virtual void OnContinuePressed() OVERRIDE; 38 virtual void OnContinuePressed() OVERRIDE;
38 39
39 NetworkScreenActor* actor() const { return actor_; } 40 NetworkScreenActor* actor() const { return actor_; }
40 41
41 protected: 42 protected:
42 // Subscribes NetworkScreen to the network change notification, 43 // Subscribes NetworkScreen to the network change notification,
43 // forces refresh of current network state. 44 // forces refresh of current network state.
44 virtual void Refresh(); 45 virtual void Refresh();
45 46
46 private: 47 private:
(...skipping 34 matching lines...) Expand 10 before | Expand all | Expand 10 after
81 base::OneShotTimer<NetworkScreen> connection_timer_; 82 base::OneShotTimer<NetworkScreen> connection_timer_;
82 83
83 NetworkScreenActor* actor_; 84 NetworkScreenActor* actor_;
84 85
85 DISALLOW_COPY_AND_ASSIGN(NetworkScreen); 86 DISALLOW_COPY_AND_ASSIGN(NetworkScreen);
86 }; 87 };
87 88
88 } // namespace chromeos 89 } // namespace chromeos
89 90
90 #endif // CHROME_BROWSER_CHROMEOS_LOGIN_NETWORK_SCREEN_H_ 91 #endif // CHROME_BROWSER_CHROMEOS_LOGIN_NETWORK_SCREEN_H_
OLDNEW
« no previous file with comments | « chrome/browser/chromeos/login/mock_network_screen.cc ('k') | chrome/browser/chromeos/login/network_screen.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698