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

Side by Side Diff: components/mus/common/event_matcher_util.h

Issue 1956093002: mus: Move event_matcher_util.h/cc into components/mus/common (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 4 years, 7 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
OLDNEW
1 // Copyright 2015 The Chromium Authors. All rights reserved. 1 // Copyright 2015 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 #ifndef COMPONENTS_MUS_PUBLIC_CPP_EVENT_MATCHER_UTIL_H_ 5 #ifndef COMPONENTS_MUS_COMMON_EVENT_MATCHER_UTIL_H_
6 #define COMPONENTS_MUS_PUBLIC_CPP_EVENT_MATCHER_UTIL_H_ 6 #define COMPONENTS_MUS_COMMON_EVENT_MATCHER_UTIL_H_
7 7
8 #include "components/mus/common/mus_common_export.h"
8 #include "components/mus/public/interfaces/event_matcher.mojom.h" 9 #include "components/mus/public/interfaces/event_matcher.mojom.h"
9 #include "components/mus/public/interfaces/input_event_constants.mojom.h" 10 #include "components/mus/public/interfaces/input_event_constants.mojom.h"
10 #include "components/mus/public/interfaces/input_key_codes.mojom.h" 11 #include "components/mus/public/interfaces/input_key_codes.mojom.h"
11 12
12 namespace mus { 13 namespace mus {
13 14
14 // |flags| is a bitfield of kEventFlag* and kMouseEventFlag* values in 15 // |flags| is a bitfield of kEventFlag* and kMouseEventFlag* values in
15 // input_event_constants.mojom. 16 // input_event_constants.mojom.
16 mojom::EventMatcherPtr CreateKeyMatcher(mojom::KeyboardCode code, int flags); 17 mojom::EventMatcherPtr MUS_COMMON_EXPORT
18 CreateKeyMatcher(mojom::KeyboardCode code, int flags);
17 19
18 } // namespace mus 20 } // namespace mus
19 21
20 #endif // COMPONENTS_MUS_PUBLIC_CPP_EVENT_MATCHER_UTIL_H_ 22 #endif // COMPONENTS_MUS_COMMON_EVENT_MATCHER_UTIL_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698