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

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

Issue 251743004: aura: Remove WindowTreeHost::QueryMouseLocation(). (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: . Created 6 years, 8 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 side-by-side diff with in-line comments
Download patch
Index: ui/aura/test/aura_test_utils.h
diff --git a/ui/aura/test/aura_test_utils.h b/ui/aura/test/aura_test_utils.h
new file mode 100644
index 0000000000000000000000000000000000000000..71bfab40be0a37088a0c93e8d2dcf18c21a5990a
--- /dev/null
+++ b/ui/aura/test/aura_test_utils.h
@@ -0,0 +1,32 @@
+// Copyright 2014 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 UI_AURA_TEST_AURA_TEST_UTILS_H_
+#define UI_AURA_TEST_AURA_TEST_UTILS_H_
+
+#include "base/macros.h"
+
+namespace gfx {
+class Point;
+}
+
+namespace aura {
+
+class WindowTreeHost;
+
+class WindowTreeHostTestApi {
+ public:
+ explicit WindowTreeHostTestApi(WindowTreeHost* host);
+
+ const gfx::Point& last_cursor_request_position_in_host();
+
+ private:
+ WindowTreeHost* host_;
+
+ DISALLOW_COPY_AND_ASSIGN(WindowTreeHostTestApi);
+};
+
+} // namespace aura
+
+#endif // UI_AURA_TEST_AURA_TEST_UTILS_H_

Powered by Google App Engine
This is Rietveld 408576698