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

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: Revise test expectation logic. 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
« no previous file with comments | « views/events/event.cc ('k') | views/widget/native_widget_aura.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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_;
}
uint16 KeyEvent::GetUnmodifiedCharacter() const {
- NOTIMPLEMENTED();
- return key_code_;
+ return unmodified_character_;
}
////////////////////////////////////////////////////////////////////////////////
« no previous file with comments | « views/events/event.cc ('k') | views/widget/native_widget_aura.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698