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

Unified Diff: views/event_x.cc

Issue 6034002: Replace Textfield::Keystroke with views::KeyEvent (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: " Created 9 years, 12 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: views/event_x.cc
diff --git a/views/event_x.cc b/views/event_x.cc
index bddeb710f000833f5ddc594cbd021f49a0caa659..d153b3f0807ec12ab604838a6efa1230ef0b7184 100644
--- a/views/event_x.cc
+++ b/views/event_x.cc
@@ -203,7 +203,7 @@ KeyEvent::KeyEvent(XEvent* xev)
: Event(xev->type == KeyPress ?
Event::ET_KEY_PRESSED : Event::ET_KEY_RELEASED,
GetEventFlagsFromXState(xev->xkey.state)),
- key_code_(app::KeyboardCodeFromXKeyEvent(xev)),
+ keyboard_code_(app::KeyboardCodeFromXKeyEvent(xev)),
repeat_count_(0),
message_flags_(0),
native_event_(NULL) {
« views/event_gtk.cc ('K') | « views/event_win.cc ('k') | views/examples/textfield_example.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698