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

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

Issue 262483003: Implementation of the Touch Exploration Mode - Part I (ui) (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@event_source
Patch Set: Addressing oshima@'s feedback Created 6 years, 7 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/chromeos/ui_chromeos.gyp ('k') | ui/events/test/events_test_utils.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 #ifndef UI_EVENTS_TEST_EVENTS_TEST_UTILS_H_ 5 #ifndef UI_EVENTS_TEST_EVENTS_TEST_UTILS_H_
6 #define UI_EVENTS_TEST_EVENTS_TEST_UTILS_H_ 6 #define UI_EVENTS_TEST_EVENTS_TEST_UTILS_H_
7 7
8 #include "ui/events/event.h" 8 #include "ui/events/event.h"
9 #include "ui/events/event_source.h" 9 #include "ui/events/event_dispatcher.h"
10 #include "ui/events/event_target.h" 10 #include "ui/events/event_target.h"
11 11
12 namespace ui { 12 namespace ui {
13 13
14 class EventSource;
15
14 class EventTestApi { 16 class EventTestApi {
15 public: 17 public:
16 explicit EventTestApi(Event* event); 18 explicit EventTestApi(Event* event);
17 virtual ~EventTestApi(); 19 virtual ~EventTestApi();
18 20
19 void set_time_stamp(base::TimeDelta time_stamp) { 21 void set_time_stamp(base::TimeDelta time_stamp) {
20 event_->time_stamp_ = time_stamp; 22 event_->time_stamp_ = time_stamp;
21 } 23 }
22 24
23 private: 25 private:
(...skipping 47 matching lines...) Expand 10 before | Expand all | Expand 10 after
71 EventSourceTestApi(); 73 EventSourceTestApi();
72 74
73 EventSource* event_source_; 75 EventSource* event_source_;
74 76
75 DISALLOW_COPY_AND_ASSIGN(EventSourceTestApi); 77 DISALLOW_COPY_AND_ASSIGN(EventSourceTestApi);
76 }; 78 };
77 79
78 } // namespace ui 80 } // namespace ui
79 81
80 #endif // UI_EVENTS_TEST_EVENTS_TEST_UTILS_H_ 82 #endif // UI_EVENTS_TEST_EVENTS_TEST_UTILS_H_
OLDNEW
« no previous file with comments | « ui/chromeos/ui_chromeos.gyp ('k') | ui/events/test/events_test_utils.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698