Index: ui/aura/window_tree_host_platform.cc |
diff --git a/ui/aura/window_tree_host_platform.cc b/ui/aura/window_tree_host_platform.cc |
index c89b302d958fb45c9db604516ad3137574c390bc..84cb47739e53a66d1c80b95c2e57d7972719f0dc 100644 |
--- a/ui/aura/window_tree_host_platform.cc |
+++ b/ui/aura/window_tree_host_platform.cc |
@@ -98,7 +98,7 @@ void WindowTreeHostPlatform::SetBoundsInPixels(const gfx::Rect& bounds) { |
window_->SetBounds(bounds); |
} |
-gfx::Point WindowTreeHostPlatform::GetLocationOnNativeScreen() const { |
+gfx::Point WindowTreeHostPlatform::GetLocationOnScreenInPixels() const { |
return window_->GetBounds().origin(); |
} |
@@ -123,8 +123,9 @@ void WindowTreeHostPlatform::SetCursorNative(gfx::NativeCursor cursor) { |
window_->SetCursor(cursor.platform()); |
} |
-void WindowTreeHostPlatform::MoveCursorToNative(const gfx::Point& location) { |
- window_->MoveCursorTo(location); |
+void WindowTreeHostPlatform::MoveCursorToScreenLocationInPixels( |
+ const gfx::Point& location_in_pixels) { |
+ window_->MoveCursorTo(location_in_pixels); |
} |
void WindowTreeHostPlatform::OnCursorVisibilityChangedNative(bool show) { |
@@ -139,10 +140,10 @@ void WindowTreeHostPlatform::OnBoundsChanged(const gfx::Rect& new_bounds) { |
gfx::Rect old_bounds = bounds_; |
bounds_ = new_bounds; |
if (bounds_.origin() != old_bounds.origin()) { |
- OnHostMoved(bounds_.origin()); |
+ OnHostMovedInPixels(bounds_.origin()); |
} |
if (bounds_.size() != old_bounds.size() || current_scale != new_scale) { |
- OnHostResized(bounds_.size()); |
+ OnHostResizedInPixels(bounds_.size()); |
} |
} |