Nuke //ui/events, all users are runtime dead

This commit is contained in:
James Robinson 2015-11-11 17:33:07 -08:00
parent 99194a75ff
commit 37fbea409d
3 changed files with 15 additions and 13 deletions

View File

@ -0,0 +1,14 @@
diff --git a/mojo/common/BUILD.gn b/mojo/common/BUILD.gn
index adac158..25ef0ca 100644
--- a/mojo/common/BUILD.gn
+++ b/mojo/common/BUILD.gn
@@ -43,9 +43,6 @@ source_set("tests") {
test("mojo_common_unittests") {
deps = [
":tests",
- "//mojo/converters/array_string:tests",
- "//mojo/converters/base:tests",
- "//mojo/converters/url:tests",
"//mojo/data_pipe_utils:tests",
"//mojo/edk/test:run_all_unittests",
"//mojo/environment:chromium",

View File

@ -1,12 +0,0 @@
diff --git a/mojo/converters/input_events/input_events_type_converters.cc b/mojo/converters/input_events/input_events_type_converters.cc
index 6f2495f..e7b0f15 100644
--- a/mojo/converters/input_events/input_events_type_converters.cc
+++ b/mojo/converters/input_events/input_events_type_converters.cc
@@ -283,7 +283,6 @@ scoped_ptr<ui::Event> TypeConverter<scoped_ptr<ui::Event>, EventPtr>::Convert(
// TODO: last flags isn't right. Need to send changed_flags.
scoped_ptr<ui::MouseEvent> event(new ui::MouseEvent(
MojoMouseEventTypeToUIEvent(input), location, screen_location,
- base::TimeDelta::FromMilliseconds(input->time_stamp),
ui::EventFlags(input->flags), ui::EventFlags(input->flags)));
if (event->IsMouseWheelEvent()) {
// This conversion assumes we're using the mojo meaning of these

View File

@ -73,7 +73,7 @@ dirs_from_mojo = [
'mojo/android',
'mojo/application',
'mojo/common',
'mojo/converters',
'mojo/converters/geometry',
('mojo/dart/embedder', ['embedder.gni']),
'mojo/data_pipe_utils',
'mojo/edk',