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

Unified Diff: ui/views/widget/desktop_aura/desktop_native_widget_aura.cc

Issue 2525113002: Rename WindowTreeHost functions to indicate pixels/dips. (Closed)
Patch Set: Created 4 years, 1 month 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/views/widget/desktop_aura/desktop_native_widget_aura.cc
diff --git a/ui/views/widget/desktop_aura/desktop_native_widget_aura.cc b/ui/views/widget/desktop_aura/desktop_native_widget_aura.cc
index f88395806d5f2c09a0e466811039421da7138650..3472f9885ee18ca5ddce91723d72d79fa19a7920 100644
--- a/ui/views/widget/desktop_aura/desktop_native_widget_aura.cc
+++ b/ui/views/widget/desktop_aura/desktop_native_widget_aura.cc
@@ -1172,10 +1172,11 @@ void DesktopNativeWidgetAura::OnHostWorkspaceChanged(
native_widget_delegate_->OnNativeWidgetWorkspaceChanged();
}
-void DesktopNativeWidgetAura::OnHostMoved(const aura::WindowTreeHost* host,
- const gfx::Point& new_origin) {
- TRACE_EVENT1("views", "DesktopNativeWidgetAura::OnHostMoved",
- "new_origin", new_origin.ToString());
+void DesktopNativeWidgetAura::OnHostMovedInPixel(
+ const aura::WindowTreeHost* host,
+ const gfx::Point& new_origin_in_pixel) {
+ TRACE_EVENT1("views", "DesktopNativeWidgetAura::OnHostMovedInPixel",
+ "new_origin_in_pixel", new_origin_in_pixel.ToString());
native_widget_delegate_->OnNativeWidgetMove();
}

Powered by Google App Engine
This is Rietveld 408576698