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

Unified Diff: ash/host/ash_window_tree_host_platform.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.h ('k') | ash/host/ash_window_tree_host_unified.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: ash/host/ash_window_tree_host_platform.cc
diff --git a/ash/host/ash_window_tree_host_platform.cc b/ash/host/ash_window_tree_host_platform.cc
index 1dc61e3cb580183726905232c6fc760b0639f411..a268db387a45ff9e24835916bbf2a8df038e468e 100644
--- a/ash/host/ash_window_tree_host_platform.cc
+++ b/ash/host/ash_window_tree_host_platform.cc
@@ -90,9 +90,9 @@ gfx::Transform AshWindowTreeHostPlatform::GetInverseRootTransform() const {
return transformer_helper_.GetInverseTransform();
}
-void AshWindowTreeHostPlatform::UpdateRootWindowSize(
- const gfx::Size& host_size) {
- transformer_helper_.UpdateWindowSize(host_size);
+void AshWindowTreeHostPlatform::UpdateRootWindowSizeInPixels(
+ const gfx::Size& host_size_in_pixels) {
+ transformer_helper_.UpdateWindowSize(host_size_in_pixels);
}
void AshWindowTreeHostPlatform::OnCursorVisibilityChangedNative(bool show) {
« no previous file with comments | « ash/host/ash_window_tree_host_platform.h ('k') | ash/host/ash_window_tree_host_unified.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698