Index: chrome/browser/ui/views/find_bar_host.h |
diff --git a/chrome/browser/ui/views/find_bar_host.h b/chrome/browser/ui/views/find_bar_host.h |
index 6ab11caa45375793fc9e54321b592def7b9629d6..997d2f80ea4c40000da6a58160bb8d087367718b 100644 |
--- a/chrome/browser/ui/views/find_bar_host.h |
+++ b/chrome/browser/ui/views/find_bar_host.h |
@@ -40,12 +40,11 @@ class FindBarHost : public DropdownBarHost, |
explicit FindBarHost(BrowserView* browser_view); |
virtual ~FindBarHost(); |
- // Forwards selected keystrokes to the renderer. This is useful to make sure |
+ // Forwards selected key events 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( |
- const views::Textfield::Keystroke& key_stroke); |
+ bool MaybeForwardKeyEventToWebpage(const views::KeyEvent& key_event); |
// FindBar implementation: |
virtual FindBarController* GetFindBarController() const; |
@@ -116,9 +115,9 @@ class FindBarHost : public DropdownBarHost, |
// Allows implementation to tweak widget position. |
void GetWidgetPositionNative(gfx::Rect* avoid_overlapping_rect); |
- // Allows native implementation to prevent keystrokes from being forwarded. |
- bool ShouldForwardKeystrokeToWebpageNative( |
- const views::Textfield::Keystroke& key_stroke); |
+ // Allows native implementation to prevent key events from being forwarded. |
+ bool ShouldForwardKeyEventToWebpageNative( |
+ const views::KeyEvent& key_event); |
// Returns the FindBarView. |
FindBarView* find_bar_view(); |