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

Side by Side Diff: ui/gfx/linux_font_delegate.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/interpolated_transform_unittest.cc ('k') | ui/gfx/mac/coordinate_conversion_unittest.mm » ('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 2013 The Chromium Authors. All rights reserved. 1 // Copyright 2013 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_LINUX_FONT_DELEGATE_H_ 5 #ifndef UI_GFX_LINUX_FONT_DELEGATE_H_
6 #define UI_GFX_LINUX_FONT_DELEGATE_H_ 6 #define UI_GFX_LINUX_FONT_DELEGATE_H_
7 7
8 #include <memory>
8 #include <string> 9 #include <string>
9 10
10 #include "base/memory/scoped_ptr.h"
11 #include "ui/gfx/font_render_params.h" 11 #include "ui/gfx/font_render_params.h"
12 #include "ui/gfx/gfx_export.h" 12 #include "ui/gfx/gfx_export.h"
13 13
14 namespace gfx { 14 namespace gfx {
15 15
16 // Allows a Linux platform-specific overriding of font preferences. 16 // Allows a Linux platform-specific overriding of font preferences.
17 class GFX_EXPORT LinuxFontDelegate { 17 class GFX_EXPORT LinuxFontDelegate {
18 public: 18 public:
19 virtual ~LinuxFontDelegate() {} 19 virtual ~LinuxFontDelegate() {}
20 20
(...skipping 17 matching lines...) Expand all
38 virtual void GetDefaultFontDescription( 38 virtual void GetDefaultFontDescription(
39 std::string* family_out, 39 std::string* family_out,
40 int* size_pixels_out, 40 int* size_pixels_out,
41 int* style_out, 41 int* style_out,
42 FontRenderParams* params_out) const = 0; 42 FontRenderParams* params_out) const = 0;
43 }; 43 };
44 44
45 } // namespace gfx 45 } // namespace gfx
46 46
47 #endif // UI_GFX_LINUX_FONT_DELEGATE_H_ 47 #endif // UI_GFX_LINUX_FONT_DELEGATE_H_
OLDNEW
« no previous file with comments | « ui/gfx/interpolated_transform_unittest.cc ('k') | ui/gfx/mac/coordinate_conversion_unittest.mm » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698