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

Unified Diff: chrome/browser/views/find_bar_win.h

Issue 67135: Fix: Find box forwarding scroll messages to the page when it shouldn't (Closed) Base URL: svn://chrome-svn/chrome/trunk/src/
Patch Set: '' Created 11 years, 8 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 side-by-side diff with in-line comments
Download patch
« no previous file with comments | « chrome/browser/views/find_bar_view.cc ('k') | chrome/browser/views/find_bar_win.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/browser/views/find_bar_win.h
===================================================================
--- chrome/browser/views/find_bar_win.h (revision 13620)
+++ chrome/browser/views/find_bar_win.h (working copy)
@@ -59,10 +59,11 @@
// new |parent_hwnd|.
void SetFocusChangeListener(HWND parent_hwnd);
- // Forwards keystrokes to the renderer. This is useful to make sure that
- // arrow keys and PageUp and PageDown result in scrolling, instead of
- // being eaten because the FindBar has focus.
- void ForwardKeystrokeToWebpage(TCHAR key);
+ // Forwards selected keystrokes to the renderer. This is useful to make sure
+ // that arrow keys and PageUp and PageDown result in scrolling, instead of
+ // being eaten because the FindBar has focus. Returns true if the keystroke
+ // was forwarded, false if not.
+ bool MaybeForwardKeystrokeToWebpage(UINT message, TCHAR key, UINT flags);
// FindBar implementation:
virtual FindBarController* GetFindBarController() const {
« no previous file with comments | « chrome/browser/views/find_bar_view.cc ('k') | chrome/browser/views/find_bar_win.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698