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

Unified Diff: chrome/browser/tab_contents/web_contents_view_gtk.cc

Issue 40065: RenderWidgetHost now stores both the WebKeyboardEvent and the native (Closed)
Patch Set: Redesign Created 11 years, 10 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
Index: chrome/browser/tab_contents/web_contents_view_gtk.cc
diff --git a/chrome/browser/tab_contents/web_contents_view_gtk.cc b/chrome/browser/tab_contents/web_contents_view_gtk.cc
index 5b14c088d1b1bd01adc71a2cd2b89d6fa9b9f249..35ca7b15d7e20ab3d71abb54b874a9572ed2977b 100644
--- a/chrome/browser/tab_contents/web_contents_view_gtk.cc
+++ b/chrome/browser/tab_contents/web_contents_view_gtk.cc
@@ -146,7 +146,7 @@ void WebContentsViewGtk::TakeFocus(bool reverse) {
web_contents_->delegate()->SetFocusToLocationBar();
}
-void WebContentsViewGtk::HandleKeyboardEvent(const WebKeyboardEvent& event) {
+void WebContentsViewGtk::HandleKeyboardEvent(const NativeWebKeyboardEvent& event) {
// The renderer returned a keyboard event it did not process. This may be
// a keyboard shortcut that we have to process.
// The windows code forwards this event onwards to accelerator handling,

Powered by Google App Engine
This is Rietveld 408576698