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

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

Issue 569793002: Cleanup: Remove a few unneeded #includes in Linux font files. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: IWYU Created 6 years, 3 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 | « content/browser/renderer_host/font_utils_linux.cc ('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 (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_pango.h" 5 #include "ui/gfx/platform_font_pango.h"
6 6
7 #include <fontconfig/fontconfig.h>
8 #include <pango/pango.h> 7 #include <pango/pango.h>
9 8
10 #include <algorithm> 9 #include <algorithm>
11 #include <string> 10 #include <string>
12 11
13 #include "base/logging.h" 12 #include "base/logging.h"
14 #include "base/strings/string_piece.h" 13 #include "base/strings/string_piece.h"
15 #include "base/strings/string_split.h" 14 #include "base/strings/string_split.h"
16 #include "base/strings/utf_string_conversions.h" 15 #include "base/strings/utf_string_conversions.h"
17 #include "third_party/skia/include/core/SkPaint.h" 16 #include "third_party/skia/include/core/SkPaint.h"
(...skipping 320 matching lines...) Expand 10 before | Expand all | Expand 10 after
338 return new PlatformFontPango(native_font); 337 return new PlatformFontPango(native_font);
339 } 338 }
340 339
341 // static 340 // static
342 PlatformFont* PlatformFont::CreateFromNameAndSize(const std::string& font_name, 341 PlatformFont* PlatformFont::CreateFromNameAndSize(const std::string& font_name,
343 int font_size) { 342 int font_size) {
344 return new PlatformFontPango(font_name, font_size); 343 return new PlatformFontPango(font_name, font_size);
345 } 344 }
346 345
347 } // namespace gfx 346 } // namespace gfx
OLDNEW
« no previous file with comments | « content/browser/renderer_host/font_utils_linux.cc ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698