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

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

Issue 7121013: Initial implementation of network screen WebUI handler. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Fixed compile Created 9 years, 6 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
« no previous file with comments | « no previous file | chrome/browser/chromeos/login/network_screen_browsertest.cc » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 // Copyright (c) 2011 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2011 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_ACTOR_H_ 5 #ifndef CHROME_BROWSER_CHROMEOS_LOGIN_NETWORK_SCREEN_ACTOR_H_
6 #define CHROME_BROWSER_CHROMEOS_LOGIN_NETWORK_SCREEN_ACTOR_H_ 6 #define CHROME_BROWSER_CHROMEOS_LOGIN_NETWORK_SCREEN_ACTOR_H_
7 #pragma once 7 #pragma once
8 8
9 #include "base/string16.h"
10
9 namespace chromeos { 11 namespace chromeos {
10 12
11 class HelpAppLauncher; 13 class HelpAppLauncher;
12 class NetworkSelectionView; 14 class NetworkSelectionView;
13 15
14 // Interface for dependency injection between NetworkScreen and its actual 16 // Interface for dependency injection between NetworkScreen and its actual
15 // representation, either views based or WebUI. Owned by NetworkScreen. 17 // representation, either views based or WebUI. Owned by NetworkScreen.
16 class NetworkScreenActor { 18 class NetworkScreenActor {
17 public: 19 public:
18 class Delegate { 20 class Delegate {
(...skipping 22 matching lines...) Expand all
41 // Hides error messages showing no error state. 43 // Hides error messages showing no error state.
42 virtual void ClearErrors() = 0; 44 virtual void ClearErrors() = 0;
43 45
44 // Shows network connecting status or network selection otherwise. 46 // Shows network connecting status or network selection otherwise.
45 virtual void ShowConnectingStatus( 47 virtual void ShowConnectingStatus(
46 bool connecting, 48 bool connecting,
47 const string16& network_id) = 0; 49 const string16& network_id) = 0;
48 50
49 // Sets whether continue control is enabled. 51 // Sets whether continue control is enabled.
50 virtual void EnableContinue(bool enabled) = 0; 52 virtual void EnableContinue(bool enabled) = 0;
51
52 // Returns if continue control is enabled.
53 virtual bool IsContinueEnabled() const = 0;
54
55 // Returns true if we're in the connecting state.
56 virtual bool IsConnecting() const = 0;
57 }; 53 };
58 54
59 } // namespace chromeos 55 } // namespace chromeos
60 56
61 #endif // CHROME_BROWSER_CHROMEOS_LOGIN_NETWORK_SCREEN_ACTOR_H_ 57 #endif // CHROME_BROWSER_CHROMEOS_LOGIN_NETWORK_SCREEN_ACTOR_H_
OLDNEW
« no previous file with comments | « no previous file | chrome/browser/chromeos/login/network_screen_browsertest.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698