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

Side by Side Diff: chrome/browser/chromeos/login/views_eula_screen_actor.cc

Issue 8436002: [cros] Remove Views implementation for login/OOBE. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: merge Created 9 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 | Annotate | Revision Log
OLDNEW
(Empty)
1 // Copyright (c) 2011 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 #include "chrome/browser/chromeos/login/views_eula_screen_actor.h"
6
7 namespace chromeos {
8
9 ViewsEulaScreenActor::ViewsEulaScreenActor(ViewScreenDelegate* delegate)
10 : ViewScreen<EulaView>(delegate),
11 screen_(NULL) {
12 }
13
14 ViewsEulaScreenActor::~ViewsEulaScreenActor() {
15 if (screen_)
16 screen_->OnActorDestroyed(this);
17 }
18
19 EulaView* ViewsEulaScreenActor::AllocateView() {
20 return new EulaView(this);
21 }
22
23 void ViewsEulaScreenActor::PrepareToShow() {
24 ViewScreen<EulaView>::PrepareToShow();
25 }
26
27 void ViewsEulaScreenActor::Show() {
28 ViewScreen<EulaView>::Show();
29 }
30
31 void ViewsEulaScreenActor::Hide() {
32 ViewScreen<EulaView>::Hide();
33 }
34
35 void ViewsEulaScreenActor::SetDelegate(Delegate* delegate) {
36 screen_ = delegate;
37 }
38
39 void ViewsEulaScreenActor::OnPasswordFetched(const std::string& tpm_password) {
40 view()->ShowTpmPassword(tpm_password);
41 }
42
43 } // namespace chromeos
OLDNEW
« no previous file with comments | « chrome/browser/chromeos/login/views_eula_screen_actor.h ('k') | chrome/browser/chromeos/login/views_login_display.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698