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

Unified Diff: views/test/test_event_utils.h

Issue 8521001: Touch to Mouse conversion validation of views::GestureManager (Closed) Base URL: http://git.chromium.org/git/chromium.git@trunk
Patch Set: Incorporated gyp changes Created 9 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
« no previous file with comments | « views/events/event.h ('k') | views/test/test_event_utils_x.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: views/test/test_event_utils.h
diff --git a/views/test/test_event_utils.h b/views/test/test_event_utils.h
new file mode 100644
index 0000000000000000000000000000000000000000..6c35102329f24bd6c3d03f9ddb75f4b9236042a8
--- /dev/null
+++ b/views/test/test_event_utils.h
@@ -0,0 +1,24 @@
+// Copyright (c) 2011 The Chromium Authors. All rights reserved.
+// Use of this source code is governed by a BSD-style license that can be
+// found in the LICENSE file.
+
+#ifndef VIEWS_TEST_TEST_EVENT_UTILS_H_
+#define VIEWS_TEST_TEST_EVENT_UTILS_H_
+#pragma once
+
+#include "base/event_types.h"
+#include "views/views_export.h"
+
+namespace views {
+
+// Get platform specific NativeEvent.
+VIEWS_EXPORT base::NativeEvent GetNativeEventForTesting();
+
+// Set location of native event.
+VIEWS_EXPORT void SetNativeEventLocationForTesting(
+ const base::NativeEvent& native_event,
+ int x, int y);
+
+} // namespace views
+
+#endif // VIEWS_TEST_TEST_EVENT_UTILS_H_
« no previous file with comments | « views/events/event.h ('k') | views/test/test_event_utils_x.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698