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

Unified Diff: ash/host/ash_window_tree_host_unified.cc

Issue 2524873002: Rename WindowTreeHost G|SetBounds to indicate they are in pixels. (Closed)
Patch Set: rebase 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 | « ash/host/ash_window_tree_host_unified.h ('k') | ash/host/ash_window_tree_host_win.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: ash/host/ash_window_tree_host_unified.cc
diff --git a/ash/host/ash_window_tree_host_unified.cc b/ash/host/ash_window_tree_host_unified.cc
index 550a13d6098a5b9f8e18eeb0550408d8db1f5e2d..363c76b05f95f77b96754d2e8bb6fdc93465c13f 100644
--- a/ash/host/ash_window_tree_host_unified.cc
+++ b/ash/host/ash_window_tree_host_unified.cc
@@ -78,8 +78,8 @@ void AshWindowTreeHostUnified::RegisterMirroringHost(
mirroring_ash_host->AsWindowTreeHost()->window()->AddObserver(this);
}
-void AshWindowTreeHostUnified::SetBounds(const gfx::Rect& bounds) {
- AshWindowTreeHostPlatform::SetBounds(bounds);
+void AshWindowTreeHostUnified::SetBoundsInPixels(const gfx::Rect& bounds) {
+ AshWindowTreeHostPlatform::SetBoundsInPixels(bounds);
OnHostResized(bounds.size());
}
« no previous file with comments | « ash/host/ash_window_tree_host_unified.h ('k') | ash/host/ash_window_tree_host_win.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698