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

Side by Side Diff: ui/gfx/font_render_params.h

Issue 2840563004: Move vr features.gni into its own directory. (Closed)
Patch Set: Update references to vr/features.h Created 3 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 unified diff | Download patch
« no previous file with comments | « ui/gfx/DEPS ('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 2014 The Chromium Authors. All rights reserved. 1 // Copyright 2014 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_GFX_FONT_RENDER_PARAMS_H_ 5 #ifndef UI_GFX_FONT_RENDER_PARAMS_H_
6 #define UI_GFX_FONT_RENDER_PARAMS_H_ 6 #define UI_GFX_FONT_RENDER_PARAMS_H_
7 7
8 #include <string> 8 #include <string>
9 #include <vector> 9 #include <vector>
10 10
11 #include "build/build_config.h" 11 #include "build/build_config.h"
12 #include "device/vr/features.h" 12 #include "device/vr/features/features.h"
13 #include "third_party/skia/include/core/SkFontLCDConfig.h" 13 #include "third_party/skia/include/core/SkFontLCDConfig.h"
14 #include "ui/gfx/font.h" 14 #include "ui/gfx/font.h"
15 #include "ui/gfx/gfx_export.h" 15 #include "ui/gfx/gfx_export.h"
16 16
17 namespace gfx { 17 namespace gfx {
18 18
19 // A collection of parameters describing how text should be rendered on Linux. 19 // A collection of parameters describing how text should be rendered on Linux.
20 struct GFX_EXPORT FontRenderParams { 20 struct GFX_EXPORT FontRenderParams {
21 FontRenderParams(); 21 FontRenderParams();
22 FontRenderParams(const FontRenderParams& other); 22 FontRenderParams(const FontRenderParams& other);
(...skipping 97 matching lines...) Expand 10 before | Expand all | Expand 10 after
120 120
121 // Sets the device scale factor for FontRenderParams to decide 121 // Sets the device scale factor for FontRenderParams to decide
122 // if it should enable subpixel positioning. 122 // if it should enable subpixel positioning.
123 GFX_EXPORT void SetFontRenderParamsDeviceScaleFactor( 123 GFX_EXPORT void SetFontRenderParamsDeviceScaleFactor(
124 float device_scale_factor); 124 float device_scale_factor);
125 #endif 125 #endif
126 126
127 } // namespace gfx 127 } // namespace gfx
128 128
129 #endif // UI_GFX_FONT_RENDER_PARAMS_H_ 129 #endif // UI_GFX_FONT_RENDER_PARAMS_H_
OLDNEW
« no previous file with comments | « ui/gfx/DEPS ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698