From 8d577a70f6e6d2e47f0ac32f8606e489a7a77998 Mon Sep 17 00:00:00 2001 From: "ben@chromium.org" Date: Thu, 10 Feb 2011 04:56:36 +0000 Subject: Migrate Event API methods to Google Style. Re-landing, moving the bits Mac uses to ui/base/events.h BUG=72040 TEST=none TBR=sky Committed: http://src.chromium.org/viewvc/chrome?view=rev&revision=74377 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@74408 0039d316-1c4b-4281-b951-d872f2087c98 --- views/controls/textfield/textfield.cc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'views/controls/textfield/textfield.cc') diff --git a/views/controls/textfield/textfield.cc b/views/controls/textfield/textfield.cc index 1b4461c..9028f88 100644 --- a/views/controls/textfield/textfield.cc +++ b/views/controls/textfield/textfield.cc @@ -309,7 +309,7 @@ void Textfield::AboutToRequestFocusFromTabTraversal(bool reverse) { bool Textfield::SkipDefaultKeyEventProcessing(const KeyEvent& e) { // TODO(hamaji): Figure out which keyboard combinations we need to add here, // similar to LocationBarView::SkipDefaultKeyEventProcessing. - ui::KeyboardCode key = e.GetKeyCode(); + ui::KeyboardCode key = e.key_code(); if (key == ui::VKEY_BACK) return true; // We'll handle BackSpace ourselves. -- cgit v1.1