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

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

Issue 2700303002: cros: Unify oobe View/Actor naming to just View. (Closed)
Patch Set: Rebase 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
OLDNEW
1 // Copyright (c) 2014 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2014 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_RESET_SCREEN_H_ 5 #ifndef CHROME_BROWSER_CHROMEOS_LOGIN_SCREENS_RESET_SCREEN_H_
6 #define CHROME_BROWSER_CHROMEOS_LOGIN_SCREENS_RESET_SCREEN_H_ 6 #define CHROME_BROWSER_CHROMEOS_LOGIN_SCREENS_RESET_SCREEN_H_
7 7
8 #include <string> 8 #include <string>
9 9
10 #include "base/compiler_specific.h" 10 #include "base/compiler_specific.h"
(...skipping 10 matching lines...) Expand all
21 class ErrorScreen; 21 class ErrorScreen;
22 class ResetView; 22 class ResetView;
23 23
24 // Representation independent class that controls screen showing reset to users. 24 // Representation independent class that controls screen showing reset to users.
25 class ResetScreen : public BaseScreen, public UpdateEngineClient::Observer { 25 class ResetScreen : public BaseScreen, public UpdateEngineClient::Observer {
26 public: 26 public:
27 ResetScreen(BaseScreenDelegate* base_screen_delegate, 27 ResetScreen(BaseScreenDelegate* base_screen_delegate,
28 ResetView* view); 28 ResetView* view);
29 ~ResetScreen() override; 29 ~ResetScreen() override;
30 30
31 // Called when actor is destroyed so there's no dead reference to it. 31 // Called when view is destroyed so there's no dead reference to it.
32 void OnViewDestroyed(ResetView* view); 32 void OnViewDestroyed(ResetView* view);
33 33
34 private: 34 private:
35 // BaseScreen implementation: 35 // BaseScreen implementation:
36 void Show() override; 36 void Show() override;
37 void Hide() override; 37 void Hide() override;
38 void OnUserAction(const std::string& action_id) override; 38 void OnUserAction(const std::string& action_id) override;
39 39
40 // UpdateEngineClient::Observer implementation: 40 // UpdateEngineClient::Observer implementation:
41 void UpdateStatusChanged(const UpdateEngineClient::Status& status) override; 41 void UpdateStatusChanged(const UpdateEngineClient::Status& status) override;
(...skipping 24 matching lines...) Expand all
66 scoped_refptr<HelpAppLauncher> help_app_; 66 scoped_refptr<HelpAppLauncher> help_app_;
67 67
68 base::WeakPtrFactory<ResetScreen> weak_ptr_factory_; 68 base::WeakPtrFactory<ResetScreen> weak_ptr_factory_;
69 69
70 DISALLOW_COPY_AND_ASSIGN(ResetScreen); 70 DISALLOW_COPY_AND_ASSIGN(ResetScreen);
71 }; 71 };
72 72
73 } // namespace chromeos 73 } // namespace chromeos
74 74
75 #endif // CHROME_BROWSER_CHROMEOS_LOGIN_SCREENS_RESET_SCREEN_H_ 75 #endif // CHROME_BROWSER_CHROMEOS_LOGIN_SCREENS_RESET_SCREEN_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698