/external/chromium_org/third_party/WebKit/Source/platform/fonts/ |
D | FontPlatformData.h | 41 OBJC_CLASS NSFont; variable 79 inline CTFontRef toCTFontRef(NSFont *nsFont) { return reinterpret_cast<CTFontRef>(nsFont); } in toCTFontRef() 91 …FontPlatformData(NSFont*, float size, bool isPrinterFont = false, bool syntheticBold = false, bool… 99 NSFont* font() const { return m_font; } in font() 100 void setFont(NSFont*); 179 void loadFont(NSFont*, float fontSize, NSFont*& outNSFont, CGFontRef&); 180 static NSFont* hashTableDeletedFontValue() { return reinterpret_cast<NSFont *>(-1); } in hashTableDeletedFontValue() 192 NSFont* m_font;
|
/external/chromium_org/content/common/mac/ |
D | font_descriptor.h | 12 @class NSFont; 14 class NSFont; variable 19 explicit FontDescriptor(NSFont* font); 25 NSFont* ToNSFont() const;
|
D | font_descriptor_unittest.mm | 24 bool CompareFonts(NSFont* font1, NSFont* font2) { 70 // Create an NSFont via a FontDescriptor object. 71 NSFont* MakeNSFont(const std::string& font_name, float font_point_size) { 81 NSFont* plain_font = [NSFont systemFontOfSize:12.0]; 86 NSFont* bold_font = [NSFont boldSystemFontOfSize:30.0]; 91 NSFont* italic_bold_font =
|
D | font_descriptor.mm | 11 FontDescriptor::FontDescriptor(NSFont* font) { 21 NSFont* FontDescriptor::ToNSFont() const { 23 NSFont* font = [NSFont fontWithName:font_name_ns size:font_point_size];
|
D | attributed_string_coder_unittest.mm | 24 NSFont* font = [NSFont fontWithName:name size:size]; 54 value:[NSFont systemFontOfSize:26] 65 EXPECT_NSEQ([NSFont systemFontOfSize:26], 112 FontDescriptor([NSFont systemFontOfSize:12]), 116 FontDescriptor([NSFont systemFontOfSize:14]), 120 FontDescriptor([NSFont systemFontOfSize:16]), 128 EXPECT_NSEQ([NSFont systemFontOfSize:12],
|
D | font_loader.h | 14 @class NSFont; 16 class NSFont; variable
|
/external/chromium_org/third_party/WebKit/public/platform/mac/ |
D | WebSandboxSupport.h | 37 @class NSFont; 39 class NSFont; variable 56 virtual bool loadFont(NSFont* srcFont, CGFontRef* out, uint32_t* fontID) = 0;
|
/external/chromium_org/ui/gfx/ |
D | platform_font_mac.mm | 20 // Returns an autoreleased NSFont created with the passed-in specifications. 21 NSFont* NSFontWithSpec(const std::string& font_name, 39 NSFont* font = [NSFont fontWithDescriptor:descriptor size:font_size]; 50 return [NSFont fontWithDescriptor:descriptor size:font_size]; 59 : native_font_([[NSFont systemFontOfSize:[NSFont systemFontSize]] retain]), 61 font_size_([NSFont systemFontSize]), 158 NSFont* font = native_font_.get();
|
D | platform_font_mac_unittest.mm | 36 gfx::Font normal_font([NSFont fontWithName:@"Helvetica" size:12]); 41 gfx::Font bold_font([NSFont fontWithName:@"Helvetica-Bold" size:14]); 46 gfx::Font italic_font([NSFont fontWithName:@"Helvetica-Oblique" size:14]); 52 [NSFont fontWithName:@"Helvetica-BoldOblique" size:14]);
|
/external/clang/test/SemaObjC/ |
D | arc-unavailable-for-weakref.m | 53 @interface NSFont interface 59 @property (weak) NSFont *font; // expected-error {{synthesizing __weak instance variable of type 'N… 68 @property (weak) NSFont *font; // expected-error {{synthesizing __weak instance variable of type 'N… 79 @property (weak) NSFont *font; // expected-error {{synthesizing __weak instance variable of type '…
|
/external/chromium_org/chrome/browser/ui/cocoa/tab_contents/ |
D | sad_tab_view.mm | 40 NSFont* titleFont = [NSFont boldSystemFontOfSize:[NSFont systemFontSize]]; 44 NSFont* messageFont = [NSFont systemFontOfSize:[NSFont smallSystemFontSize]]; 152 NSFont* font = [NSFont systemFontOfSize:[NSFont smallSystemFontSize]];
|
/external/chromium_org/third_party/WebKit/Source/platform/fonts/mac/ |
D | FontCacheMac.mm | 43 @interface NSFont (WebKitSPI) interface in WebKitSPI 44 + (NSFont*)findFontLike:(NSFont*)font forString:(NSString*)string withRange:(NSRange)range inLangua… argument 45 + (NSFont*)findFontLike:(NSFont*)font forCharacter:(UniChar)uc inLanguage:(id)useNil; argument 109 NSFont *nsFont = platformData.font(); 112 …NSFont *substituteFont = [NSFont findFontLike:nsFont forString:string withRange:NSMakeRange(0, cod… 117 substituteFont = [NSFont findFontLike:nsFont forCharacter:codeUnits[0] inLanguage:nil]; 156 …if (NSFont *bestVariation = [fontManager fontWithFamily:[substituteFont familyName] traits:traits … 200 NSFont *nsFont = [WebFontCache fontWithFamily:family traits:traits weight:weight size:size]; 210 …NSFont *platformFont = fontDescription.usePrinterFont() ? [nsFont printerFont] : [nsFont screenFon…
|
D | MemoryActivatedFont.h | 75 static PassRefPtr<MemoryActivatedFont> create(uint32_t fontID, NSFont*, CGFontRef); 86 MemoryActivatedFont(uint32_t fontID, NSFont*, CGFontRef);
|
D | MemoryActivatedFont.mm | 32 #import <AppKit/NSFont.h> 85 WTF::String hashKeyFromNSFont(NSFont* srcFont) 104 PassRefPtr<MemoryActivatedFont> loadFontFromBrowserProcess(NSFont* nsFont) 140 PassRefPtr<MemoryActivatedFont> MemoryActivatedFont::create(uint32_t fontID, NSFont* nsFont, CGFont… 145 MemoryActivatedFont::MemoryActivatedFont(uint32_t fontID, NSFont* nsFont, CGFontRef cgFont) 167 // Given an NSFont, try to load a representation of that font into the cgFont 179 // * cgFont - on output this contains the CGFontRef corresponding to the NSFont 183 void FontPlatformData::loadFont(NSFont* nsFont, float fontSize, NSFont*& outNSFont, CGFontRef& cgFo…
|
/external/chromium_org/chrome/browser/ui/webui/options/ |
D | font_settings_utils_mac.mm | 21 // -[NSFont fontWithName:size] accepted a font or family name, but the 26 NSFont *font = [NSFont fontWithName:family_name 27 size:[NSFont systemFontSize]];
|
/external/chromium/chrome/browser/ui/cocoa/tab_contents/ |
D | sad_tab_view.mm | 35 NSFont* titleFont = [NSFont boldSystemFontOfSize:[NSFont systemFontSize]]; 39 NSFont* messageFont = [NSFont systemFontOfSize:[NSFont smallSystemFontSize]];
|
/external/chromium_org/chrome/browser/ui/cocoa/autofill/ |
D | generated_credit_card_bubble_cocoa.mm | 114 NSFont* titleFont = [NSFont systemFontOfSize:15.0]; 135 NSFont* font = [NSFont systemFontOfSize:[NSFont systemFontSize]]; 136 NSFont* boldFont = [NSFont boldSystemFontOfSize:[NSFont systemFontSize]];
|
/external/chromium/chrome/browser/ui/webui/options/ |
D | font_settings_utils_mac.mm | 19 // -[NSFont fontWithName:size] accepted a font or family name, but the 24 NSFont *font = [NSFont fontWithName:family_name 25 size:[NSFont systemFontSize]];
|
/external/chromium_org/third_party/WebKit/Source/platform/mac/ |
D | WebFontCache.h | 32 + (NSFont *)fontWithFamily:(NSString *)desiredFamily traits:(NSFontTraitMask)desiredTraits weight:(… 35 + (NSFont *)fontWithFamily:(NSString *)desiredFamily traits:(NSFontTraitMask)desiredTraits size:(fl…
|
D | WebFontCache.mm | 104 + (NSFont *)internalFontWithFamily:(NSString *)desiredFamily traits:(NSFontTraitMask)desiredTraits … 122 NSFont *nameMatchedFont = nil; 126 nameMatchedFont = [NSFont fontWithName:availableFont size:size]; 181 NSFont *font = [NSFont fontWithName:chosenFullName size:size]; 208 …NSFont *fontWithoutSyntheticTraits = [fontManager fontWithFamily:availableFamily traits:nonSynthet… 216 + (NSFont *)fontWithFamily:(NSString *)desiredFamily traits:(NSFontTraitMask)desiredTraits weight:(… 218 …NSFont *font = [self internalFontWithFamily:desiredFamily traits:desiredTraits weight:desiredWeigh… 224 [NSFont fontWithName:desiredFamily size:size]; 229 + (NSFont *)fontWithFamily:(NSString *)desiredFamily traits:(NSFontTraitMask)desiredTraits size:(fl…
|
/external/chromium_org/third_party/WebKit/Source/platform/fonts/cocoa/ |
D | FontPlatformDataCocoa.mm | 27 #import <AppKit/NSFont.h> 40 FontPlatformData::FontPlatformData(NSFont *nsFont, float size, bool isPrinterFont, bool syntheticBo… 76 if (m_font && m_font != reinterpret_cast<NSFont *>(-1)) 82 m_font = f.m_font && f.m_font != reinterpret_cast<NSFont *>(-1) ? [f.m_font retain] : f.m_font; 98 if (f.m_font && f.m_font != reinterpret_cast<NSFont *>(-1)) 100 if (m_font && m_font != reinterpret_cast<NSFont *>(-1)) 118 void FontPlatformData::setFont(NSFont *font) 121 ASSERT(m_font != reinterpret_cast<NSFont *>(-1)); 133 NSFont* loadedFont = 0;
|
/external/chromium_org/chrome/browser/ui/cocoa/ |
D | hyperlink_text_view.h | 23 font:(NSFont*)font 30 withFont:(NSFont*)font
|
/external/chromium/chrome/browser/ui/cocoa/location_bar/ |
D | ev_bubble_decoration.h | 26 EVBubbleDecoration(LocationIconDecoration* location_icon, NSFont* font); 48 scoped_nsobject<NSFont> font_;
|
/external/chromium/chrome/browser/ui/cocoa/download/ |
D | download_item_cell.h | 39 NSFont* secondaryFont_; 52 @property(nonatomic, retain) NSFont* secondaryFont;
|
/external/chromium_org/base/mac/ |
D | foundation_util.mm | 297 // The NSFont/CTFont toll-free bridging is broken when it comes to type 300 NSFont* CFToNSCast(CTFontRef cf_val) { 301 NSFont* ns_val = 302 const_cast<NSFont*>(reinterpret_cast<const NSFont*>(cf_val)); 306 [ns_val isKindOfClass:NSClassFromString(@"NSFont")])); 310 CTFontRef NSToCFCast(NSFont* ns_val) { 314 [ns_val isKindOfClass:NSClassFromString(@"NSFont")]); 361 // The NSFont/CTFont toll-free bridging is broken when it comes to type 377 if ([ns_val isKindOfClass:NSClassFromString(@"NSFont")]) {
|