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

Unified Diff: chrome/browser/chromeos/login/views_login_display_host.h

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 side-by-side diff with in-line comments
Download patch
Index: chrome/browser/chromeos/login/views_login_display_host.h
diff --git a/chrome/browser/chromeos/login/views_login_display_host.h b/chrome/browser/chromeos/login/views_login_display_host.h
deleted file mode 100644
index 5008a54ec32aacd559565e072c2737ee5b82fd16..0000000000000000000000000000000000000000
--- a/chrome/browser/chromeos/login/views_login_display_host.h
+++ /dev/null
@@ -1,55 +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.
-
-#ifndef CHROME_BROWSER_CHROMEOS_LOGIN_VIEWS_LOGIN_DISPLAY_HOST_H_
-#define CHROME_BROWSER_CHROMEOS_LOGIN_VIEWS_LOGIN_DISPLAY_HOST_H_
-#pragma once
-
-#include <string>
-
-#include "chrome/browser/chromeos/login/background_view.h"
-#include "chrome/browser/chromeos/login/base_login_display_host.h"
-#include "ui/gfx/rect.h"
-
-namespace chromeos {
-
-class ViewsOobeDisplay;
-
-// Views-specific implementation of the OOBE/login screen host.
-// Uses ViewsLoginDisplay as the login screen UI implementation,
-// BackgroundView as the background UI implementation.
-// In its current implementation BackgroundView encapsulates StatusAreaView.
-class ViewsLoginDisplayHost : public chromeos::BaseLoginDisplayHost {
- public:
- explicit ViewsLoginDisplayHost(const gfx::Rect& background_bounds);
- virtual ~ViewsLoginDisplayHost();
-
- // LoginDisplayHost implementation:
- virtual LoginDisplay* CreateLoginDisplay(LoginDisplay::Delegate* delegate);
- virtual gfx::NativeWindow GetNativeWindow() const;
- virtual void SetOobeProgress(BackgroundView::LoginStep step);
- virtual void SetOobeProgressBarVisible(bool visible);
- virtual void SetShutdownButtonEnabled(bool enable);
- virtual void SetStatusAreaEnabled(bool enable);
- virtual void SetStatusAreaVisible(bool visible);
- virtual void ShowBackground();
- virtual void StartSignInScreen();
-
- // BaseLoginDisplayHost implementation:
- virtual WizardController* CreateWizardController() OVERRIDE;
-
- private:
- // Background view/window.
- BackgroundView* background_view_;
- views::Widget* background_window_;
-
- // Keeps views based OobeDisplay implementation.
- scoped_ptr<ViewsOobeDisplay> oobe_display_;
-
- DISALLOW_COPY_AND_ASSIGN(ViewsLoginDisplayHost);
-};
-
-} // namespace chromeos
-
-#endif // CHROME_BROWSER_CHROMEOS_LOGIN_VIEWS_LOGIN_DISPLAY_HOST_H_
« no previous file with comments | « chrome/browser/chromeos/login/views_login_display.cc ('k') | chrome/browser/chromeos/login/views_login_display_host.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698