From a071e653c8e2b9b77c412600c3d35de814541527 Mon Sep 17 00:00:00 2001 From: "finnur@chromium.org" Date: Thu, 3 Sep 2009 20:58:01 +0000 Subject: Fix 9867: Activating the previous/next buttons with the keyboard in the find bar should not change the focus. Add param const Event& event to ButtonPressed, so that recipients can find out more about the event that generated the ButtonPress message. BUG=9687 TEST=Open www.google.com and open Find-in-page, search for 'e'. Press FindNext button with mouse and note that the focus should be on the textfield. Now press Tab twice to put focus on the FindNext button and press SpaceBar a few times. Note that the focus should stay on the FindNext button. Review URL: http://codereview.chromium.org/188016 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@25367 0039d316-1c4b-4281-b951-d872f2087c98 --- chrome/browser/views/about_ipc_dialog.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'chrome/browser/views/about_ipc_dialog.h') diff --git a/chrome/browser/views/about_ipc_dialog.h b/chrome/browser/views/about_ipc_dialog.h index 0ba6090..2f4eaf5 100644 --- a/chrome/browser/views/about_ipc_dialog.h +++ b/chrome/browser/views/about_ipc_dialog.h @@ -52,7 +52,7 @@ class AboutIPCDialog : public views::DialogDelegate, virtual bool CanResize() const; // views::ButtonListener. - virtual void ButtonPressed(views::Button* button); + virtual void ButtonPressed(views::Button* button, const views::Event& event); CListViewCtrl message_list_; -- cgit v1.1