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

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

Issue 2657953005: cros: Fold ResetModel into ResetScreen (Closed)
Patch Set: Rebase, address comment Created 3 years, 10 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
« no previous file with comments | « chrome/browser/chromeos/BUILD.gn ('k') | chrome/browser/chromeos/login/screens/reset_model.cc » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
(Empty)
1 // Copyright 2015 The Chromium Authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file.
4
5 #ifndef CHROME_BROWSER_CHROMEOS_LOGIN_SCREENS_RESET_MODEL_H_
6 #define CHROME_BROWSER_CHROMEOS_LOGIN_SCREENS_RESET_MODEL_H_
7
8 #include <string>
9
10 #include "chrome/browser/chromeos/login/screens/base_screen.h"
11
12 namespace chromeos {
13
14 class BaseScreenDelegate;
15 class ResetView;
16
17 class ResetModel : public BaseScreen {
18 public:
19 static const char kUserActionCancelReset[];
20 static const char kUserActionResetRestartPressed[];
21 static const char kUserActionResetPowerwashPressed[];
22 static const char kUserActionResetLearnMorePressed[];
23 static const char kUserActionResetRollbackToggled[];
24 static const char kUserActionResetShowConfirmationPressed[];
25 static const char kUserActionResetResetConfirmationDismissed[];
26 static const char kContextKeyIsRestartRequired[];
27 static const char kContextKeyIsRollbackAvailable[];
28 static const char kContextKeyIsRollbackChecked[];
29 static const char kContextKeyIsConfirmational[];
30 static const char kContextKeyIsOfficialBuild[];
31 static const char kContextKeyScreenState[];
32
33 explicit ResetModel(BaseScreenDelegate* base_screen_delegate);
34 ~ResetModel() override;
35
36 // Called when actor is destroyed so there's no dead reference to it.
37 virtual void OnViewDestroyed(ResetView* view) = 0;
38 };
39
40 } // namespace chromeos
41
42 #endif // CHROME_BROWSER_CHROMEOS_LOGIN_SCREENS_RESET_MODEL_H_
OLDNEW
« no previous file with comments | « chrome/browser/chromeos/BUILD.gn ('k') | chrome/browser/chromeos/login/screens/reset_model.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698