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

Side by Side Diff: chrome/browser/chromeos/login/enrollment/auto_enrollment_check_screen_actor.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
(Empty)
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
3 // found in the LICENSE file.
4
5 #ifndef CHROME_BROWSER_CHROMEOS_LOGIN_ENROLLMENT_AUTO_ENROLLMENT_CHECK_SCREEN_AC TOR_H_
6 #define CHROME_BROWSER_CHROMEOS_LOGIN_ENROLLMENT_AUTO_ENROLLMENT_CHECK_SCREEN_AC TOR_H_
7
8 namespace chromeos {
9
10 // Interface between auto-enrollment check screen and its representation.
11 // Note, do not forget to call OnActorDestroyed in the dtor.
12 class AutoEnrollmentCheckScreenActor {
13 public:
14 // Allows us to get info from auto-enrollment check screen that we need.
15 class Delegate {
16 public:
17 virtual ~Delegate() {}
18
19 // This method is called, when actor is being destroyed. Note, if Delegate
20 // is destroyed earlier then it has to call SetDelegate(NULL).
21 virtual void OnActorDestroyed(AutoEnrollmentCheckScreenActor* actor) = 0;
22 };
23
24 virtual ~AutoEnrollmentCheckScreenActor() {}
25
26 virtual void Show() = 0;
27 virtual void SetDelegate(Delegate* delegate) = 0;
28 };
29
30 } // namespace chromeos
31
32 #endif // CHROME_BROWSER_CHROMEOS_LOGIN_ENROLLMENT_AUTO_ENROLLMENT_CHECK_SCREEN _ACTOR_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698