mirror of
https://github.com/flutter/flutter.git
synced 2026-02-20 02:29:02 +08:00
Nuke //ui/events, all users are runtime dead
This commit is contained in:
parent
99194a75ff
commit
37fbea409d
@ -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",
|
||||
@ -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
|
||||
@ -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',
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user