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

Side by Side Diff: ui/events/test/events_test_utils.cc

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/test/events_test_utils.h ('k') | ui/keyboard/keyboard_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
1 // Copyright 2013 The Chromium Authors. All rights reserved. 1 // Copyright 2013 The Chromium Authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style license that can be 2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file. 3 // found in the LICENSE file.
4 4
5 #include "ui/events/test/events_test_utils.h" 5 #include "ui/events/test/events_test_utils.h"
6 6
7 #include "ui/events/event_source.h" 7 #include "ui/events/event_source.h"
8 8
9 namespace ui { 9 namespace ui {
10 10
(...skipping 11 matching lines...) Expand all
22 KeyEventTestApi::~KeyEventTestApi() {} 22 KeyEventTestApi::~KeyEventTestApi() {}
23 23
24 EventTargetTestApi::EventTargetTestApi(EventTarget* target) 24 EventTargetTestApi::EventTargetTestApi(EventTarget* target)
25 : target_(target) {} 25 : target_(target) {}
26 26
27 EventSourceTestApi::EventSourceTestApi(EventSource* event_source) 27 EventSourceTestApi::EventSourceTestApi(EventSource* event_source)
28 : event_source_(event_source) { 28 : event_source_(event_source) {
29 DCHECK(event_source); 29 DCHECK(event_source);
30 } 30 }
31 31
32 EventDispatchDetails EventSourceTestApi::SendEventToProcessor(Event* event) { 32 EventDispatchDetails EventSourceTestApi::SendEventToSink(Event* event) {
33 return event_source_->SendEventToProcessor(event); 33 return event_source_->SendEventToSink(event);
34 } 34 }
35 35
36 } // namespace ui 36 } // namespace ui
OLDNEW
« no previous file with comments | « ui/events/test/events_test_utils.h ('k') | ui/keyboard/keyboard_util.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698