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

Unified Diff: chrome/browser/ui/views/frame/browser_view.cc

Issue 6487002: Add a new constructor to KeyEvent. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src/
Patch Set: '' Created 9 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
« no previous file with comments | « chrome/browser/ui/views/find_bar_host_win.cc ('k') | views/controls/button/custom_button.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/browser/ui/views/frame/browser_view.cc
===================================================================
--- chrome/browser/ui/views/frame/browser_view.cc (revision 74437)
+++ chrome/browser/ui/views/frame/browser_view.cc (working copy)
@@ -1257,7 +1257,7 @@
// TODO(suzhe): We need to check if Windows code also has this issue, and
// it'll be best if we can unify these conversion tables.
// See http://crbug.com/54315
- views::KeyEvent views_event(event.os_event);
+ views::KeyEvent views_event(reinterpret_cast<GdkEvent*>(event.os_event));
views::Accelerator accelerator(views_event.key_code(),
views_event.IsShiftDown(),
views_event.IsControlDown(),
« no previous file with comments | « chrome/browser/ui/views/find_bar_host_win.cc ('k') | views/controls/button/custom_button.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698