HomeSort by relevance Sort by last modified time
    Searched refs:NSFont (Results 1 - 25 of 28) sorted by null

1 2

  /external/chromium_org/third_party/WebKit/public/platform/mac/
WebSandboxSupport.h 37 @class NSFont;
39 class NSFont;
56 virtual bool loadFont(NSFont* srcFont, CGFontRef* out, uint32_t* fontID) = 0;
  /external/chromium_org/content/common/mac/
font_descriptor.h 12 @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;
font_loader.h 14 @class NSFont;
16 class NSFont;
  /external/chromium_org/third_party/WebKit/Source/platform/mac/
WebFontCache.h 32 + (NSFont *)fontWithFamily:(NSString *)desiredFamily traits:(NSFontTraitMask)desiredTraits weight:(int)desiredWeight size:(float)size;
35 + (NSFont *)fontWithFamily:(NSString *)desiredFamily traits:(NSFontTraitMask)desiredTraits size:(float)size;
WebFontCache.mm 104 + (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 *)fontWithFamily:(NSString *)desiredFamily traits:(NSFontTraitMask)desiredTraits size:(float)siz
    [all...]
ThemeMac.h 31 @interface NSFont(WebCoreTheme)
ThemeMac.mm 78 @implementation NSFont (WebCoreTheme)
595 NSFont* nsFont = [NSFont systemFontOfSize:[NSFont systemFontSizeForControlSize:controlSizeForFont(fontDescription)]];
596 result.firstFamily().setFamily([nsFont webCoreFamilyName]);
597 result.setComputedSize([nsFont pointSize] * zoomFactor);
598 result.setSpecifiedSize([nsFont pointSize] * zoomFactor);
  /external/chromium_org/third_party/WebKit/Source/platform/fonts/mac/
MemoryActivatedFont.h 55 // 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);
MemoryActivatedFont.mm 32 #import <AppKit/NSFont.h>
85 WTF::String hashKeyFromNSFont(NSFont* srcFont)
104 PassRefPtr<MemoryActivatedFont> loadFontFromBrowserProcess(NSFont* nsFont)
107 WTF::String hashKey = hashKeyFromNSFont(nsFont);
123 if (!sandboxSupport->loadFont(nsFont, &tmpCGFont, &fontID))
135 return MemoryActivatedFont::create(fontID, nsFont, cgFont.get());
140 PassRefPtr<MemoryActivatedFont> MemoryActivatedFont::create(uint32_t fontID, NSFont* nsFont, CGFontRef cgFont)
142 return adoptRef(new MemoryActivatedFont(fontID, nsFont, cgFont))
    [all...]
FontCacheMac.mm 46 @interface NSFont (WebKitSPI)
47 + (NSFont*)findFontLike:(NSFont*)font forString:(NSString*)string withRange:(NSRange)range inLanguage:(id)useNil;
48 + (NSFont*)findFontLike:(NSFont*)font forCharacter:(UniChar)uc inLanguage:(id)useNil;
120 NSFont *nsFont = platformData.font();
123 NSFont *substituteFont = [NSFont findFontLike:nsFont forString:string withRange:NSMakeRange(0, codeUnitsLength) inLanguage:nil]
    [all...]
