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..37005119ca94f143395f0562f925785ee3438c5b 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& FontName() { return font_name_; } |
ananta
2016/04/12 23:44:39
Please change name to font_name()
Ilya Kulshin
2016/04/13 01:33:29
Done.
|
+ |
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: |