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

Side by Side Diff: chrome/browser/chromeos/login/screen_lock_view.h

Issue 6034002: Replace Textfield::Keystroke with views::KeyEvent (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: key_code, ET_KEY_PRESS for WM_CHAR Created 9 years, 11 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 unified diff | Download patch | Annotate | Revision Log
OLDNEW
1 // Copyright (c) 2010 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2010 The Chromium Authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style license that can be 2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file. 3 // found in the LICENSE file.
4 4
5 #ifndef CHROME_BROWSER_CHROMEOS_LOGIN_SCREEN_LOCK_VIEW_H_ 5 #ifndef CHROME_BROWSER_CHROMEOS_LOGIN_SCREEN_LOCK_VIEW_H_
6 #define CHROME_BROWSER_CHROMEOS_LOGIN_SCREEN_LOCK_VIEW_H_ 6 #define CHROME_BROWSER_CHROMEOS_LOGIN_SCREEN_LOCK_VIEW_H_
7 #pragma once 7 #pragma once
8 8
9 #include "chrome/browser/chromeos/login/helper.h" 9 #include "chrome/browser/chromeos/login/helper.h"
10 #include "chrome/browser/chromeos/login/user_view.h" 10 #include "chrome/browser/chromeos/login/user_view.h"
(...skipping 42 matching lines...) Expand 10 before | Expand all | Expand 10 after
53 virtual gfx::Size GetPreferredSize(); 53 virtual gfx::Size GetPreferredSize();
54 54
55 // NotificationObserver implementation: 55 // NotificationObserver implementation:
56 virtual void Observe(NotificationType type, 56 virtual void Observe(NotificationType type,
57 const NotificationSource& source, 57 const NotificationSource& source,
58 const NotificationDetails& details); 58 const NotificationDetails& details);
59 59
60 // views::Textfield::Controller implementation: 60 // views::Textfield::Controller implementation:
61 virtual void ContentsChanged(views::Textfield* sender, 61 virtual void ContentsChanged(views::Textfield* sender,
62 const string16& new_contents) {} 62 const string16& new_contents) {}
63 virtual bool HandleKeystroke(views::Textfield* sender, 63 virtual bool HandleKeyEvent(views::Textfield* sender,
64 const views::Textfield::Keystroke& keystroke); 64 const views::KeyEvent& keystroke);
65 65
66 // UserView::Delegate implementation: 66 // UserView::Delegate implementation:
67 virtual void OnSignout(); 67 virtual void OnSignout();
68 68
69 protected: 69 protected:
70 // views::View implementation: 70 // views::View implementation:
71 virtual void ViewHierarchyChanged(bool is_add, 71 virtual void ViewHierarchyChanged(bool is_add,
72 views::View* parent, 72 views::View* parent,
73 views::View* child); 73 views::View* child);
74 74
(...skipping 15 matching lines...) Expand all
90 90
91 // Username that overlays on top of user's picture. 91 // Username that overlays on top of user's picture.
92 views::View* username_; 92 views::View* username_;
93 93
94 DISALLOW_COPY_AND_ASSIGN(ScreenLockView); 94 DISALLOW_COPY_AND_ASSIGN(ScreenLockView);
95 }; 95 };
96 96
97 } // namespace chromeos 97 } // namespace chromeos
98 98
99 #endif // CHROME_BROWSER_CHROMEOS_LOGIN_SCREEN_LOCK_VIEW_H_ 99 #endif // CHROME_BROWSER_CHROMEOS_LOGIN_SCREEN_LOCK_VIEW_H_
OLDNEW
« no previous file with comments | « chrome/browser/chromeos/login/password_changed_view.h ('k') | chrome/browser/chromeos/login/screen_lock_view.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698