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

Unified Diff: ui/aura/root_window_host_ozone.cc

Issue 158023006: Adding Ozone CursorLoader and necessary API functions to allow setting the cursor in SoftwareFactor… (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Fix style Created 6 years, 10 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 | « no previous file | ui/base/cursor/cursor.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: ui/aura/root_window_host_ozone.cc
diff --git a/ui/aura/root_window_host_ozone.cc b/ui/aura/root_window_host_ozone.cc
index 9af68e9cb33782f39be6f9d3eaf0f7e8a4f99466..d1ef0744be35c5527916535af9dd4c253c11baee 100644
--- a/ui/aura/root_window_host_ozone.cc
+++ b/ui/aura/root_window_host_ozone.cc
@@ -77,7 +77,7 @@ void WindowTreeHostOzone::SetCapture() { NOTIMPLEMENTED(); }
void WindowTreeHostOzone::ReleaseCapture() { NOTIMPLEMENTED(); }
void WindowTreeHostOzone::SetCursor(gfx::NativeCursor cursor) {
- NOTIMPLEMENTED();
+ gfx::SurfaceFactoryOzone::GetInstance()->SetCursorImage(*cursor.platform());
}
bool WindowTreeHostOzone::QueryMouseLocation(gfx::Point* location_return) {
@@ -97,7 +97,7 @@ void WindowTreeHostOzone::OnCursorVisibilityChanged(bool show) {
}
void WindowTreeHostOzone::MoveCursorTo(const gfx::Point& location) {
- NOTIMPLEMENTED();
+ gfx::SurfaceFactoryOzone::GetInstance()->MoveCursorTo(location);
}
void WindowTreeHostOzone::PostNativeEvent(
« no previous file with comments | « no previous file | ui/base/cursor/cursor.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698