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 d2929a23c567716d5b3416520bdca56c2a603f9a..84363cb1ca863f59ba6083d0c1eeff0c4eb0196f 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; |
@@ -47,6 +50,8 @@ class FakeFont { |
return *this; |
} |
+ const base::string16& font_name() { return font_name_; } |
+ |
private: |
friend FakeFontCollection; |
base::string16 font_name_; |
@@ -114,6 +119,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_; |
@@ -148,6 +160,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: |