summaryrefslogtreecommitdiffstats
path: root/chrome/browser/views/find_bar_host.h
diff options
context:
space:
mode:
Diffstat (limited to 'chrome/browser/views/find_bar_host.h')
-rw-r--r--chrome/browser/views/find_bar_host.h11
1 files changed, 7 insertions, 4 deletions
diff --git a/chrome/browser/views/find_bar_host.h b/chrome/browser/views/find_bar_host.h
index 97f1ded..6c77776 100644
--- a/chrome/browser/views/find_bar_host.h
+++ b/chrome/browser/views/find_bar_host.h
@@ -44,10 +44,10 @@ class View;
//
////////////////////////////////////////////////////////////////////////////////
class FindBarHost : public views::AcceleratorTarget,
- public views::FocusChangeListener,
- public AnimationDelegate,
- public FindBar,
- public FindBarTesting {
+ public views::FocusChangeListener,
+ public AnimationDelegate,
+ public FindBar,
+ public FindBarTesting {
public:
explicit FindBarHost(BrowserView* browser_view);
virtual ~FindBarHost();
@@ -155,6 +155,9 @@ class FindBarHost : public views::AcceleratorTarget,
NativeWebKeyboardEvent GetKeyboardEvent(
const TabContents* contents,
const views::Textfield::Keystroke& key_stroke);
+ // Allows native implementation to prevent keystrokes from being forwarded.
+ bool ShouldForwardKeystrokeToWebpageNative(
+ const views::Textfield::Keystroke& key_stroke);
// The BrowserView that created us.
BrowserView* browser_view_;