OLD | NEW |
1 // Copyright 2016 The Chromium Authors. All rights reserved. | 1 // Copyright 2016 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 WebFont_h | 5 #ifndef WebFont_h |
6 #define WebFont_h | 6 #define WebFont_h |
7 | 7 |
| 8 #include <memory> |
8 #include "WebCanvas.h" | 9 #include "WebCanvas.h" |
9 #include "WebColor.h" | 10 #include "WebColor.h" |
10 #include "WebCommon.h" | 11 #include "WebCommon.h" |
11 #include <memory> | |
12 | 12 |
13 // To avoid conflicts with the CreateWindow macro from the Windows SDK... | 13 // To avoid conflicts with the CreateWindow macro from the Windows SDK... |
14 #undef DrawText | 14 #undef DrawText |
15 | 15 |
16 namespace blink { | 16 namespace blink { |
17 | 17 |
18 struct WebFloatPoint; | 18 struct WebFloatPoint; |
19 struct WebFloatRect; | 19 struct WebFloatRect; |
20 struct WebFontDescription; | 20 struct WebFontDescription; |
21 struct WebRect; | 21 struct WebRect; |
(...skipping 28 matching lines...) Expand all Loading... |
50 private: | 50 private: |
51 explicit WebFont(const WebFontDescription&); | 51 explicit WebFont(const WebFontDescription&); |
52 | 52 |
53 class Impl; | 53 class Impl; |
54 std::unique_ptr<Impl> private_; | 54 std::unique_ptr<Impl> private_; |
55 }; | 55 }; |
56 | 56 |
57 } // namespace blink | 57 } // namespace blink |
58 | 58 |
59 #endif | 59 #endif |
OLD | NEW |