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

Side by Side Diff: ui/views/linux_ui/linux_ui.h

Issue 2441043002: [linux] Allow font to use below 1.0f scale (Closed)
Patch Set: Allow font to use below 1.0f scale 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 unified diff | Download patch
« no previous file with comments | « chrome/browser/ui/views/chrome_browser_main_extra_parts_views_linux.cc ('k') | no next file » | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 // Copyright 2013 The Chromium Authors. All rights reserved. 1 // Copyright 2013 The Chromium Authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style license that can be 2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file. 3 // found in the LICENSE file.
4 4
5 #ifndef UI_VIEWS_LINUX_UI_LINUX_UI_H_ 5 #ifndef UI_VIEWS_LINUX_UI_LINUX_UI_H_
6 #define UI_VIEWS_LINUX_UI_LINUX_UI_H_ 6 #define UI_VIEWS_LINUX_UI_LINUX_UI_H_
7 7
8 #include <string> 8 #include <string>
9 9
10 #include "base/callback.h" 10 #include "base/callback.h"
(...skipping 136 matching lines...) Expand 10 before | Expand all | Expand 10 after
147 virtual NonClientMiddleClickAction GetNonClientMiddleClickAction() = 0; 147 virtual NonClientMiddleClickAction GetNonClientMiddleClickAction() = 0;
148 148
149 // Notifies the window manager that start up has completed. 149 // Notifies the window manager that start up has completed.
150 // Normally Chromium opens a new window on startup and GTK does this 150 // Normally Chromium opens a new window on startup and GTK does this
151 // automatically. In case Chromium does not open a new window on startup, 151 // automatically. In case Chromium does not open a new window on startup,
152 // e.g. an existing browser window already exists, this should be called. 152 // e.g. an existing browser window already exists, this should be called.
153 virtual void NotifyWindowManagerStartupComplete() = 0; 153 virtual void NotifyWindowManagerStartupComplete() = 0;
154 154
155 // Updates the device scale factor so that the default font size can be 155 // Updates the device scale factor so that the default font size can be
156 // recalculated. 156 // recalculated.
157 virtual void UpdateDeviceScaleFactor(float device_scale_factor) = 0; 157 virtual void UpdateDeviceScaleFactor() = 0;
158 158
159 // Determines the device scale factor of the primary screen. 159 // Determines the device scale factor of the primary screen.
160 virtual float GetDeviceScaleFactor() const = 0; 160 virtual float GetDeviceScaleFactor() const = 0;
161 }; 161 };
162 162
163 } // namespace views 163 } // namespace views
164 164
165 #endif // UI_VIEWS_LINUX_UI_LINUX_UI_H_ 165 #endif // UI_VIEWS_LINUX_UI_LINUX_UI_H_
OLDNEW
« no previous file with comments | « chrome/browser/ui/views/chrome_browser_main_extra_parts_views_linux.cc ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698