Updating trunk VERSION from 2139.0 to 2140.0
[chromium-blink-merge.git] / ui / gfx / font_render_params.cc
blob780489172b04f18d3d0f20b8cc567e7bef071511
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
3 // found in the LICENSE file.
5 #include "ui/gfx/font_render_params.h"
7 namespace gfx {
9 FontRenderParams::FontRenderParams()
10 : antialiasing(true),
11 subpixel_positioning(true),
12 autohinter(false),
13 use_bitmaps(false),
14 hinting(HINTING_MEDIUM),
15 subpixel_rendering(SUBPIXEL_RENDERING_NONE) {
18 FontRenderParams::~FontRenderParams() {}
20 FontRenderParamsQuery::FontRenderParamsQuery(bool for_web_contents)
21 : for_web_contents(for_web_contents),
22 pixel_size(0),
23 point_size(0),
24 style(-1) {
27 FontRenderParamsQuery::~FontRenderParamsQuery() {}
29 } // namespace gfx