Home
last modified time | relevance | path

Searched refs:NSFont (Results 1 – 25 of 148) sorted by relevance

123456

/external/chromium_org/third_party/WebKit/Source/platform/fonts/
DFontPlatformData.h41 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/
Dfont_descriptor.h12 @class NSFont;
14 class NSFont; variable
19 explicit FontDescriptor(NSFont* font);
25 NSFont* ToNSFont() const;
Dfont_descriptor_unittest.mm24 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 =
Dfont_descriptor.mm11 FontDescriptor::FontDescriptor(NSFont* font) {
21 NSFont* FontDescriptor::ToNSFont() const {
23 NSFont* font = [NSFont fontWithName:font_name_ns size:font_point_size];
Dattributed_string_coder_unittest.mm24 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],
Dfont_loader.h14 @class NSFont;
16 class NSFont; variable
/external/chromium_org/third_party/WebKit/public/platform/mac/
DWebSandboxSupport.h37 @class NSFont;
39 class NSFont; variable
56 virtual bool loadFont(NSFont* srcFont, CGFontRef* out, uint32_t* fontID) = 0;
/external/chromium_org/ui/gfx/
Dplatform_font_mac.mm20 // 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();
Dplatform_font_mac_unittest.mm36 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/
Darc-unavailable-for-weakref.m53 @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/
Dsad_tab_view.mm40 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/
DFontCacheMac.mm43 @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();
112NSFont *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];
210NSFont *platformFont = fontDescription.usePrinterFont() ? [nsFont printerFont] : [nsFont screenFon…
DMemoryActivatedFont.h75 static PassRefPtr<MemoryActivatedFont> create(uint32_t fontID, NSFont*, CGFontRef);
86 MemoryActivatedFont(uint32_t fontID, NSFont*, CGFontRef);
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, 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/
Dfont_settings_utils_mac.mm21 // -[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/
Dsad_tab_view.mm35 NSFont* titleFont = [NSFont boldSystemFontOfSize:[NSFont systemFontSize]];
39 NSFont* messageFont = [NSFont systemFontOfSize:[NSFont smallSystemFontSize]];
/external/chromium_org/chrome/browser/ui/cocoa/autofill/
Dgenerated_credit_card_bubble_cocoa.mm114 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/
Dfont_settings_utils_mac.mm19 // -[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/
DWebFontCache.h32 + (NSFont *)fontWithFamily:(NSString *)desiredFamily traits:(NSFontTraitMask)desiredTraits weight:(…
35 + (NSFont *)fontWithFamily:(NSString *)desiredFamily traits:(NSFontTraitMask)desiredTraits size:(fl…
DWebFontCache.mm104 + (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];
208NSFont *fontWithoutSyntheticTraits = [fontManager fontWithFamily:availableFamily traits:nonSynthet…
216 + (NSFont *)fontWithFamily:(NSString *)desiredFamily traits:(NSFontTraitMask)desiredTraits weight:(…
218NSFont *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/
DFontPlatformDataCocoa.mm27 #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/
Dhyperlink_text_view.h23 font:(NSFont*)font
30 withFont:(NSFont*)font
/external/chromium/chrome/browser/ui/cocoa/location_bar/
Dev_bubble_decoration.h26 EVBubbleDecoration(LocationIconDecoration* location_icon, NSFont* font);
48 scoped_nsobject<NSFont> font_;
/external/chromium/chrome/browser/ui/cocoa/download/
Ddownload_item_cell.h39 NSFont* secondaryFont_;
52 @property(nonatomic, retain) NSFont* secondaryFont;
/external/chromium_org/base/mac/
Dfoundation_util.mm297 // 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")]) {

123456