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

Unified Diff: chrome/browser/tab_contents/web_contents_view_win.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_win.cc
diff --git a/chrome/browser/tab_contents/web_contents_view_win.cc b/chrome/browser/tab_contents/web_contents_view_win.cc
index c66d3396ead40333bdbfd705de3f57ef7847ff35..5130c04e6ed65c4151b5c21538c552b915a0839f 100644
--- a/chrome/browser/tab_contents/web_contents_view_win.cc
+++ b/chrome/browser/tab_contents/web_contents_view_win.cc
@@ -247,7 +247,8 @@ void WebContentsViewWin::TakeFocus(bool reverse) {
focus_manager->AdvanceFocus(reverse);
}
-void WebContentsViewWin::HandleKeyboardEvent(const WebKeyboardEvent& event) {
+void WebContentsViewWin::HandleKeyboardEvent(
+ const NativeWebKeyboardEvent& event) {
// Previous calls to TranslateMessage can generate CHAR events as well as
// RAW_KEY_DOWN events, even if the latter triggered an accelerator. In these
// cases, we discard the CHAR events.

Powered by Google App Engine
This is Rietveld 408576698