| Index: content/test/dwrite_font_fake_sender_win.h
|
| diff --git a/content/test/dwrite_font_fake_sender_win.h b/content/test/dwrite_font_fake_sender_win.h
|
| index aa0e0a0a108b8004e94611aa771c288160efe23f..1062f4232d63929726ab67e1920b90ee771185e0 100644
|
| --- a/content/test/dwrite_font_fake_sender_win.h
|
| +++ b/content/test/dwrite_font_fake_sender_win.h
|
| @@ -19,6 +19,9 @@
|
| #include "ipc/ipc_message.h"
|
| #include "ipc/ipc_sender.h"
|
|
|
| +struct DWriteFontStyle;
|
| +struct MapCharactersResult;
|
| +
|
| namespace content {
|
|
|
| class FakeFontCollection;
|
| @@ -45,6 +48,8 @@ class FakeFont {
|
| return *this;
|
| }
|
|
|
| + const base::string16& font_name() { return font_name_; }
|
| +
|
| private:
|
| friend FakeFontCollection;
|
| base::string16 font_name_;
|
| @@ -112,6 +117,13 @@ class FakeFontCollection : public base::RefCounted<FakeFontCollection> {
|
| void OnGetFontFiles(uint32_t family_index,
|
| std::vector<base::string16>* file_paths_);
|
|
|
| + void OnMapCharacters(const base::string16& text,
|
| + const DWriteFontStyle& font_style,
|
| + const base::string16& locale_name,
|
| + uint32_t reading_direction,
|
| + const base::string16& base_family_name,
|
| + MapCharactersResult* result);
|
| +
|
| private:
|
| scoped_refptr<FakeFontCollection> collection_;
|
| std::unique_ptr<IPC::Message> reply_;
|
| @@ -146,6 +158,13 @@ class FakeFontCollection : public base::RefCounted<FakeFontCollection> {
|
| void OnGetFontFiles(uint32_t family_index,
|
| std::vector<base::string16>* file_paths);
|
|
|
| + void OnMapCharacters(const base::string16& text,
|
| + const DWriteFontStyle& font_style,
|
| + const base::string16& locale_name,
|
| + uint32_t reading_direction,
|
| + const base::string16& base_family_name,
|
| + MapCharactersResult* result);
|
| +
|
| std::unique_ptr<ReplySender> GetReplySender();
|
|
|
| private:
|
|
|