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

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

Issue 1544283002: Clean up header files. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 4 years, 11 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/color_analysis.cc ('k') | ui/gfx/render_text.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 (c) 2012 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2012 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/platform_font_win.h" 5 #include "ui/gfx/platform_font_win.h"
6 6
7 #include <windows.h> 7 #include <windows.h>
8 #include <dwrite.h> 8 #include <dwrite.h>
9 #include <limits.h>
9 #include <math.h> 10 #include <math.h>
10 #include <stdint.h> 11 #include <stdint.h>
11 #include <wchar.h> 12 #include <wchar.h>
12 13
13 #include <algorithm> 14 #include <algorithm>
14 15
15 #include "base/debug/alias.h" 16 #include "base/debug/alias.h"
16 #include "base/logging.h" 17 #include "base/logging.h"
17 #include "base/macros.h" 18 #include "base/macros.h"
18 #include "base/strings/string16.h" 19 #include "base/strings/string16.h"
(...skipping 704 matching lines...) Expand 10 before | Expand all | Expand 10 after
723 return new PlatformFontWin(native_font); 724 return new PlatformFontWin(native_font);
724 } 725 }
725 726
726 // static 727 // static
727 PlatformFont* PlatformFont::CreateFromNameAndSize(const std::string& font_name, 728 PlatformFont* PlatformFont::CreateFromNameAndSize(const std::string& font_name,
728 int font_size) { 729 int font_size) {
729 return new PlatformFontWin(font_name, font_size); 730 return new PlatformFontWin(font_name, font_size);
730 } 731 }
731 732
732 } // namespace gfx 733 } // namespace gfx
OLDNEW
« no previous file with comments | « ui/gfx/color_analysis.cc ('k') | ui/gfx/render_text.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698