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

Side by Side Diff: services/ui/common/event_matcher_util.h

Issue 2520093003: WindowManagerClient::AddAccelerator() should take an array (Closed)
Patch Set: Use std::move instead of Clone() Created 4 years 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 | « services/ui/common/accelerator_util.cc ('k') | services/ui/common/event_matcher_util.cc » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
(Empty)
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
3 // found in the LICENSE file.
4
5 #ifndef SERVICES_UI_COMMON_EVENT_MATCHER_UTIL_H_
6 #define SERVICES_UI_COMMON_EVENT_MATCHER_UTIL_H_
7
8 #include "services/ui/public/interfaces/event_matcher.mojom.h"
9 #include "ui/events/mojo/event_constants.mojom.h"
10 #include "ui/events/mojo/keyboard_codes.mojom.h"
11
12 namespace ui {
13
14 // |flags| is a bitfield of kEventFlag* and kMouseEventFlag* values in
15 // input_event_constants.mojom.
16 mojom::EventMatcherPtr CreateKeyMatcher(ui::mojom::KeyboardCode code,
17 int flags);
18
19 } // namespace ui
20
21 #endif // SERVICES_UI_COMMON_EVENT_MATCHER_UTIL_H_
OLDNEW
« no previous file with comments | « services/ui/common/accelerator_util.cc ('k') | services/ui/common/event_matcher_util.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698