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

Unified Diff: ui/events/event_utils.cc

Issue 1155013005: Refactoring the ownership of ui::InputMethod. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: comments addressed. Created 5 years, 7 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: ui/events/event_utils.cc
diff --git a/ui/events/event_utils.cc b/ui/events/event_utils.cc
index 021ac278708168b8344b3f1ca5364c239ee0a27a..1b3d7a9301db28bef028a3d0e0a00cbf6ba431f7 100644
--- a/ui/events/event_utils.cc
+++ b/ui/events/event_utils.cc
@@ -25,12 +25,6 @@ scoped_ptr<Event> EventFromNative(const base::NativeEvent& native_event) {
event.reset(new KeyEvent(native_event));
break;
- case ET_TRANSLATED_KEY_PRESS:
- case ET_TRANSLATED_KEY_RELEASE:
- // These should not be generated by native events.
- NOTREACHED();
- break;
-
case ET_MOUSE_PRESSED:
case ET_MOUSE_DRAGGED:
case ET_MOUSE_RELEASED:

Powered by Google App Engine
This is Rietveld 408576698