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

Unified Diff: ash/host/ash_window_tree_host_platform.h

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_platform.h
diff --git a/ash/host/ash_window_tree_host_platform.h b/ash/host/ash_window_tree_host_platform.h
index 6cd383f36359ba730c35615d95ca6fef1193e0f1..fb0c7a335cc8193de78bef5a0d3fa3be3fcc80e4 100644
--- a/ash/host/ash_window_tree_host_platform.h
+++ b/ash/host/ash_window_tree_host_platform.h
@@ -36,7 +36,8 @@ class ASH_EXPORT AshWindowTreeHostPlatform
void SetRootTransform(const gfx::Transform& transform) override;
gfx::Transform GetRootTransform() const override;
gfx::Transform GetInverseRootTransform() const override;
- void UpdateRootWindowSize(const gfx::Size& host_size) override;
+ void UpdateRootWindowSizeInPixel(
+ const gfx::Size& host_size_in_pixel) override;
void OnCursorVisibilityChangedNative(bool show) override;
void SetBounds(const gfx::Rect& bounds) override;
void DispatchEvent(ui::Event* event) override;

Powered by Google App Engine
This is Rietveld 408576698