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

Side by Side Diff: ui/gfx/font_render_params_win.cc

Issue 1543183002: Switch to standard integer types in ui/gfx/. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 5 years 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/font_render_params_linux_unittest.cc ('k') | ui/gfx/font_unittest.cc » ('j') | 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 #include "base/bind.h" 5 #include "base/bind.h"
6 #include "base/bind_helpers.h" 6 #include "base/bind_helpers.h"
7 #include "base/files/file_path.h" 7 #include "base/files/file_path.h"
8 #include "base/macros.h"
8 #include "base/memory/scoped_ptr.h" 9 #include "base/memory/scoped_ptr.h"
9 #include "base/memory/singleton.h" 10 #include "base/memory/singleton.h"
10 #include "base/win/registry.h" 11 #include "base/win/registry.h"
11 #include "ui/gfx/font_render_params.h" 12 #include "ui/gfx/font_render_params.h"
12 #include "ui/gfx/win/direct_write.h" 13 #include "ui/gfx/win/direct_write.h"
13 #include "ui/gfx/win/singleton_hwnd_observer.h" 14 #include "ui/gfx/win/singleton_hwnd_observer.h"
14 15
15 namespace gfx { 16 namespace gfx {
16 17
17 namespace { 18 namespace {
(...skipping 85 matching lines...) Expand 10 before | Expand all | Expand 10 after
103 104
104 FontRenderParams GetFontRenderParams(const FontRenderParamsQuery& query, 105 FontRenderParams GetFontRenderParams(const FontRenderParamsQuery& query,
105 std::string* family_out) { 106 std::string* family_out) {
106 if (family_out) 107 if (family_out)
107 NOTIMPLEMENTED(); 108 NOTIMPLEMENTED();
108 // Customized font rendering settings are not supported, only defaults. 109 // Customized font rendering settings are not supported, only defaults.
109 return CachedFontRenderParams::GetInstance()->GetParams(); 110 return CachedFontRenderParams::GetInstance()->GetParams();
110 } 111 }
111 112
112 } // namespace gfx 113 } // namespace gfx
OLDNEW
« no previous file with comments | « ui/gfx/font_render_params_linux_unittest.cc ('k') | ui/gfx/font_unittest.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698