Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(153)

Side by Side Diff: content/common/dwrite_font_proxy_messages.h

Issue 1514183002: Revert "Create direct write font proxy classes and unit tests." (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 5 years ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
« no previous file with comments | « content/common/content_message_generator.h ('k') | content/common/font_warmup_win.h » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
(Empty)
1 // Copyright 2015 The Chromium Authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file.
4
5 #include <utility>
6 #include <vector>
7
8 #include "base/strings/string16.h"
9 #include "content/common/content_export.h"
10 #include "ipc/ipc_message_macros.h"
11
12 #undef IPC_MESSAGE_EXPORT
13 #define IPC_MESSAGE_EXPORT CONTENT_EXPORT
14 #define IPC_MESSAGE_START DWriteFontProxyMsgStart
15
16 // The macros can't handle a complex template declaration, so we typedef it.
17 typedef std::pair<base::string16, base::string16> DWriteStringPair;
18
19 // Locates the index of the specified font family within the system collection.
20 IPC_SYNC_MESSAGE_CONTROL1_1(DWriteFontProxyMsg_FindFamily,
21 base::string16 /* family_name */,
22 uint32_t /* out index */)
23
24 // Returns the number of font families in the system collection.
25 IPC_SYNC_MESSAGE_CONTROL0_1(DWriteFontProxyMsg_GetFamilyCount,
26 uint32_t /* out count */)
27
28 // Returns the list of locale and family name pairs for the font family at the
29 // specified index.
30 IPC_SYNC_MESSAGE_CONTROL1_1(
31 DWriteFontProxyMsg_GetFamilyNames,
32 uint32_t /* family_index */,
33 std::vector<DWriteStringPair> /* out family_names */)
34
35 // Returns the list of font file paths in the system font directory that contain
36 // font data for the font family at the specified index.
37 IPC_SYNC_MESSAGE_CONTROL1_1(DWriteFontProxyMsg_GetFontFiles,
38 uint32_t /* family_index */,
39 std::vector<base::string16> /* out file_paths */)
OLDNEW
« no previous file with comments | « content/common/content_message_generator.h ('k') | content/common/font_warmup_win.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698