Searched refs:NSFont (Results 1 - 25 of 36) sorted by relevance

12

/external/chromium_org/content/common/mac/
H A Dfont_descriptor.h12 @class NSFont;
14 class NSFont;
17 // Container to allow serializing an NSFont over IPC.
19 explicit FontDescriptor(NSFont* font);
24 // Return an autoreleased NSFont corresponding to the font description.
25 NSFont* ToNSFont() const;
H A Dfont_loader.h14 @class NSFont;
16 class NSFont;
/external/chromium_org/third_party/WebKit/public/platform/mac/
H A DWebSandboxSupport.h37 @class NSFont;
39 class NSFont;
56 virtual bool loadFont(NSFont* srcFont, CGFontRef* out, uint32_t* fontID) = 0;
/external/chromium_org/third_party/WebKit/Source/platform/mac/
H A DWebFontCache.h32 + (NSFont *)fontWithFamily:(NSString *)desiredFamily traits:(NSFontTraitMask)desiredTraits weight:(int)desiredWeight size:(float)size;
35 + (NSFont *)fontWithFamily:(NSString *)desiredFamily traits:(NSFontTraitMask)desiredTraits size:(float)size;
H A DWebFontCache.mm104 + (NSFont *)internalFontWithFamily:(NSString *)desiredFamily traits:(NSFontTraitMask)desiredTraits weight:(int)desiredWeight size:(float)size
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:nonSyntheticTraits weight:chosenWeight size:size];
216 + (NSFont *)fontWithFamily:(NSString *)desiredFamily traits:(NSFontTraitMask)desiredTraits weight:(int)desiredWeight size:(float)size
218 NSFont *font = [self internalFontWithFamily:desiredFamily traits:desiredTraits weight:desiredWeight size:size];
224 [NSFont fontWithName:desiredFamily size:size];
229 + (NSFont *)fontWithFamil
[all...]
/external/chromium_org/chrome/browser/ui/cocoa/
H A Dhyperlink_text_view.h23 font:(NSFont*)font
30 withFont:(NSFont*)font
H A Dbubble_view.h60 - (NSFont*)font;
/external/chromium_org/third_party/WebKit/Source/platform/fonts/mac/
H A DMemoryActivatedFont.h55 // corresponding to the *original in-process NSFont* whose loading was blocked
75 static PassRefPtr<MemoryActivatedFont> create(uint32_t fontID, NSFont*, CGFontRef);
82 // srcFontRef - ATSFontRef belonging to the NSFont object that failed to
86 MemoryActivatedFont(uint32_t fontID, NSFont*, CGFontRef);
H A DMemoryActivatedFont.mm32 #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, CGFontRef 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& cgFont)
H A DFontCacheMac.mm43 @interface NSFont (WebKitSPI)
44 + (NSFont*)findFontLike:(NSFont*)font forString:(NSString*)string withRange:(NSRange)range inLanguage:(id)useNil;
45 + (NSFont*)findFontLike:(NSFont*)font forCharacter:(UniChar)uc inLanguage:(id)useNil;
109 NSFont *nsFont = platformData.font();
112 NSFont *substituteFont = [NSFont findFontLike:nsFont forString:string withRange:NSMakeRange(0, codeUnitsLength) inLanguage:nil];
117 substituteFont = [NSFont findFontLike:nsFont forCharacter:codeUnits[0] inLanguage:nil];
156 if (NSFont *bestVariatio
[all...]
H A DSimpleFontDataMac.mm45 @interface NSFont (WebAppKitSecretAPI)
67 static CGFontRenderingMode cgFontRenderingModeForNSFont(NSFont* font) {
105 DEFINE_STATIC_LOCAL(RetainPtr<NSString>, webFallbackFontFamily, ([[NSFont systemFontOfSize:16.0f] familyName]));
109 const SimpleFontData* SimpleFontData::getCompositeFontReferenceFontData(NSFont *key) const
123 NSFont *substituteFont = isUsingPrinterFont ? [key printerFont] : [key screenFont];
162 RetainPtr<NSFont> initialFont = m_platformData.font();
167 m_platformData.setFont([NSFont fontWithName:fallbackFontFamily size:m_platformData.size()]);
194 m_platformData.setFont([NSFont systemFontOfSize:[m_platformData.font() pointSize]]);
350 NSFont* f = m_platformData.font();
385 NSFont *fon
[all...]
/external/chromium_org/third_party/WebKit/Source/platform/fonts/
H A DFontPlatformData.h41 OBJC_CLASS NSFont; variable
79 inline CTFontRef toCTFontRef(NSFont *nsFont) { return reinterpret_cast<CTFontRef>(nsFont); }
91 FontPlatformData(NSFont*, float size, bool isPrinterFont = false, bool syntheticBold = false, bool syntheticOblique = false,
99 NSFont* font() const { return m_font; }
100 void setFont(NSFont*);
179 void loadFont(NSFont*, float fontSize, NSFont*& outNSFont, CGFontRef&);
180 static NSFont* hashTableDeletedFontValue() { return reinterpret_cast<NSFont *>(-1); }
192 NSFont* m_fon
[all...]
/external/chromium/chrome/browser/ui/cocoa/download/
H A Ddownload_item_cell.h39 NSFont* secondaryFont_;
52 @property(nonatomic, retain) NSFont* secondaryFont;
/external/chromium/chrome/browser/ui/cocoa/location_bar/
H A Dev_bubble_decoration.h26 EVBubbleDecoration(LocationIconDecoration* location_icon, NSFont* font);
48 scoped_nsobject<NSFont> font_;
H A Dkeyword_hint_decoration.h20 KeywordHintDecoration(NSFont* font);
H A Dselected_keyword_decoration.h18 SelectedKeywordDecoration(NSFont* font);
H A Dbubble_decoration.h21 BubbleDecoration(NSFont* font);
/external/chromium/chrome/browser/ui/cocoa/
H A Dbubble_view.h58 - (NSFont*)font;
H A Dsearch_engine_dialog_controller.h44 @property(readonly) NSFont* mainLabelFont;
/external/chromium_org/chrome/browser/ui/cocoa/download/
H A Ddownload_item_cell.h38 NSFont* secondaryFont_;
55 @property(nonatomic, retain) NSFont* secondaryFont;
/external/chromium_org/third_party/WebKit/Source/platform/fonts/cocoa/
H A DFontPlatformDataCocoa.mm27 #import <AppKit/NSFont.h>
40 FontPlatformData::FontPlatformData(NSFont *nsFont, float size, bool isPrinterFont, bool syntheticBold, bool syntheticOblique, FontOrientation orientation, FontWidthVariant widthVariant)
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/third_party/WebKit/Source/core/platform/mac/
H A DThemeMac.h31 @interface NSFont(WebCoreTheme)
/external/chromium_org/chrome/browser/ui/cocoa/location_bar/
H A Dlocation_bar_decoration.h86 virtual NSFont* GetFont() const;
/external/chromium_org/third_party/WebKit/Source/web/mac/
H A DWebSubstringUtil.mm87 NSFont* font = style->font().primaryFont()->getNSFont();
93 font = [NSFont systemFontOfSize:style->font().size()];
/external/chromium_org/ui/gfx/
H A Dplatform_font_mac.h42 // The NSFont instance for this object. If this object was constructed from an
43 // NSFont instance, this holds that NSFont instance. Otherwise this NSFont
46 base::scoped_nsobject<NSFont> native_font_;
50 std::string font_name_; // Corresponds to -[NSFont fontFamily].

Completed in 1068 milliseconds

12