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

Side by Side Diff: ui/gfx/win/direct_write.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/win/direct_manipulation.cc ('k') | ui/gfx/win/scoped_set_map_mode.h » ('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 "ui/gfx/win/direct_write.h" 5 #include "ui/gfx/win/direct_write.h"
6 6
7 #include "base/basictypes.h"
8 #include "base/command_line.h" 7 #include "base/command_line.h"
9 #include "base/metrics/field_trial.h" 8 #include "base/metrics/field_trial.h"
10 #include "base/win/registry.h" 9 #include "base/win/registry.h"
11 #include "base/win/scoped_comptr.h" 10 #include "base/win/scoped_comptr.h"
12 #include "base/win/windows_version.h" 11 #include "base/win/windows_version.h"
13 #include "skia/ext/fontmgr_default_win.h" 12 #include "skia/ext/fontmgr_default_win.h"
14 #include "third_party/skia/include/ports/SkTypeface_win.h" 13 #include "third_party/skia/include/ports/SkTypeface_win.h"
15 #include "ui/gfx/platform_font_win.h" 14 #include "ui/gfx/platform_font_win.h"
16 #include "ui/gfx/switches.h" 15 #include "ui/gfx/switches.h"
17 #include "ui/gfx/win/dpi.h" 16 #include "ui/gfx/win/dpi.h"
(...skipping 90 matching lines...) Expand 10 before | Expand all | Expand 10 after
108 SetDefaultSkiaFactory(direct_write_font_mgr); 107 SetDefaultSkiaFactory(direct_write_font_mgr);
109 gfx::PlatformFontWin::SetDirectWriteFactory(factory.get()); 108 gfx::PlatformFontWin::SetDirectWriteFactory(factory.get());
110 } 109 }
111 110
112 bool IsDirectWriteEnabled() { 111 bool IsDirectWriteEnabled() {
113 return dwrite_enabled; 112 return dwrite_enabled;
114 } 113 }
115 114
116 } // namespace win 115 } // namespace win
117 } // namespace gfx 116 } // namespace gfx
OLDNEW
« no previous file with comments | « ui/gfx/win/direct_manipulation.cc ('k') | ui/gfx/win/scoped_set_map_mode.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698