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

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

Issue 213253007: Revert of Added shortcut for NW config screen in kiosk. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 6 years, 9 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
52 }; 51 };
53 52
54 ErrorScreen(ScreenObserver* screen_observer, ErrorScreenActor* actor); 53 ErrorScreen(ScreenObserver* screen_observer, ErrorScreenActor* actor);
55 virtual ~ErrorScreen(); 54 virtual ~ErrorScreen();
56 55
57 void AddObserver(Observer* observer); 56 void AddObserver(Observer* observer);
58 void RemoveObserver(Observer* observer); 57 void RemoveObserver(Observer* observer);
59 58
60 // WizardScreen implementation. 59 // WizardScreen implementation.
61 virtual void PrepareToShow() OVERRIDE; 60 virtual void PrepareToShow() OVERRIDE;
(...skipping 60 matching lines...) Expand 10 before | Expand all | Expand 10 after
122 ObserverList<Observer> observers_; 121 ObserverList<Observer> observers_;
123 122
124 scoped_ptr<LoginPerformer> guest_login_performer_; 123 scoped_ptr<LoginPerformer> guest_login_performer_;
125 124
126 DISALLOW_COPY_AND_ASSIGN(ErrorScreen); 125 DISALLOW_COPY_AND_ASSIGN(ErrorScreen);
127 }; 126 };
128 127
129 } // namespace chromeos 128 } // namespace chromeos
130 129
131 #endif // CHROME_BROWSER_CHROMEOS_LOGIN_SCREENS_ERROR_SCREEN_H_ 130 #endif // CHROME_BROWSER_CHROMEOS_LOGIN_SCREENS_ERROR_SCREEN_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698