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

Unified 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 side-by-side diff with in-line comments
Download patch
Index: components/mus/common/event_matcher_util.h
diff --git a/components/mus/public/cpp/event_matcher_util.h b/components/mus/common/event_matcher_util.h
similarity index 62%
rename from components/mus/public/cpp/event_matcher_util.h
rename to components/mus/common/event_matcher_util.h
index d2977f132b1ec6aa789d99b776c92e554b208867..c271dfc4622049f6540730c62883f4c78c37e631 100644
--- a/components/mus/public/cpp/event_matcher_util.h
+++ b/components/mus/common/event_matcher_util.h
@@ -2,9 +2,10 @@
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
-#ifndef COMPONENTS_MUS_PUBLIC_CPP_EVENT_MATCHER_UTIL_H_
-#define COMPONENTS_MUS_PUBLIC_CPP_EVENT_MATCHER_UTIL_H_
+#ifndef COMPONENTS_MUS_COMMON_EVENT_MATCHER_UTIL_H_
+#define COMPONENTS_MUS_COMMON_EVENT_MATCHER_UTIL_H_
+#include "components/mus/common/mus_common_export.h"
#include "components/mus/public/interfaces/event_matcher.mojom.h"
#include "components/mus/public/interfaces/input_event_constants.mojom.h"
#include "components/mus/public/interfaces/input_key_codes.mojom.h"
@@ -13,8 +14,9 @@ namespace mus {
// |flags| is a bitfield of kEventFlag* and kMouseEventFlag* values in
// input_event_constants.mojom.
-mojom::EventMatcherPtr CreateKeyMatcher(mojom::KeyboardCode code, int flags);
+mojom::EventMatcherPtr MUS_COMMON_EXPORT
+CreateKeyMatcher(mojom::KeyboardCode code, int flags);
} // namespace mus
-#endif // COMPONENTS_MUS_PUBLIC_CPP_EVENT_MATCHER_UTIL_H_
+#endif // COMPONENTS_MUS_COMMON_EVENT_MATCHER_UTIL_H_

Powered by Google App Engine
This is Rietveld 408576698