summaryrefslogtreecommitdiffstats
path: root/chrome/browser/web_contents_view_win.h
diff options
context:
space:
mode:
authorpkasting@chromium.org <pkasting@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2008-11-21 18:57:31 +0000
committerpkasting@chromium.org <pkasting@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2008-11-21 18:57:31 +0000
commit50e12183260c4b94ce3ee3316b27b998af5b7926 (patch)
tree4ab8c00c2c8214fce88844a047bf3895a9520651 /chrome/browser/web_contents_view_win.h
parentc04b6367950900e19ced8d89393d3b870fd837b8 (diff)
downloadchromium_src-50e12183260c4b94ce3ee3316b27b998af5b7926.zip
chromium_src-50e12183260c4b94ce3ee3316b27b998af5b7926.tar.gz
chromium_src-50e12183260c4b94ce3ee3316b27b998af5b7926.tar.bz2
Discard CHAR events if their corresponding KEY_DOWN events triggered accelerators.
Original patch by Alex Mendes de Costa (alexmdac@gmail.com) on http://codereview.chromium.org/11268, r=me. BUG=91 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@5832 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'chrome/browser/web_contents_view_win.h')
-rw-r--r--chrome/browser/web_contents_view_win.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/chrome/browser/web_contents_view_win.h b/chrome/browser/web_contents_view_win.h
index ee28e87..fa249c0 100644
--- a/chrome/browser/web_contents_view_win.h
+++ b/chrome/browser/web_contents_view_win.h
@@ -136,6 +136,9 @@ class WebContentsViewWin : public WebContentsView,
// Whether the info bar view is visible.
bool info_bar_visible_;
+ // Whether to ignore the next CHAR keyboard event.
+ bool ignore_next_char_event_;
+
DISALLOW_COPY_AND_ASSIGN(WebContentsViewWin);
};