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 e9ecea9e09107c32dfead631de76b8a907a9332d..1fbd909d3c8771fe80fe64cb3478e53069a8d796 100644 |
--- a/ui/aura/window_tree_host_platform.cc |
+++ b/ui/aura/window_tree_host_platform.cc |
@@ -98,7 +98,7 @@ void WindowTreeHostPlatform::SetBounds(const gfx::Rect& bounds) { |
window_->SetBounds(bounds); |
} |
-gfx::Point WindowTreeHostPlatform::GetLocationOnNativeScreen() const { |
+gfx::Point WindowTreeHostPlatform::GetLocationOnNativeScreenInPixel() 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::MoveCursorToNativeInPixel( |
+ const gfx::Point& location_in_pixel) { |
+ window_->MoveCursorTo(location_in_pixel); |
} |
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()); |
+ OnHostMovedInPixel(bounds_.origin()); |
} |
if (bounds_.size() != old_bounds.size() || current_scale != new_scale) { |
- OnHostResized(bounds_.size()); |
+ OnHostResizedInPixel(bounds_.size()); |
} |
} |