summaryrefslogtreecommitdiffstats
path: root/chrome/browser/renderer_host/render_view_host.cc
diff options
context:
space:
mode:
authorkuchhal@chromium.org <kuchhal@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2009-02-25 19:40:17 +0000
committerkuchhal@chromium.org <kuchhal@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2009-02-25 19:40:17 +0000
commitb068e3357250547bee1fd3075d05e5f44f8bfafb (patch)
tree78008cf3d8882a3fdcfd652d55e485c54bae0bc4 /chrome/browser/renderer_host/render_view_host.cc
parent4c8e0e08a34050a8301856f00a65e4bc106e968e (diff)
downloadchromium_src-b068e3357250547bee1fd3075d05e5f44f8bfafb.zip
chromium_src-b068e3357250547bee1fd3075d05e5f44f8bfafb.tar.gz
chromium_src-b068e3357250547bee1fd3075d05e5f44f8bfafb.tar.bz2
Revert "Fixing WebKeyboardEvent."
Review URL: http://codereview.appspot.com/21071 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@10362 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'chrome/browser/renderer_host/render_view_host.cc')
-rw-r--r--chrome/browser/renderer_host/render_view_host.cc3
1 files changed, 1 insertions, 2 deletions
diff --git a/chrome/browser/renderer_host/render_view_host.cc b/chrome/browser/renderer_host/render_view_host.cc
index 2443918..edff720 100644
--- a/chrome/browser/renderer_host/render_view_host.cc
+++ b/chrome/browser/renderer_host/render_view_host.cc
@@ -1178,8 +1178,7 @@ void RenderViewHost::UnhandledInputEvent(const WebInputEvent& event) {
// TODO(brettw) why do we have to filter these types of events here. Can't
// the renderer just send us the ones we care abount, or maybe the view
// should be able to decide which ones it wants or not?
- if ((event.type == WebInputEvent::RAW_KEY_DOWN) ||
- (event.type == WebInputEvent::KEY_DOWN) ||
+ if ((event.type == WebInputEvent::KEY_DOWN) ||
(event.type == WebInputEvent::CHAR)) {
view->HandleKeyboardEvent(
static_cast<const WebKeyboardEvent&>(event));