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

Unified Diff: ui/views/mus/desktop_window_tree_host_mus.h

Issue 2504793002: Scale bounds in DesktopWindowTreeHostMus and in calls to SetBounds. (Closed)
Patch Set: sadrul@'s comment 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/mus/desktop_window_tree_host_mus.h
diff --git a/ui/views/mus/desktop_window_tree_host_mus.h b/ui/views/mus/desktop_window_tree_host_mus.h
index 31232d6778b388a0e39e544d5ed49a07756133d7..fe8e21f512987772611ce4e8d7bd42fec01722ee 100644
--- a/ui/views/mus/desktop_window_tree_host_mus.h
+++ b/ui/views/mus/desktop_window_tree_host_mus.h
@@ -101,6 +101,9 @@ class VIEWS_MUS_EXPORT DesktopWindowTreeHostMus
void OnActiveFocusClientChanged(aura::client::FocusClient* focus_client,
aura::Window* window) override;
+ // Helper function to get the scale factor.
+ float GetScaleFactor() const;
+
internal::NativeWidgetDelegate* native_widget_delegate_;
DesktopNativeWidgetAura* desktop_native_widget_aura_;

Powered by Google App Engine
This is Rietveld 408576698