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

Unified Diff: ui/aura/window_tree_host_platform.cc

Issue 2524873002: Rename WindowTreeHost G|SetBounds to indicate they are in pixels. (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: ui/aura/window_tree_host_platform.cc
diff --git a/ui/aura/window_tree_host_platform.cc b/ui/aura/window_tree_host_platform.cc
index e9ecea9e09107c32dfead631de76b8a907a9332d..45175cec55c0bbfc964d71856c323d0ed4f48984 100644
--- a/ui/aura/window_tree_host_platform.cc
+++ b/ui/aura/window_tree_host_platform.cc
@@ -90,11 +90,11 @@ void WindowTreeHostPlatform::HideImpl() {
window_->Hide();
}
-gfx::Rect WindowTreeHostPlatform::GetBounds() const {
+gfx::Rect WindowTreeHostPlatform::GetBoundsInPixel() const {
return window_ ? window_->GetBounds() : gfx::Rect();
}
-void WindowTreeHostPlatform::SetBounds(const gfx::Rect& bounds) {
+void WindowTreeHostPlatform::SetBoundsInPixel(const gfx::Rect& bounds) {
window_->SetBounds(bounds);
}

Powered by Google App Engine
This is Rietveld 408576698