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

Unified Diff: content/common/font_descriptor_mac.h

Issue 6289009: [Mac] Implement the system dictionary popup by implementing NSTextInput methods. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Fix Clang Created 9 years, 8 months 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 side-by-side diff with in-line comments
Download patch
« no previous file with comments | « content/common/common_param_traits.cc ('k') | content/common/font_descriptor_mac.mm » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: content/common/font_descriptor_mac.h
diff --git a/content/common/font_descriptor_mac.h b/content/common/font_descriptor_mac.h
index 91bb338f2d129832419f6f63cd9742a6b798b785..c3ac5a8077d3177be458141f031ff51a8c29c03a 100644
--- a/content/common/font_descriptor_mac.h
+++ b/content/common/font_descriptor_mac.h
@@ -17,11 +17,12 @@ class NSFont;
// Container to allow serializing an NSFont over IPC.
struct FontDescriptor {
explicit FontDescriptor(NSFont* font);
+ FontDescriptor(string16 name, float size);
FontDescriptor() : font_point_size(0) {}
// Return an autoreleased NSFont corresponding to the font description.
- NSFont* nsFont() const;
+ NSFont* ToNSFont() const;
// Name of the font.
string16 font_name;
« no previous file with comments | « content/common/common_param_traits.cc ('k') | content/common/font_descriptor_mac.mm » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698