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

Unified Diff: chrome/browser/ui/views/autofill_profiles_view_win.cc

Issue 6034002: Replace Textfield::Keystroke with views::KeyEvent (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: " Created 10 years 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/ui/views/autofill_profiles_view_win.cc
diff --git a/chrome/browser/ui/views/autofill_profiles_view_win.cc b/chrome/browser/ui/views/autofill_profiles_view_win.cc
index 9c73a626b3fb0d2361f67c636cf12607919b8783..c34de6974e060094a2352acd755a1d406d06e85b 100644
--- a/chrome/browser/ui/views/autofill_profiles_view_win.cc
+++ b/chrome/browser/ui/views/autofill_profiles_view_win.cc
@@ -873,8 +873,8 @@ void AutoFillProfilesView::EditableSetViewContents::ContentsChanged(
}
}
-bool AutoFillProfilesView::EditableSetViewContents::HandleKeystroke(
- views::Textfield* sender, const views::Textfield::Keystroke& keystroke) {
+bool AutoFillProfilesView::EditableSetViewContents::HandleKeyEvent(
+ views::Textfield* sender, const views::KeyEvent& key_event) {
if (sender == text_fields_[TEXT_CC_NUMBER] &&
!has_credit_card_number_been_edited_) {
// You cannot edit obfuscated number, you must retype it anew.

Powered by Google App Engine
This is Rietveld 408576698