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

Unified Diff: views/events/event_aura.cc

Issue 8150001: Quick fix for NativeTextfieldViewsTest on win aura. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 9 years, 2 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/events/event_aura.cc
diff --git a/views/events/event_aura.cc b/views/events/event_aura.cc
index f5bda061798edb3db9a925dce0d86c4e61b99419..fc6d530e718099b073c461c9cda8d80744c66ad7 100644
--- a/views/events/event_aura.cc
+++ b/views/events/event_aura.cc
@@ -28,13 +28,11 @@ KeyEvent::KeyEvent(const NativeEvent& native_event)
}
uint16 KeyEvent::GetCharacter() const {
- NOTIMPLEMENTED();
- return key_code_;
+ return character_;
oshima 2011/10/05 20:15:09 windows key event has the following code. retur
msw 2011/10/05 20:45:34 I'm not sure; I think the key_code/[unmodified_]/c
oshima 2011/10/05 21:03:24 No, if this works on the test, that should be enou
msw 2011/10/05 22:52:20 Added Yusuke to the bug; he's also cc'ed on this C
}
uint16 KeyEvent::GetUnmodifiedCharacter() const {
- NOTIMPLEMENTED();
- return key_code_;
+ return unmodified_character_;
}
////////////////////////////////////////////////////////////////////////////////

Powered by Google App Engine
This is Rietveld 408576698