summaryrefslogtreecommitdiffstats
path: root/chrome/browser/views/dom_view.h
diff options
context:
space:
mode:
Diffstat (limited to 'chrome/browser/views/dom_view.h')
-rw-r--r--chrome/browser/views/dom_view.h4
1 files changed, 3 insertions, 1 deletions
diff --git a/chrome/browser/views/dom_view.h b/chrome/browser/views/dom_view.h
index da26bc4..303e57d 100644
--- a/chrome/browser/views/dom_view.h
+++ b/chrome/browser/views/dom_view.h
@@ -11,6 +11,7 @@
#include "base/scoped_ptr.h"
#include "googleurl/src/gurl.h"
#include "views/controls/hwnd_view.h"
+#include "views/event.h"
class Profile;
class SiteInstance;
@@ -33,7 +34,8 @@ class DOMView : public views::HWNDView {
void LoadURL(const GURL& url);
protected:
- virtual bool CanProcessTabKeyEvents() { return true; }
+ // Overridden from View.
+ virtual bool SkipDefaultKeyEventProcessing(const views::KeyEvent& e);
scoped_ptr<TabContents> tab_contents_;