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

Unified Diff: components/mus/public/cpp/event_matcher_util.h

Issue 1909733002: mus: Add EventObserver to allow passively listening to UI events (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: rebase Created 4 years, 8 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/public/cpp/event_matcher_util.h
diff --git a/components/mus/public/cpp/event_matcher.h b/components/mus/public/cpp/event_matcher_util.h
similarity index 77%
rename from components/mus/public/cpp/event_matcher.h
rename to components/mus/public/cpp/event_matcher_util.h
index d6e25cbe63b9ae68f5aacb79bda7a51343eb94d3..c4584fe67f71916137f01c6403f71b8840af2fcd 100644
--- a/components/mus/public/cpp/event_matcher.h
+++ b/components/mus/public/cpp/event_matcher_util.h
@@ -2,8 +2,8 @@
// 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_H_
-#define COMPONENTS_MUS_PUBLIC_CPP_EVENT_MATCHER_H_
+#ifndef COMPONENTS_MUS_PUBLIC_CPP_EVENT_MATCHER_UTIL_H_
+#define COMPONENTS_MUS_PUBLIC_CPP_EVENT_MATCHER_UTIL_H_
#include "components/mus/public/interfaces/input_event_constants.mojom.h"
#include "components/mus/public/interfaces/input_event_matcher.mojom.h"
@@ -17,4 +17,4 @@ mojom::EventMatcherPtr CreateKeyMatcher(mojom::KeyboardCode code, int flags);
} // namespace mus
-#endif // COMPONENTS_MUS_PUBLIC_CPP_EVENT_MATCHER_H_
+#endif // COMPONENTS_MUS_PUBLIC_CPP_EVENT_MATCHER_UTIL_H_

Powered by Google App Engine
This is Rietveld 408576698