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

Unified Diff: ui/views/widget/desktop_aura/desktop_screen_x11.h

Issue 1870873003: Remove screen dependency from font_render_params_linux (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 4 years, 8 months 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_screen_x11.h
diff --git a/ui/views/widget/desktop_aura/desktop_screen_x11.h b/ui/views/widget/desktop_aura/desktop_screen_x11.h
index 463c5fdbabb1f1f95e8c02518954407632194dab..e96d983ccb2d293a68442dfd9ef13ed2718716ff 100644
--- a/ui/views/widget/desktop_aura/desktop_screen_x11.h
+++ b/ui/views/widget/desktop_aura/desktop_screen_x11.h
@@ -71,6 +71,9 @@ class VIEWS_EXPORT DesktopScreenX11 : public gfx::Screen,
// We delay updating the display so we can coalesce events.
void ConfigureTimerFired();
+ // Updates |displays_| and sets FontRenderParams's scale factor.
+ void SetDisplaysInternal(const std::vector<gfx::Display>& displays);
+
Display* xdisplay_;
::Window x_root_window_;

Powered by Google App Engine
This is Rietveld 408576698