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

Unified Diff: ui/events/event_rewriter.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 side-by-side diff with in-line comments
Download patch
« no previous file with comments | « ui/events/event_processor.h ('k') | ui/events/event_rewriter_unittest.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: ui/events/event_rewriter.h
diff --git a/ui/events/event_rewriter.h b/ui/events/event_rewriter.h
index 96d365ba1b11b3de4cce7635061a0d4798d7c2ba..dbdb9e619f98cc644a00377c5c9f81962673647d 100644
--- a/ui/events/event_rewriter.h
+++ b/ui/events/event_rewriter.h
@@ -16,30 +16,30 @@ class Event;
// Return status of EventRewriter operations; see that class below.
enum EventRewriteStatus {
// Nothing was done; no rewritten event returned. Pass the original
- // event to later rewriters, or send it to the EventProcessor if this
+ // event to later rewriters, or send it to the EventSink if this
// was the final rewriter.
EVENT_REWRITE_CONTINUE,
// The event has been rewritten. Send the rewritten event to the
- // EventProcessor instead of the original event (without sending
+ // EventSink instead of the original event (without sending
// either to any later rewriters).
EVENT_REWRITE_REWRITTEN,
// The event should be discarded, neither passing it to any later
- // rewriters nor sending it to the EventProcessor.
+ // rewriters nor sending it to the EventSink.
EVENT_REWRITE_DISCARD,
// The event has been rewritten. As for EVENT_REWRITE_REWRITTEN,
- // send the rewritten event to the EventProcessor instead of the
- // original event (without sending either to any later rewriters).
+ // send the rewritten event to the EventSink instead of the original
+ // event (without sending either to any later rewriters).
// In addition the rewriter has one or more additional new events
// to be retrieved using |NextDispatchEvent()| and sent to the
- // EventProcessor.
+ // EventSink.
EVENT_REWRITE_DISPATCH_ANOTHER,
};
// EventRewriter provides a mechanism for Events to be rewritten
-// before being dispatched from EventSource to EventProcessor.
+// before being dispatched from EventSource to EventSink.
class EVENTS_EXPORT EventRewriter {
public:
virtual ~EventRewriter() {}
« no previous file with comments | « ui/events/event_processor.h ('k') | ui/events/event_rewriter_unittest.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698