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

Side by Side Diff: chrome/browser/chromeos/login/password_changed_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_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 #pragma once 7 #pragma once
8 8
9 #include <string> 9 #include <string>
10 10
(...skipping 44 matching lines...) Expand 10 before | Expand all | Expand 10 after
55 virtual views::View* GetContentsView() { return this; } 55 virtual views::View* GetContentsView() { return this; }
56 56
57 // views::View overrides: 57 // views::View overrides:
58 virtual std::wstring GetWindowTitle() const; 58 virtual std::wstring GetWindowTitle() const;
59 59
60 // views::ButtonListener overrides: 60 // views::ButtonListener overrides:
61 virtual void ButtonPressed(views::Button* sender, 61 virtual void ButtonPressed(views::Button* sender,
62 const views::Event& event); 62 const views::Event& event);
63 63
64 // views::Textfield::Controller overrides: 64 // views::Textfield::Controller overrides:
65 virtual bool HandleKeystroke(views::Textfield* sender, 65 virtual bool HandleKeyEvent(views::Textfield* sender,
66 const views::Textfield::Keystroke& keystroke) { 66 const views::KeyEvent& keystroke) {
67 return false; 67 return false;
68 } 68 }
69 virtual void ContentsChanged(views::Textfield* sender, 69 virtual void ContentsChanged(views::Textfield* sender,
70 const string16& new_contents) {} 70 const string16& new_contents) {}
71 71
72 protected: 72 protected:
73 // views::View overrides: 73 // views::View overrides:
74 virtual gfx::Size GetPreferredSize(); 74 virtual gfx::Size GetPreferredSize();
75 virtual void ViewHierarchyChanged(bool is_add, 75 virtual void ViewHierarchyChanged(bool is_add,
76 views::View* parent, 76 views::View* parent,
(...skipping 18 matching lines...) Expand all
95 95
96 // Whether full sync option is disabled. 96 // Whether full sync option is disabled.
97 bool full_sync_disabled_; 97 bool full_sync_disabled_;
98 98
99 DISALLOW_COPY_AND_ASSIGN(PasswordChangedView); 99 DISALLOW_COPY_AND_ASSIGN(PasswordChangedView);
100 }; 100 };
101 101
102 } // namespace chromeos 102 } // namespace chromeos
103 103
104 #endif // CHROME_BROWSER_CHROMEOS_LOGIN_PASSWORD_CHANGED_VIEW_H_ 104 #endif // CHROME_BROWSER_CHROMEOS_LOGIN_PASSWORD_CHANGED_VIEW_H_
OLDNEW
« no previous file with comments | « chrome/browser/chromeos/login/new_user_view.cc ('k') | chrome/browser/chromeos/login/screen_lock_view.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698