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

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

Issue 10825254: Remove views::KeyEvent, replacing uses of it with ui::KeyEvent. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src/
Patch Set: Created 8 years, 4 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
« no previous file with comments | « ash/system/tray/tray_views.cc ('k') | chrome/browser/chromeos/login/password_changed_view.cc » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 // Copyright (c) 2012 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2012 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_PASSWORD_CHANGED_VIEW_H_ 5 #ifndef CHROME_BROWSER_CHROMEOS_LOGIN_PASSWORD_CHANGED_VIEW_H_
6 #define CHROME_BROWSER_CHROMEOS_LOGIN_PASSWORD_CHANGED_VIEW_H_ 6 #define CHROME_BROWSER_CHROMEOS_LOGIN_PASSWORD_CHANGED_VIEW_H_
7 7
8 #include <string> 8 #include <string>
9 9
10 #include "base/compiler_specific.h" 10 #include "base/compiler_specific.h"
(...skipping 49 matching lines...) Expand 10 before | Expand all | Expand 10 after
60 virtual string16 GetWindowTitle() const OVERRIDE; 60 virtual string16 GetWindowTitle() const OVERRIDE;
61 61
62 // views::ButtonListener: 62 // views::ButtonListener:
63 virtual void ButtonPressed(views::Button* sender, 63 virtual void ButtonPressed(views::Button* sender,
64 const views::Event& event) OVERRIDE; 64 const views::Event& event) OVERRIDE;
65 65
66 // views::TextfieldController: 66 // views::TextfieldController:
67 virtual void ContentsChanged(views::Textfield* sender, 67 virtual void ContentsChanged(views::Textfield* sender,
68 const string16& new_contents) OVERRIDE; 68 const string16& new_contents) OVERRIDE;
69 virtual bool HandleKeyEvent(views::Textfield* sender, 69 virtual bool HandleKeyEvent(views::Textfield* sender,
70 const views::KeyEvent& keystroke) OVERRIDE; 70 const ui::KeyEvent& keystroke) OVERRIDE;
71 protected: 71 protected:
72 // views::View: 72 // views::View:
73 virtual gfx::Size GetPreferredSize() OVERRIDE; 73 virtual gfx::Size GetPreferredSize() OVERRIDE;
74 virtual void ViewHierarchyChanged(bool is_add, 74 virtual void ViewHierarchyChanged(bool is_add,
75 views::View* parent, 75 views::View* parent,
76 views::View* child) OVERRIDE; 76 views::View* child) OVERRIDE;
77 77
78 private: 78 private:
79 // Called when dialog is accepted. 79 // Called when dialog is accepted.
80 bool ExitDialog(); 80 bool ExitDialog();
(...skipping 18 matching lines...) Expand all
99 // Whether should show "Incorrect password" error message 99 // Whether should show "Incorrect password" error message
100 // i.e. dialog is opened second time after incorrect old password input try. 100 // i.e. dialog is opened second time after incorrect old password input try.
101 const bool show_invalid_old_password_error_; 101 const bool show_invalid_old_password_error_;
102 102
103 DISALLOW_COPY_AND_ASSIGN(PasswordChangedView); 103 DISALLOW_COPY_AND_ASSIGN(PasswordChangedView);
104 }; 104 };
105 105
106 } // namespace chromeos 106 } // namespace chromeos
107 107
108 #endif // CHROME_BROWSER_CHROMEOS_LOGIN_PASSWORD_CHANGED_VIEW_H_ 108 #endif // CHROME_BROWSER_CHROMEOS_LOGIN_PASSWORD_CHANGED_VIEW_H_
OLDNEW
« no previous file with comments | « ash/system/tray/tray_views.cc ('k') | chrome/browser/chromeos/login/password_changed_view.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698