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

Unified Diff: ui/views/widget/desktop_aura/desktop_window_tree_host_x11.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/views/widget/desktop_aura/desktop_window_tree_host_x11.cc
diff --git a/ui/views/widget/desktop_aura/desktop_window_tree_host_x11.cc b/ui/views/widget/desktop_aura/desktop_window_tree_host_x11.cc
index 6f1fa068f843c5d0fc20469b4be35db1400b76ad..e40f3fe4bbc80f8cc979bb60863e7dc6e7d9df72 100644
--- a/ui/views/widget/desktop_aura/desktop_window_tree_host_x11.cc
+++ b/ui/views/widget/desktop_aura/desktop_window_tree_host_x11.cc
@@ -1197,11 +1197,11 @@ void DesktopWindowTreeHostX11::HideImpl() {
native_widget_delegate_->OnNativeWidgetVisibilityChanged(false);
}
-gfx::Rect DesktopWindowTreeHostX11::GetBounds() const {
+gfx::Rect DesktopWindowTreeHostX11::GetBoundsInPixel() const {
return bounds_in_pixels_;
}
-void DesktopWindowTreeHostX11::SetBounds(
+void DesktopWindowTreeHostX11::SetBoundsInPixel(
const gfx::Rect& requested_bounds_in_pixel) {
gfx::Rect bounds_in_pixels(requested_bounds_in_pixel.origin(),
AdjustSize(requested_bounds_in_pixel.size()));

Powered by Google App Engine
This is Rietveld 408576698