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

Unified Diff: chrome/renderer/render_widget.cc

Issue 165293: Supports Gtk keyboard themes.... (Closed) Base URL: svn://svn.chromium.org/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 | « chrome/renderer/render_widget.h ('k') | chrome/test/data/gtk_key_bindings_test_gtkrc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/renderer/render_widget.cc
===================================================================
--- chrome/renderer/render_widget.cc (revision 25695)
+++ chrome/renderer/render_widget.cc (working copy)
@@ -331,6 +331,11 @@
}
handling_input_event_ = false;
+
+ WebInputEvent::Type type = input_event->type;
+ if (type == WebInputEvent::RawKeyDown || type == WebInputEvent::KeyDown ||
+ type == WebInputEvent::KeyUp || type == WebInputEvent::Char)
+ DidHandleKeyEvent();
}
void RenderWidget::OnMouseCaptureLost() {
« no previous file with comments | « chrome/renderer/render_widget.h ('k') | chrome/test/data/gtk_key_bindings_test_gtkrc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698