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

Unified Diff: ash/host/ash_window_tree_host_unified.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 | « ash/host/ash_window_tree_host_platform.cc ('k') | ash/host/ash_window_tree_host_x11.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 363c76b05f95f77b96754d2e8bb6fdc93465c13f..5f436f10f609e2ab8540880beafe6d9b544e04b6 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::SetBoundsInPixels(const gfx::Rect& bounds) {
AshWindowTreeHostPlatform::SetBoundsInPixels(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) {
« no previous file with comments | « ash/host/ash_window_tree_host_platform.cc ('k') | ash/host/ash_window_tree_host_x11.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698