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

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

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.cc
diff --git a/ui/aura/test/aura_test_utils.cc b/ui/aura/test/aura_test_utils.cc
new file mode 100644
index 0000000000000000000000000000000000000000..62c7e2ad1c07b76a691238bab34633a3cd912100
--- /dev/null
+++ b/ui/aura/test/aura_test_utils.cc
@@ -0,0 +1,20 @@
+// 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.
+
+#include "ui/aura/test/aura_test_utils.h"
+
+#include "ui/aura/window_tree_host.h"
+
+namespace aura {
+
+WindowTreeHostTestApi::WindowTreeHostTestApi(WindowTreeHost* host)
+ : host_(host) {
+}
+
+const gfx::Point&
+WindowTreeHostTestApi::last_cursor_request_position_in_host() {
+ return host_->last_cursor_request_position_in_host_;
+}
+
+} // namespace aura

Powered by Google App Engine
This is Rietveld 408576698