diff options
Diffstat (limited to 'chrome/browser/views/find_bar_win.h')
-rw-r--r-- | chrome/browser/views/find_bar_win.h | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/chrome/browser/views/find_bar_win.h b/chrome/browser/views/find_bar_win.h index 3fb4f75..d2f84fa 100644 --- a/chrome/browser/views/find_bar_win.h +++ b/chrome/browser/views/find_bar_win.h @@ -59,6 +59,11 @@ class FindBarWin : public views::FocusChangeListener, // 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); + // FindBar implementation: virtual FindBarController* GetFindBarController() const { return find_bar_controller_; |