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

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

Issue 2780623002: exo: Fix multi-display hardware cursor (Closed)
Patch Set: Fix style error Created 3 years, 7 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
« no previous file with comments | « ui/aura/test/test_cursor_client.h ('k') | ui/wm/core/cursor_manager.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: ui/aura/test/test_cursor_client.cc
diff --git a/ui/aura/test/test_cursor_client.cc b/ui/aura/test/test_cursor_client.cc
index f54f92d89ab9d6d18e9d7893a137ab709427348d..72f3a05697559b4de0116464c610e177cff503dc 100644
--- a/ui/aura/test/test_cursor_client.cc
+++ b/ui/aura/test/test_cursor_client.cc
@@ -5,6 +5,7 @@
#include "ui/aura/test/test_cursor_client.h"
#include "ui/aura/client/cursor_client_observer.h"
+#include "ui/display/display.h"
namespace aura {
namespace test {
@@ -68,6 +69,11 @@ bool TestCursorClient::IsMouseEventsEnabled() const {
void TestCursorClient::SetDisplay(const display::Display& display) {}
+const display::Display& TestCursorClient::GetDisplay() const {
+ static const display::Display display;
+ return display;
+}
+
void TestCursorClient::LockCursor() {
cursor_lock_count_++;
}
« no previous file with comments | « ui/aura/test/test_cursor_client.h ('k') | ui/wm/core/cursor_manager.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698