OLD | NEW |
1 // Copyright (c) 2011 The Chromium Authors. All rights reserved. | 1 // Copyright (c) 2011 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 #include "content/common/font_list.h" | 5 #include "content/common/font_list.h" |
6 | 6 |
7 #include <pango/pango.h> | 7 #include <pango/pango.h> |
8 #include <pango/pangocairo.h> | 8 #include <pango/pangocairo.h> |
9 | 9 |
10 #include <set> | 10 #include <set> |
(...skipping 23 matching lines...) Expand all Loading... |
34 font_item->Append(new base::StringValue(*iter)); | 34 font_item->Append(new base::StringValue(*iter)); |
35 font_item->Append(new base::StringValue(*iter)); // localized name. | 35 font_item->Append(new base::StringValue(*iter)); // localized name. |
36 // TODO(yusukes): Support localized family names. | 36 // TODO(yusukes): Support localized family names. |
37 font_list->Append(font_item); | 37 font_list->Append(font_item); |
38 } | 38 } |
39 | 39 |
40 return font_list.Pass(); | 40 return font_list.Pass(); |
41 } | 41 } |
42 | 42 |
43 } // namespace content | 43 } // namespace content |
OLD | NEW |