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

Unified Diff: ash/host/ash_window_tree_host_x11.cc

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: ash/host/ash_window_tree_host_x11.cc
diff --git a/ash/host/ash_window_tree_host_x11.cc b/ash/host/ash_window_tree_host_x11.cc
index ac093955191830eb37f4d0c111ae86d900834a19..edb535cf70c83795388d9da4d6420fb08d832504 100644
--- a/ash/host/ash_window_tree_host_x11.cc
+++ b/ash/host/ash_window_tree_host_x11.cc
@@ -141,8 +141,9 @@ gfx::Transform AshWindowTreeHostX11::GetInverseRootTransform() const {
return transformer_helper_.GetInverseTransform();
}
-void AshWindowTreeHostX11::UpdateRootWindowSize(const gfx::Size& host_size) {
- transformer_helper_.UpdateWindowSize(host_size);
+void AshWindowTreeHostX11::UpdateRootWindowSizeInPixel(
+ const gfx::Size& host_size_in_pixel) {
+ transformer_helper_.UpdateWindowSize(host_size_in_pixel);
}
void AshWindowTreeHostX11::OnCursorVisibilityChangedNative(bool show) {

Powered by Google App Engine
This is Rietveld 408576698