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

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: blimp 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 38c9ebb4f860722cc0b12146d9cf314d8596f9b2..1ec4b21998af702261f741dd289f74e1d95f12b9 100644
--- a/ui/views/mus/desktop_window_tree_host_mus.h
+++ b/ui/views/mus/desktop_window_tree_host_mus.h
@@ -102,6 +102,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