OLD | NEW |
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 "services/ui/ws/event_matcher.h" |
6 | 6 |
7 namespace mus { | 7 namespace mus { |
8 namespace ws { | 8 namespace ws { |
9 | 9 |
10 EventMatcher::EventMatcher(const mojom::EventMatcher& matcher) | 10 EventMatcher::EventMatcher(const mojom::EventMatcher& matcher) |
11 : fields_to_match_(NONE), | 11 : fields_to_match_(NONE), |
12 event_type_(ui::ET_UNKNOWN), | 12 event_type_(ui::ET_UNKNOWN), |
13 event_flags_(ui::EF_NONE), | 13 event_flags_(ui::EF_NONE), |
14 ignore_event_flags_(ui::EF_NONE), | 14 ignore_event_flags_(ui::EF_NONE), |
15 keyboard_code_(ui::VKEY_UNKNOWN), | 15 keyboard_code_(ui::VKEY_UNKNOWN), |
(...skipping 88 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
104 event_type_ == other.event_type_ && | 104 event_type_ == other.event_type_ && |
105 event_flags_ == other.event_flags_ && | 105 event_flags_ == other.event_flags_ && |
106 ignore_event_flags_ == other.ignore_event_flags_ && | 106 ignore_event_flags_ == other.ignore_event_flags_ && |
107 keyboard_code_ == other.keyboard_code_ && | 107 keyboard_code_ == other.keyboard_code_ && |
108 pointer_type_ == other.pointer_type_ && | 108 pointer_type_ == other.pointer_type_ && |
109 pointer_region_ == other.pointer_region_; | 109 pointer_region_ == other.pointer_region_; |
110 } | 110 } |
111 | 111 |
112 } // namespace ws | 112 } // namespace ws |
113 } // namespace mus | 113 } // namespace mus |
OLD | NEW |