| Index: chrome/browser/chromeos/login/enrollment/views_enterprise_enrollment_screen_actor.cc
|
| diff --git a/chrome/browser/chromeos/login/enrollment/views_enterprise_enrollment_screen_actor.cc b/chrome/browser/chromeos/login/enrollment/views_enterprise_enrollment_screen_actor.cc
|
| deleted file mode 100644
|
| index 5b1fe8a8c378aa3f3b99a02cbd057d748236f127..0000000000000000000000000000000000000000
|
| --- a/chrome/browser/chromeos/login/enrollment/views_enterprise_enrollment_screen_actor.cc
|
| +++ /dev/null
|
| @@ -1,100 +0,0 @@
|
| -// Copyright (c) 2011 The Chromium Authors. All rights reserved.
|
| -// Use of this source code is governed by a BSD-style license that can be
|
| -// found in the LICENSE file.
|
| -
|
| -#include "views_enterprise_enrollment_screen_actor.h"
|
| -
|
| -#include "base/logging.h"
|
| -
|
| -namespace chromeos {
|
| -
|
| -// ViewsEnterpriseEnrollmentScreenActor, public --------------------------------
|
| -
|
| -ViewsEnterpriseEnrollmentScreenActor::ViewsEnterpriseEnrollmentScreenActor(
|
| - ViewScreenDelegate* delegate)
|
| - : ViewScreen<EnterpriseEnrollmentView> (delegate),
|
| - controller_(NULL) {
|
| -}
|
| -
|
| -ViewsEnterpriseEnrollmentScreenActor::~ViewsEnterpriseEnrollmentScreenActor() {
|
| - NotifyObservers(false);
|
| -}
|
| -
|
| -// ViewsEnterpriseEnrollmentScreenActor, ViewScreen implementation -------------
|
| -
|
| -EnterpriseEnrollmentView* ViewsEnterpriseEnrollmentScreenActor::AllocateView() {
|
| - return new EnterpriseEnrollmentView(controller_);
|
| -}
|
| -
|
| -// ViewsEnterpriseEnrollmentScreenActor,
|
| -// EnterpriseEnrollmentScreenActor implementation --------------------------
|
| -
|
| -void ViewsEnterpriseEnrollmentScreenActor::SetController(
|
| - Controller* controller) {
|
| - controller_ = controller;
|
| -}
|
| -
|
| -void ViewsEnterpriseEnrollmentScreenActor::SetEditableUser(bool editable) {
|
| - GetUIActor()->SetEditableUser(editable);
|
| -}
|
| -
|
| -void ViewsEnterpriseEnrollmentScreenActor::PrepareToShow() {
|
| - ViewScreen<EnterpriseEnrollmentView>::PrepareToShow();
|
| -}
|
| -
|
| -void ViewsEnterpriseEnrollmentScreenActor::Show() {
|
| - ViewScreen<EnterpriseEnrollmentView>::Show();
|
| - // Make the focus go initially to the DOMView, so that the email input field
|
| - // receives the focus.
|
| - view()->RequestFocus();
|
| -}
|
| -
|
| -void ViewsEnterpriseEnrollmentScreenActor::Hide() {
|
| - ViewScreen<EnterpriseEnrollmentView>::Hide();
|
| -}
|
| -
|
| -void ViewsEnterpriseEnrollmentScreenActor::ShowConfirmationScreen() {
|
| - GetUIActor()->ShowConfirmationScreen();
|
| - NotifyObservers(true);
|
| -}
|
| -
|
| -void ViewsEnterpriseEnrollmentScreenActor::ShowAuthError(
|
| - const GoogleServiceAuthError & error) {
|
| - GetUIActor()->ShowAuthError(error);
|
| - NotifyObservers(false);
|
| -}
|
| -
|
| -void ViewsEnterpriseEnrollmentScreenActor::ShowAccountError() {
|
| - GetUIActor()->ShowAccountError();
|
| - NotifyObservers(false);
|
| -}
|
| -
|
| -void ViewsEnterpriseEnrollmentScreenActor::ShowSerialNumberError() {
|
| - GetUIActor()->ShowSerialNumberError();
|
| - NotifyObservers(false);
|
| -}
|
| -
|
| -void ViewsEnterpriseEnrollmentScreenActor::ShowFatalAuthError() {
|
| - GetUIActor()->ShowFatalAuthError();
|
| - NotifyObservers(false);
|
| -}
|
| -
|
| -void ViewsEnterpriseEnrollmentScreenActor::ShowFatalEnrollmentError() {
|
| - GetUIActor()->ShowFatalEnrollmentError();
|
| - NotifyObservers(false);
|
| -}
|
| -
|
| -void ViewsEnterpriseEnrollmentScreenActor::ShowNetworkEnrollmentError() {
|
| - GetUIActor()->ShowNetworkEnrollmentError();
|
| - NotifyObservers(false);
|
| -}
|
| -
|
| -// ViewsEnterpriseEnrollmentScreenActor, public --------------------------------
|
| -
|
| -EnterpriseEnrollmentScreenActor*
|
| -ViewsEnterpriseEnrollmentScreenActor::GetUIActor() {
|
| - DCHECK(view());
|
| - return view()->GetActor();
|
| -}
|
| -
|
| -} // namespace chromeos
|
|
|