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

Unified Diff: ash/host/ash_window_tree_host_unified.cc

Issue 2525113002: Rename WindowTreeHost functions to indicate pixels/dips. (Closed)
Patch Set: DIP + 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
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..c7b98ed6dbfb8ba58bbcd9b2670547ef95c0bf9f 100644
--- a/ash/host/ash_window_tree_host_unified.cc
+++ b/ash/host/ash_window_tree_host_unified.cc
@@ -80,7 +80,7 @@ void AshWindowTreeHostUnified::RegisterMirroringHost(
void AshWindowTreeHostUnified::SetBounds(const gfx::Rect& bounds) {
AshWindowTreeHostPlatform::SetBounds(bounds);
- OnHostResized(bounds.size());
+ OnHostResizedInPixels(bounds.size());
}
void AshWindowTreeHostUnified::SetCursorNative(gfx::NativeCursor cursor) {
@@ -95,7 +95,7 @@ void AshWindowTreeHostUnified::OnCursorVisibilityChangedNative(bool show) {
void AshWindowTreeHostUnified::OnBoundsChanged(const gfx::Rect& bounds) {
if (platform_window())
- OnHostResized(bounds.size());
+ OnHostResizedInPixels(bounds.size());
}
void AshWindowTreeHostUnified::OnWindowDestroying(aura::Window* window) {

Powered by Google App Engine
This is Rietveld 408576698