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

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: scale factor 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 f783c76fc1f72f765d48e5495493905a26075e79..554d7160fef8f993b6d06a41c1ee87f572c117af 100644
--- a/ui/views/mus/desktop_window_tree_host_mus.h
+++ b/ui/views/mus/desktop_window_tree_host_mus.h
@@ -100,6 +100,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