SimpleFontDataMac.mm 47 @interface NSFont (WebAppKitSecretAPI)
69 static CGFontRenderingMode cgFontRenderingModeForNSFont(NSFont* font) {
105 DEFINE_STATIC_LOCAL(RetainPtr<NSString>, webFallbackFontFamily, ([[NSFont systemFontOfSize:16.0f] familyName]));
117 const SimpleFontData* SimpleFontData::getCompositeFontReferenceFontData(NSFont *key) const
130 NSFont *substituteFont = [key printerFont];
169 RetainPtr<NSFont> initialFont = m_platformData.font();
174 m_platformData.setFont([NSFont fontWithName:fallbackFontFamily size:m_platformData.size()]);
201 m_platformData.setFont([NSFont systemFontOfSize:[m_platformData.font() pointSize]]);
352 NSFont* f = m_platformData.font();
387 NSFont *font = platformData().font()
    [all...]
  /external/chromium_org/third_party/WebKit/Source/platform/fonts/
FontPlatformData.h 48 OBJC_CLASS NSFont;
57 inline CTFontRef toCTFontRef(NSFont *nsFont) { return reinterpret_cast<CTFontRef>(nsFont); }
80 FontPlatformData(NSFont*, float size, bool syntheticBold = false, bool syntheticItalic = false,
90 NSFont* font() const { return m_font; }
91 void setFont(NSFont*);
163 // Load various data about the font specified by |nsFont| with the size fontSize into the following output paramters:
165 // font as |nsFont|. This because the sandbox may block loading of the original font.
166 // * outNSFont - The font that was actually loaded, for the Chromium port this may be different than nsFont
    [all...]
SimpleFontData.h 151 const SimpleFontData* getCompositeFontReferenceFontData(NSFont *key) const;
152 NSFont* getNSFont() const { return m_platformData.font(); }
  /external/chromium_org/ui/base/cocoa/controls/
hyperlink_text_view.h 29 font:(NSFont*)font
36 withFont:(NSFont*)font
  /external/chromium_org/chrome/browser/ui/cocoa/
bubble_view.h 60 - (NSFont*)font;
  /external/chromium_org/chrome/browser/ui/cocoa/download/
download_item_cell.h 38 NSFont* secondaryFont_;
55 @property(nonatomic, retain) NSFont* secondaryFont;
  /external/chromium_org/chrome/browser/ui/cocoa/location_bar/
location_bar_decoration.h 86 virtual NSFont* GetFont() const;
  /external/chromium_org/ui/gfx/
platform_font_mac.h 41 // The NSFont instance for this object. If this object was constructed from an
42 // NSFont instance, this holds that NSFont instance. Otherwise this NSFont
45 base::scoped_nsobject<NSFont> native_font_;
49 std::string font_name_; // Corresponds to -[NSFont fontFamily].
native_widget_types.h 82 @class NSFont;
90 class NSFont;
152 typedef NSFont* NativeFont;
  /external/chromium_org/third_party/WebKit/Source/web/mac/
WebSubstringUtil.mm 81 NSFont* font = style->font().primaryFont()->getNSFont();
87 font = [NSFont systemFontOfSize:style->font().fontDescription().computedSize()];
142 NSFont* font = [attributes objectForKey:NSFontAttributeName];
  /external/chromium_org/third_party/WebKit/Source/platform/fonts/cocoa/
FontPlatformDataCocoa.mm 27 #import <AppKit/NSFont.h>
46 FontPlatformData::FontPlatformData(NSFont *nsFont, float size, bool syntheticBold, bool syntheticItalic, FontOrientation orientation, FontWidthVariant widthVariant)
54 , m_font(nsFont)
57 ASSERT_ARG(nsFont, nsFont);
60 loadFont(nsFont, size, m_font, cgFont);
112 void FontPlatformData::setFont(NSFont *font)
126 NSFont* loadedFont = 0;
  /external/chromium_org/base/mac/
foundation_util.h 19 @class NSFont;
24 class NSFont;
235 CF_TO_NS_CAST_DECL(CTFont, NSFont);
  /external/chromium_org/third_party/WebKit/Source/core/rendering/
RenderThemeChromiumMac.mm 252 NSFont* font = nil;
257 font = [NSFont systemFontOfSize:[NSFont smallSystemFontSize]];
262 font = [NSFont menuFontOfSize:[NSFont systemFontSize]];
267 font = [NSFont labelFontOfSize:[NSFont labelFontSize]];
272 font = [NSFont systemFontOfSize:[NSFont systemFontSizeForControlSize:NSMiniControlSize]];
277 font = [NSFont systemFontOfSize:[NSFont systemFontSizeForControlSize:NSSmallControlSize]]
    [all...]
  /external/chromium_org/content/ppapi_plugin/
ppapi_webkitplatformsupport_impl.cc 50 NSFont* srcFont, CGFontRef* out, uint32_t* fontID);
88 NSFont* src_font,
  /external/chromium_org/chrome/browser/ui/cocoa/omnibox/
omnibox_view_mac.h 107 static NSFont* GetFieldFont(int style);

Completed in 5204 milliseconds

1 2