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

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

Issue 220019: A refactor broke the find bar...characters like ! and ( ... (Closed) Base URL: svn://chrome-svn/chrome/trunk/src/
Patch Set: '' Created 11 years, 3 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 | « no previous file | chrome/browser/views/find_bar_host.cc » ('j') | chrome/browser/views/find_bar_host.cc » ('J')
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/browser/views/find_bar_host.h
===================================================================
--- chrome/browser/views/find_bar_host.h (revision 26955)
+++ chrome/browser/views/find_bar_host.h (working copy)
@@ -44,10 +44,10 @@
//
////////////////////////////////////////////////////////////////////////////////
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 @@
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_;
« no previous file with comments | « no previous file | chrome/browser/views/find_bar_host.cc » ('j') | chrome/browser/views/find_bar_host.cc » ('J')

Powered by Google App Engine
This is Rietveld 408576698