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

Side by Side Diff: ui/events/event_sink.h

Issue 2712963003: mustash: Use ui::chromeos::EventRewriter in mus (Closed)
Patch Set: Fix build issues. Created 3 years, 9 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
« no previous file with comments | « ui/events/event_rewriter_unittest.cc ('k') | ui/events/event_source.h » ('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 2017 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 UI_EVENTS_EVENT_SINK_H_
6 #define UI_EVENTS_EVENT_SINK_H_
7
8 #include "ui/events/event_dispatcher.h"
9
10 namespace ui {
11
12 class Event;
13
14 // EventSink receives events from an EventSource.
15 class EVENTS_EXPORT EventSink {
16 public:
17 virtual ~EventSink() {}
18
19 // Receives events from EventSource.
20 virtual EventDispatchDetails OnEventFromSource(Event* event)
21 WARN_UNUSED_RESULT = 0;
22 };
23
24 } // namespace ui
25
26 #endif // UI_EVENTS_EVENT_SINK_H_
OLDNEW
« no previous file with comments | « ui/events/event_rewriter_unittest.cc ('k') | ui/events/event_source.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698