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

Unified Diff: ui/aura/window_tree_host_observer.h

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/aura/window_tree_host_observer.h
diff --git a/ui/aura/window_tree_host_observer.h b/ui/aura/window_tree_host_observer.h
index 620cc885ade1e11c6451ee806eace01c6ee92b0b..fea704913756abc4d25052dc10df1bda2467dadc 100644
--- a/ui/aura/window_tree_host_observer.h
+++ b/ui/aura/window_tree_host_observer.h
@@ -20,8 +20,8 @@ class AURA_EXPORT WindowTreeHostObserver {
virtual void OnHostResized(const WindowTreeHost* host) {}
// Called when the host is moved on screen.
- virtual void OnHostMoved(const WindowTreeHost* host,
- const gfx::Point& new_origin) {}
+ virtual void OnHostMovedInPixel(const WindowTreeHost* host,
+ const gfx::Point& new_origin_in_pixel) {}
// Called when the host is moved to a different workspace.
virtual void OnHostWorkspaceChanged(const WindowTreeHost* host) {}

Powered by Google App Engine
This is Rietveld 408576698