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

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

Issue 209143002: Added shortcut for NW config screen in kiosk. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 6 years, 8 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_ERROR_SCREEN_H_ 5 #ifndef CHROME_BROWSER_CHROMEOS_LOGIN_SCREENS_ERROR_SCREEN_H_
6 #define CHROME_BROWSER_CHROMEOS_LOGIN_SCREENS_ERROR_SCREEN_H_ 6 #define CHROME_BROWSER_CHROMEOS_LOGIN_SCREENS_ERROR_SCREEN_H_
7 7
8 #include "base/basictypes.h" 8 #include "base/basictypes.h"
9 #include "base/compiler_specific.h" 9 #include "base/compiler_specific.h"
10 #include "base/memory/scoped_ptr.h" 10 #include "base/memory/scoped_ptr.h"
(...skipping 29 matching lines...) Expand all
40 UI_STATE_KIOSK_MODE, 40 UI_STATE_KIOSK_MODE,
41 UI_STATE_LOCAL_STATE_ERROR, 41 UI_STATE_LOCAL_STATE_ERROR,
42 UI_STATE_AUTO_ENROLLMENT_ERROR, 42 UI_STATE_AUTO_ENROLLMENT_ERROR,
43 }; 43 };
44 44
45 enum ErrorState { 45 enum ErrorState {
46 ERROR_STATE_UNKNOWN = 0, 46 ERROR_STATE_UNKNOWN = 0,
47 ERROR_STATE_PORTAL, 47 ERROR_STATE_PORTAL,
48 ERROR_STATE_OFFLINE, 48 ERROR_STATE_OFFLINE,
49 ERROR_STATE_PROXY, 49 ERROR_STATE_PROXY,
50 ERROR_STATE_AUTH_EXT_TIMEOUT 50 ERROR_STATE_AUTH_EXT_TIMEOUT,
51 ERROR_STATE_KIOSK_ONLINE
51 }; 52 };
52 53
53 ErrorScreen(ScreenObserver* screen_observer, ErrorScreenActor* actor); 54 ErrorScreen(ScreenObserver* screen_observer, ErrorScreenActor* actor);
54 virtual ~ErrorScreen(); 55 virtual ~ErrorScreen();
55 56
56 void AddObserver(Observer* observer); 57 void AddObserver(Observer* observer);
57 void RemoveObserver(Observer* observer); 58 void RemoveObserver(Observer* observer);
58 59
59 // WizardScreen implementation. 60 // WizardScreen implementation.
60 virtual void PrepareToShow() OVERRIDE; 61 virtual void PrepareToShow() OVERRIDE;
(...skipping 60 matching lines...) Expand 10 before | Expand all | Expand 10 after
121 ObserverList<Observer> observers_; 122 ObserverList<Observer> observers_;
122 123
123 scoped_ptr<LoginPerformer> guest_login_performer_; 124 scoped_ptr<LoginPerformer> guest_login_performer_;
124 125
125 DISALLOW_COPY_AND_ASSIGN(ErrorScreen); 126 DISALLOW_COPY_AND_ASSIGN(ErrorScreen);
126 }; 127 };
127 128
128 } // namespace chromeos 129 } // namespace chromeos
129 130
130 #endif // CHROME_BROWSER_CHROMEOS_LOGIN_SCREENS_ERROR_SCREEN_H_ 131 #endif // CHROME_BROWSER_CHROMEOS_LOGIN_SCREENS_ERROR_SCREEN_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698