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

Side by Side Diff: components/mus/ws/event_matcher.cc

Issue 2014003002: mojo/converters/input_events -> ui/events/mojo (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@converters
Patch Set: . Created 4 years, 6 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 unified diff | Download patch
« no previous file with comments | « components/mus/ws/event_dispatcher.cc ('k') | components/mus/ws/platform_display.cc » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 // Copyright 2016 The Chromium Authors. All rights reserved. 1 // Copyright 2016 The Chromium Authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style license that can be 2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file. 3 // found in the LICENSE file.
4 4
5 #include "components/mus/ws/event_matcher.h" 5 #include "components/mus/ws/event_matcher.h"
6 6
7 #include "mojo/converters/input_events/input_events_type_converters.h" 7 #include "ui/events/mojo/input_events_type_converters.h"
8 #include "ui/gfx/geometry/mojo/geometry_type_converters.h" 8 #include "ui/gfx/geometry/mojo/geometry_type_converters.h"
9 9
10 namespace mus { 10 namespace mus {
11 namespace ws { 11 namespace ws {
12 12
13 EventMatcher::EventMatcher(const mojom::EventMatcher& matcher) 13 EventMatcher::EventMatcher(const mojom::EventMatcher& matcher)
14 : fields_to_match_(NONE), 14 : fields_to_match_(NONE),
15 event_type_(ui::ET_UNKNOWN), 15 event_type_(ui::ET_UNKNOWN),
16 event_flags_(ui::EF_NONE), 16 event_flags_(ui::EF_NONE),
17 ignore_event_flags_(ui::EF_NONE), 17 ignore_event_flags_(ui::EF_NONE),
(...skipping 89 matching lines...) Expand 10 before | Expand all | Expand 10 after
107 event_type_ == other.event_type_ && 107 event_type_ == other.event_type_ &&
108 event_flags_ == other.event_flags_ && 108 event_flags_ == other.event_flags_ &&
109 ignore_event_flags_ == other.ignore_event_flags_ && 109 ignore_event_flags_ == other.ignore_event_flags_ &&
110 keyboard_code_ == other.keyboard_code_ && 110 keyboard_code_ == other.keyboard_code_ &&
111 pointer_type_ == other.pointer_type_ && 111 pointer_type_ == other.pointer_type_ &&
112 pointer_region_ == other.pointer_region_; 112 pointer_region_ == other.pointer_region_;
113 } 113 }
114 114
115 } // namespace ws 115 } // namespace ws
116 } // namespace mus 116 } // namespace mus
OLDNEW
« no previous file with comments | « components/mus/ws/event_dispatcher.cc ('k') | components/mus/ws/platform_display.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698