OLD | NEW |
1 // Copyright (c) 2015 The Chromium Authors. All rights reserved. | 1 // Copyright (c) 2015 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 CONTENT_TEST_DWRITE_FONT_FAKE_SENDER_WIN_H_ | 5 #ifndef CONTENT_TEST_DWRITE_FONT_FAKE_SENDER_WIN_H_ |
6 #define CONTENT_TEST_DWRITE_FONT_FAKE_SENDER_WIN_H_ | 6 #define CONTENT_TEST_DWRITE_FONT_FAKE_SENDER_WIN_H_ |
7 | 7 |
8 #include <stddef.h> | 8 #include <stddef.h> |
9 #include <stdint.h> | 9 #include <stdint.h> |
10 #include <wrl.h> | 10 #include <wrl.h> |
11 | 11 |
12 #include <utility> | 12 #include <utility> |
13 #include <vector> | 13 #include <vector> |
14 | 14 |
15 #include "base/macros.h" | 15 #include "base/macros.h" |
16 #include "base/memory/ref_counted.h" | 16 #include "base/memory/ref_counted.h" |
| 17 #include "base/memory/scoped_ptr.h" |
17 #include "base/strings/string16.h" | 18 #include "base/strings/string16.h" |
18 #include "ipc/ipc_message.h" | 19 #include "ipc/ipc_message.h" |
19 #include "ipc/ipc_sender.h" | 20 #include "ipc/ipc_sender.h" |
20 | 21 |
21 namespace content { | 22 namespace content { |
22 | 23 |
23 class FakeFontCollection; | 24 class FakeFontCollection; |
24 | 25 |
25 // Creates a new FakeFontCollection, seeded with some basic data, and returns a | 26 // Creates a new FakeFontCollection, seeded with some basic data, and returns a |
26 // Sender that can be used to interact with the collection. | 27 // Sender that can be used to interact with the collection. |
(...skipping 126 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
153 | 154 |
154 std::vector<FakeFont> fonts_; | 155 std::vector<FakeFont> fonts_; |
155 std::vector<std::unique_ptr<IPC::Message>> messages_; | 156 std::vector<std::unique_ptr<IPC::Message>> messages_; |
156 | 157 |
157 DISALLOW_COPY_AND_ASSIGN(FakeFontCollection); | 158 DISALLOW_COPY_AND_ASSIGN(FakeFontCollection); |
158 }; | 159 }; |
159 | 160 |
160 } // namespace content | 161 } // namespace content |
161 | 162 |
162 #endif // CONTENT_TEST_DWRITE_FONT_FAKE_SENDER_WIN_H_ | 163 #endif // CONTENT_TEST_DWRITE_FONT_FAKE_SENDER_WIN_H_ |
OLD | NEW |