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

Side by Side Diff: chrome/browser/chromeos/login/screens/reset_view.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
OLDNEW
1 // Copyright 2014 The Chromium Authors. All rights reserved. 1 // Copyright 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_VIEW_H_ 5 #ifndef CHROME_BROWSER_CHROMEOS_LOGIN_SCREENS_RESET_VIEW_H_
6 #define CHROME_BROWSER_CHROMEOS_LOGIN_SCREENS_RESET_VIEW_H_ 6 #define CHROME_BROWSER_CHROMEOS_LOGIN_SCREENS_RESET_VIEW_H_
7 7
8 namespace chromeos { 8 namespace chromeos {
9 9
10 class ResetModel; 10 class ResetScreen;
11 11
12 // Interface for dependency injection between ResetScreen and its actual 12 // Interface for dependency injection between ResetScreen and its actual
13 // representation, either views based or WebUI. 13 // representation, either views based or WebUI.
14 class ResetView { 14 class ResetView {
15 public: 15 public:
16 virtual ~ResetView() {} 16 virtual ~ResetView() {}
17 17
18 virtual void Bind(ResetModel& model) = 0; 18 virtual void Bind(ResetScreen* screen) = 0;
19 virtual void Unbind() = 0; 19 virtual void Unbind() = 0;
20 virtual void Show() = 0; 20 virtual void Show() = 0;
21 virtual void Hide() = 0; 21 virtual void Hide() = 0;
22 }; 22 };
23 23
24 } // namespace chromeos 24 } // namespace chromeos
25 25
26 #endif // CHROME_BROWSER_CHROMEOS_LOGIN_SCREENS_RESET_VIEW_H_ 26 #endif // CHROME_BROWSER_CHROMEOS_LOGIN_SCREENS_RESET_VIEW_H_
OLDNEW
« no previous file with comments | « chrome/browser/chromeos/login/screens/reset_screen.cc ('k') | chrome/browser/ui/webui/chromeos/login/reset_screen_handler.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698