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

Unified Diff: chrome/browser/chromeos/login/existing_user_view.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/existing_user_view.h
diff --git a/chrome/browser/chromeos/login/existing_user_view.h b/chrome/browser/chromeos/login/existing_user_view.h
deleted file mode 100644
index 705c51ecc1a4900eabfb0c69de782f6c24051c0f..0000000000000000000000000000000000000000
--- a/chrome/browser/chromeos/login/existing_user_view.h
+++ /dev/null
@@ -1,64 +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_EXISTING_USER_VIEW_H_
-#define CHROME_BROWSER_CHROMEOS_LOGIN_EXISTING_USER_VIEW_H_
-#pragma once
-
-#include "chrome/browser/chromeos/login/helper.h"
-#include "chrome/browser/chromeos/login/user_input.h"
-#include "views/accelerator.h"
-#include "views/controls/textfield/textfield_controller.h"
-#include "views/view.h"
-
-namespace chromeos {
-
-class UserController;
-
-class ExistingUserView : public ThrobberHostView,
- public UserInput,
- public views::TextfieldController {
- public:
- explicit ExistingUserView(UserController* user_controller);
-
- void RecreateFields();
-
- void FocusPasswordField();
-
- // views::View:
- virtual bool AcceleratorPressed(const views::Accelerator& accelerator);
-
- // views::TextfieldController:
- virtual void ContentsChanged(views::Textfield* sender,
- const string16& new_contents);
- virtual bool HandleKeyEvent(views::Textfield* sender,
- const views::KeyEvent& keystroke);
- virtual void RequestFocus();
-
- // UserInput:
- virtual void EnableInputControls(bool enabled);
- virtual void ClearAndFocusControls();
- virtual void ClearAndFocusPassword();
- virtual gfx::Rect GetMainInputScreenBounds() const;
-
- protected:
- // views::View:
- virtual void OnLocaleChanged();
-
- private:
- UserController* user_controller_;
-
- // For editing the password.
- views::Textfield* password_field_;
-
- views::Accelerator accel_enterprise_enrollment_;
- views::Accelerator accel_login_off_the_record_;
- views::Accelerator accel_toggle_accessibility_;
-
- DISALLOW_COPY_AND_ASSIGN(ExistingUserView);
-};
-
-} // chromeos
-
-#endif // CHROME_BROWSER_CHROMEOS_LOGIN_EXISTING_USER_VIEW_H_
« no previous file with comments | « chrome/browser/chromeos/login/existing_user_controller.cc ('k') | chrome/browser/chromeos/login/existing_user_view.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698