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

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

Issue 669623006: Add a "device disabled" OOBE screen (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Addressed nits. Created 6 years, 1 month 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_SCREENS_DEVICE_DISABLED_SCREEN_ACTOR_H_
6 #define CHROME_BROWSER_CHROMEOS_LOGIN_SCREENS_DEVICE_DISABLED_SCREEN_ACTOR_H_
7
8 namespace chromeos {
9
10 // Interface between the device disabled screen and its representation.
11 class DeviceDisabledScreenActor {
12 public:
13 // Allows the representation to access information about the screen.
14 class Delegate {
15 public:
16 virtual ~Delegate() {
17 }
18
19 // Called when the actor is being destroyed. Note that if the Delegate is
20 // destroyed first, it must call SetDelegate(nullptr).
21 virtual void OnActorDestroyed(DeviceDisabledScreenActor* actor) = 0;
22 };
23
24 virtual ~DeviceDisabledScreenActor() {
25 }
26
27 virtual void Show() = 0;
28 virtual void Hide() = 0;
29 virtual void SetDelegate(Delegate* delegate) = 0;
30 };
31
32 } // namespace chromeos
33
34 #endif // CHROME_BROWSER_CHROMEOS_LOGIN_SCREENS_DEVICE_DISABLED_SCREEN_ACTOR_H_
35
OLDNEW
« no previous file with comments | « chrome/browser/chromeos/login/screens/device_disabled_screen.cc ('k') | chrome/browser/chromeos/login/ui/oobe_display.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698