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

Unified Diff: ui/events/test/events_test_utils_x11.h

Issue 95403006: x11: Cleanup how valuators are set for X events in tests. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: . Created 7 years, 1 month 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
Index: ui/events/test/events_test_utils_x11.h
diff --git a/ui/events/test/events_test_utils_x11.h b/ui/events/test/events_test_utils_x11.h
index 4faa8f49c4f7b8b3c85381ab43f123de955b000b..e5cbe4db71681893d1e0cc0a1428a821069be1f1 100644
--- a/ui/events/test/events_test_utils_x11.h
+++ b/ui/events/test/events_test_utils_x11.h
@@ -60,13 +60,15 @@ class ScopedXI2Event {
private:
void Cleanup();
+ void SetupValuators(const std::vector<Valuator>& valuators);
Daniel Erat 2013/12/02 21:29:10 ditto here and below
sadrul 2013/12/02 21:49:50 Done.
+
scoped_ptr<XEvent> event_;
DISALLOW_COPY_AND_ASSIGN(ScopedXI2Event);
};
// Initializes a test touchpad device for scroll events.
-void SetUpScrollDeviceForTest(unsigned int deviceid);
+void SetupScrollDeviceForTest(unsigned int deviceid);
// Initializes a list of touchscreen devices for touch events.
void SetupTouchDevicesForTest(const std::vector<unsigned int>& devices);

Powered by Google App Engine
This is Rietveld 408576698