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

Unified Diff: ui/views/mus/native_widget_mus.cc

Issue 2525113002: Rename WindowTreeHost functions to indicate pixels/dips. (Closed)
Patch Set: win 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
« no previous file with comments | « ui/views/mus/native_widget_mus.h ('k') | ui/views/test/ui_controls_factory_desktop_aurax11.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: ui/views/mus/native_widget_mus.cc
diff --git a/ui/views/mus/native_widget_mus.cc b/ui/views/mus/native_widget_mus.cc
index e2420ea2e9eb92c158117fdc8ce78ad1fecf092e..4c9ba697bad0d741a239faf1a4fac687821624cb 100644
--- a/ui/views/mus/native_widget_mus.cc
+++ b/ui/views/mus/native_widget_mus.cc
@@ -1478,8 +1478,9 @@ void NativeWidgetMus::OnHostResized(const aura::WindowTreeHost* host) {
UpdateHitTestMask();
}
-void NativeWidgetMus::OnHostMoved(const aura::WindowTreeHost* host,
- const gfx::Point& new_origin) {
+void NativeWidgetMus::OnHostMovedInPixels(
+ const aura::WindowTreeHost* host,
+ const gfx::Point& new_origin_in_pixels) {
native_widget_delegate_->OnNativeWidgetMove();
}
« no previous file with comments | « ui/views/mus/native_widget_mus.h ('k') | ui/views/test/ui_controls_factory_desktop_aurax11.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698