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

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

Issue 6628037: views: Moves TextfieldController/TextRange into their own headers. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 9 years, 10 months 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/screen_lock_view.h
diff --git a/chrome/browser/chromeos/login/screen_lock_view.h b/chrome/browser/chromeos/login/screen_lock_view.h
index 34cc46fade2e59348f8f81a77d4e8abad16c145e..3842b29ee20074c065ce3e20ac8bd66a94cdd42b 100644
--- a/chrome/browser/chromeos/login/screen_lock_view.h
+++ b/chrome/browser/chromeos/login/screen_lock_view.h
@@ -10,7 +10,7 @@
#include "chrome/browser/chromeos/login/user_view.h"
#include "chrome/common/notification_observer.h"
#include "chrome/common/notification_registrar.h"
-#include "views/controls/textfield/textfield.h"
+#include "views/controls/textfield/textfield_controller.h"
#include "views/view.h"
namespace views {
@@ -29,7 +29,7 @@ class ScreenLockerTester;
// ScreenLockView creates view components necessary to authenticate
// a user to unlock the screen.
class ScreenLockView : public ThrobberHostView,
- public views::Textfield::Controller,
+ public views::TextfieldController,
public NotificationObserver,
public UserView::Delegate {
public:
@@ -47,23 +47,23 @@ class ScreenLockView : public ThrobberHostView,
// Returns the bounds of the password field in ScreenLocker's coordinate.
gfx::Rect GetPasswordBoundsRelativeTo(const views::View* view);
- // views::View implementation:
+ // views::View:
virtual void SetEnabled(bool enabled);
virtual void Layout();
virtual gfx::Size GetPreferredSize();
- // NotificationObserver implementation:
+ // NotificationObserver:
virtual void Observe(NotificationType type,
const NotificationSource& source,
const NotificationDetails& details);
- // views::Textfield::Controller implementation:
+ // views::TextfieldController:
virtual void ContentsChanged(views::Textfield* sender,
const string16& new_contents);
virtual bool HandleKeyEvent(views::Textfield* sender,
const views::KeyEvent& keystroke);
- // UserView::Delegate implementation:
+ // UserView::Delegate:
virtual void OnSignout();
virtual bool IsUserSelected() const { return true; }

Powered by Google App Engine
This is Rietveld 408576698