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

Side by Side Diff: ui/gfx/platform_font_linux.h

Issue 1868363002: Replace scoped_ptr with std::unique_ptr in //ui (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@scopedptrcc
Patch Set: scopedptrui: rebase-make_scoped_ptr Created 4 years, 8 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/path_x11.cc ('k') | ui/gfx/render_text.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 (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 #ifndef UI_GFX_PLATFORM_FONT_LINUX_H_ 5 #ifndef UI_GFX_PLATFORM_FONT_LINUX_H_
6 #define UI_GFX_PLATFORM_FONT_LINUX_H_ 6 #define UI_GFX_PLATFORM_FONT_LINUX_H_
7 7
8 #include <memory>
8 #include <string> 9 #include <string>
9 10
10 #include "base/compiler_specific.h" 11 #include "base/compiler_specific.h"
11 #include "base/macros.h" 12 #include "base/macros.h"
12 #include "base/memory/scoped_ptr.h"
13 #include "build/build_config.h" 13 #include "build/build_config.h"
14 #include "skia/ext/refptr.h" 14 #include "skia/ext/refptr.h"
15 #include "third_party/skia/include/core/SkRefCnt.h" 15 #include "third_party/skia/include/core/SkRefCnt.h"
16 #include "ui/gfx/font_render_params.h" 16 #include "ui/gfx/font_render_params.h"
17 #include "ui/gfx/platform_font.h" 17 #include "ui/gfx/platform_font.h"
18 18
19 class SkTypeface; 19 class SkTypeface;
20 class SkPaint; 20 class SkPaint;
21 21
22 namespace gfx { 22 namespace gfx {
(...skipping 77 matching lines...) Expand 10 before | Expand all | Expand 10 after
100 // A font description string of the format used by gfx::FontList. 100 // A font description string of the format used by gfx::FontList.
101 static std::string* default_font_description_; 101 static std::string* default_font_description_;
102 #endif 102 #endif
103 103
104 DISALLOW_COPY_AND_ASSIGN(PlatformFontLinux); 104 DISALLOW_COPY_AND_ASSIGN(PlatformFontLinux);
105 }; 105 };
106 106
107 } // namespace gfx 107 } // namespace gfx
108 108
109 #endif // UI_GFX_PLATFORM_FONT_LINUX_H_ 109 #endif // UI_GFX_PLATFORM_FONT_LINUX_H_
OLDNEW
« no previous file with comments | « ui/gfx/path_x11.cc ('k') | ui/gfx/render_text.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698