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

Unified Diff: mojo/converters/input_events/input_events_type_converters.cc

Issue 640893003: Move mojo/services/public/cpp TypeConverters to mojo/converters. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Restore the directory and component structures and target names. Created 6 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: mojo/converters/input_events/input_events_type_converters.cc
diff --git a/mojo/services/public/cpp/input_events/lib/input_events_type_converters.cc b/mojo/converters/input_events/input_events_type_converters.cc
similarity index 95%
rename from mojo/services/public/cpp/input_events/lib/input_events_type_converters.cc
rename to mojo/converters/input_events/input_events_type_converters.cc
index 340e2003432e9bc45c6fac8a029171f16a38c9a8..f0cd627f357cabdcf0a1ab2f78d3e0391bd2d15b 100644
--- a/mojo/services/public/cpp/input_events/lib/input_events_type_converters.cc
+++ b/mojo/converters/input_events/input_events_type_converters.cc
@@ -2,15 +2,15 @@
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
-#include "mojo/services/public/cpp/input_events/input_events_type_converters.h"
+#include "mojo/converters/input_events/input_events_type_converters.h"
#if defined(USE_X11)
#include <X11/extensions/XInput2.h>
#include <X11/Xlib.h>
#endif
-#include "mojo/services/public/cpp/geometry/geometry_type_converters.h"
-#include "mojo/services/public/cpp/input_events/lib/mojo_extended_key_event_data.h"
+#include "mojo/converters/geometry/geometry_type_converters.h"
+#include "mojo/converters/input_events/mojo_extended_key_event_data.h"
#include "mojo/services/public/interfaces/input_events/input_events.mojom.h"
#include "ui/events/event_utils.h"
#include "ui/events/keycodes/keyboard_codes.h"
@@ -63,7 +63,7 @@ EventType TypeConverter<EventType, ui::EventType>::Convert(ui::EventType type) {
#define MOJO_INPUT_EVENT_NAME(name) case ui::ET_##name: return EVENT_TYPE_##name
switch (type) {
-#include "mojo/services/public/cpp/input_events/lib/input_event_names.h"
+#include "mojo/converters/input_events/input_event_names.h"
case ui::ET_LAST:
NOTREACHED();
break;
@@ -80,7 +80,7 @@ ui::EventType TypeConverter<ui::EventType, EventType>::Convert(EventType type) {
#define MOJO_INPUT_EVENT_NAME(name) case EVENT_TYPE_##name: return ui::ET_##name
switch (type) {
-#include "mojo/services/public/cpp/input_events/lib/input_event_names.h"
+#include "mojo/converters/input_events/input_event_names.h"
}
#undef MOJO_INPUT_EVENT_NAME

Powered by Google App Engine
This is Rietveld 408576698