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

Unified Diff: ui/aura/test/x11_event_sender.h

Issue 710553002: aura: Remove WindowTreeHost::PostNativeEvent(). (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 6 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/aura/test/x11_event_sender.h
diff --git a/ui/aura/test/aura_test_utils.h b/ui/aura/test/x11_event_sender.h
similarity index 50%
copy from ui/aura/test/aura_test_utils.h
copy to ui/aura/test/x11_event_sender.h
index ec94b3c3dbc6ca6931085eb4e249da1cdcd1327b..c5af83ea7ad1025f05fac0d2ce4a3c41a8624836 100644
--- a/ui/aura/test/aura_test_utils.h
+++ b/ui/aura/test/x11_event_sender.h
@@ -2,23 +2,22 @@
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
-#ifndef UI_AURA_TEST_AURA_TEST_UTILS_H_
-#define UI_AURA_TEST_AURA_TEST_UTILS_H_
+#ifndef UI_AURA_TEST_X11_EVENT_SENDER_H_
+#define UI_AURA_TEST_X11_EVENT_SENDER_H_
-#include "base/macros.h"
+#include "ui/gfx/x/x11_types.h"
-namespace gfx {
-class Point;
-}
+typedef union _XEvent XEvent;
sky 2014/11/07 15:50:14 using?
sadrul 2014/11/07 17:03:15 Done.
namespace aura {
+
class WindowTreeHost;
namespace test {
-const gfx::Point& QueryLatestMousePositionRequestInHost(WindowTreeHost* host);
+void PostEventToWindowTreeHost(const XEvent& xevent, WindowTreeHost* host);
} // namespace test
} // namespace aura
-#endif // UI_AURA_TEST_AURA_TEST_UTILS_H_
+#endif // UI_AURA_TEST_X11_EVENT_SENDER_H_

Powered by Google App Engine
This is Rietveld 408576698