summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorthakis@chromium.org <thakis@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2009-09-18 00:43:26 +0000
committerthakis@chromium.org <thakis@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2009-09-18 00:43:26 +0000
commit69ab6a938fb63bbd85136138c249e9419e4999ba (patch)
treea11913806d1e5b87e7a5225efe0a476e30a2b919
parent830656f089f62fd3b19d4a080644357e36630b3a (diff)
downloadchromium_src-69ab6a938fb63bbd85136138c249e9419e4999ba.zip
chromium_src-69ab6a938fb63bbd85136138c249e9419e4999ba.tar.gz
chromium_src-69ab6a938fb63bbd85136138c249e9419e4999ba.tar.bz2
Let arrow up/down in find bar scroll page.
This now matches both windows _and_ common sense. BUG=none as far as I know TEST=Go to a web page with scrollbar (e.g. en.wikipedia.org), focus find bar hit arrow up/down. Page should now scroll. Review URL: http://codereview.chromium.org/212012 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@26527 0039d316-1c4b-4281-b951-d872f2087c98
-rw-r--r--chrome/browser/cocoa/find_bar_cocoa_controller.mm4
1 files changed, 3 insertions, 1 deletions
diff --git a/chrome/browser/cocoa/find_bar_cocoa_controller.mm b/chrome/browser/cocoa/find_bar_cocoa_controller.mm
index 15f8ea3..47393ac 100644
--- a/chrome/browser/cocoa/find_bar_cocoa_controller.mm
+++ b/chrome/browser/cocoa/find_bar_cocoa_controller.mm
@@ -118,7 +118,9 @@
command == @selector(scrollPageUp:) ||
command == @selector(pageDown:) ||
command == @selector(pageDownAndModifySelection:) ||
- command == @selector(scrollPageDown:)) {
+ command == @selector(scrollPageDown:) ||
+ command == @selector(moveUp:) ||
+ command == @selector(moveDown:)) {
TabContents* contents =
findBarBridge_->GetFindBarController()->tab_contents();
if (!contents)