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

Unified Diff: chrome/browser/chromeos/login/screen_locker.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
Index: chrome/browser/chromeos/login/screen_locker.cc
===================================================================
--- chrome/browser/chromeos/login/screen_locker.cc (revision 74437)
+++ chrome/browser/chromeos/login/screen_locker.cc (working copy)
@@ -326,7 +326,7 @@
}
virtual gboolean OnKeyEvent(GtkWidget* widget, GdkEventKey* event) {
- views::KeyEvent key_event(event);
+ views::KeyEvent key_event(reinterpret_cast<GdkEvent*>(event));
// This is a hack to workaround the issue crosbug.com/10655 due to
// the limitation that a focus manager cannot handle views in
// TYPE_CHILD WidgetGtk correctly.
« no previous file with comments | « chrome/browser/autocomplete/autocomplete_edit_view_win.cc ('k') | chrome/browser/chromeos/login/screen_locker_tester.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698