Font 55 ash/ime/candidate_view.cc shortcut_label->font_list().Derive(kFontSizeDelta, gfx::Font::BOLD)); Font 172 ash/ime/infolist_window.cc title_font_list_(gfx::Font(kJapaneseFontName, kFontSizeDelta + 15)), Font 173 ash/ime/infolist_window.cc description_font_list_(gfx::Font(kJapaneseFontName, Font 90 ash/sticky_keys/sticky_keys_overlay.cc style = gfx::Font::NORMAL; Font 94 ash/sticky_keys/sticky_keys_overlay.cc style = gfx::Font::UNDERLINE; Font 98 ash/sticky_keys/sticky_keys_overlay.cc style = gfx::Font::NORMAL; Font 145 ash/sticky_keys/sticky_keys_overlay.cc const gfx::Font& font = Font 243 ash/system/bluetooth/tray_bluetooth.cc gfx::Font::NORMAL, false, true); Font 263 ash/system/bluetooth/tray_bluetooth.cc gfx::Font::NORMAL, false, true); Font 278 ash/system/bluetooth/tray_bluetooth.cc bold? gfx::Font::BOLD : gfx::Font::NORMAL, Font 285 ash/system/bluetooth/tray_bluetooth.cc gfx::Font::FontStyle style, Font 313 ash/system/bluetooth/tray_bluetooth.cc gfx::Font::NORMAL); Font 346 ash/system/bluetooth/tray_bluetooth.cc AddCheckableLabel(display_name, gfx::Font::BOLD, false); Font 99 ash/system/chromeos/audio/audio_detailed_view.cc gfx::Font::FontStyle style, Font 140 ash/system/chromeos/audio/audio_detailed_view.cc gfx::Font::NORMAL, Font 153 ash/system/chromeos/audio/audio_detailed_view.cc gfx::Font::NORMAL, Font 37 ash/system/chromeos/audio/audio_detailed_view.h gfx::Font::FontStyle style, Font 49 ash/system/chromeos/label_tray_view.cc child->AddIconAndLabel(*icon, message, gfx::Font::NORMAL); Font 55 ash/system/chromeos/label_tray_view.cc child->AddLabel(message, gfx::Font::NORMAL); Font 562 ash/system/chromeos/network/network_state_list_detailed_view.cc gfx::Font::FontStyle font = Font 563 ash/system/chromeos/network/network_state_list_detailed_view.cc info->highlight ? gfx::Font::BOLD : gfx::Font::NORMAL; Font 56 ash/system/chromeos/session/tray_session_length_limit.cc label->font_list().GetFontStyle() & ~gfx::Font::BOLD)); Font 311 ash/system/date/date_view.cc label->font_list().GetFontStyle() & ~gfx::Font::BOLD)); Font 360 ash/system/drive/tray_drive.cc gfx::Font::NORMAL); Font 104 ash/system/ime/tray_ime.cc list[i].selected ? gfx::Font::BOLD : gfx::Font::NORMAL); Font 116 ash/system/ime/tray_ime.cc property_list[i].selected ? gfx::Font::BOLD : gfx::Font::NORMAL); Font 129 ash/system/ime/tray_ime.cc gfx::Font::NORMAL); Font 48 ash/system/tray/hover_highlight_view.cc gfx::Font::FontStyle style) { Font 67 ash/system/tray/hover_highlight_view.cc gfx::Font::FontStyle style) { Font 94 ash/system/tray/hover_highlight_view.cc gfx::Font::FontStyle style, Font 32 ash/system/tray/hover_highlight_view.h gfx::Font::FontStyle style); Font 38 ash/system/tray/hover_highlight_view.h gfx::Font::FontStyle style); Font 44 ash/system/tray/hover_highlight_view.h gfx::Font::FontStyle style, Font 67 ash/system/tray/special_popup_row.cc gfx::Font::BOLD); Font 19 ash/system/tray/tray_utils.cc gfx::FontList().Derive(1, gfx::Font::BOLD)); Font 163 ash/system/tray_accessibility.cc spoken_feedback_enabled_ ? gfx::Font::BOLD : gfx::Font::NORMAL, Font 172 ash/system/tray_accessibility.cc large_cursor_enabled_ ? gfx::Font::BOLD : gfx::Font::NORMAL, Font 180 ash/system/tray_accessibility.cc high_contrast_enabled_ ? gfx::Font::BOLD : gfx::Font::NORMAL, Font 186 ash/system/tray_accessibility.cc screen_magnifier_enabled_ ? gfx::Font::BOLD : gfx::Font::NORMAL, Font 195 ash/system/tray_accessibility.cc autoclick_enabled_ ? gfx::Font::BOLD : gfx::Font::NORMAL, Font 203 ash/system/tray_accessibility.cc virtual_keyboard_enabled_ ? gfx::Font::BOLD : gfx::Font::NORMAL, Font 244 ash/system/tray_accessibility.cc gfx::Font::FontStyle style, Font 76 ash/system/tray_accessibility.h gfx::Font::FontStyle style, Font 56 chrome/browser/chromeos/ui/echo_dialog_view.cc service_name_style.font_style = gfx::Font::UNDERLINE; Font 64 chrome/browser/chromeos/ui/echo_dialog_view.cc link_style.font_style = gfx::Font::NORMAL; Font 88 chrome/browser/chromeos/ui/echo_dialog_view.cc link_style.font_style = gfx::Font::NORMAL; Font 74 chrome/browser/extensions/api/font_settings/font_settings_api.cc gfx::Font font(font_name, 12); // dummy font size Font 1339 chrome/browser/ui/autofill/autofill_dialog_controller_impl.cc gfx::Font font(l10n_util::GetStringUTF8(IDS_FIXED_FONT_FAMILY), 18); Font 117 chrome/browser/ui/autofill/autofill_popup_controller_impl.cc warning_font_list_ = name_font_list_.DeriveWithStyle(gfx::Font::ITALIC); Font 162 chrome/browser/ui/gtk/omnibox/omnibox_popup_view_gtk.cc OmniboxPopupViewGtk::OmniboxPopupViewGtk(const gfx::Font& font, Font 38 chrome/browser/ui/gtk/omnibox/omnibox_popup_view_gtk.h OmniboxPopupViewGtk(const gfx::Font& font, Font 137 chrome/browser/ui/gtk/omnibox/omnibox_popup_view_gtk.h gfx::Font font_; Font 29 chrome/browser/ui/gtk/omnibox/omnibox_popup_view_gtk_unittest.cc : OmniboxPopupViewGtk(gfx::Font(), NULL, NULL, NULL), Font 1686 chrome/browser/ui/gtk/omnibox/omnibox_view_gtk.cc const gfx::Font& font = GetFont(); Font 1694 chrome/browser/ui/gtk/omnibox/omnibox_view_gtk.cc const gfx::Font& font = GetFont(); Font 1704 chrome/browser/ui/gtk/omnibox/omnibox_view_gtk.cc gfx::Font OmniboxViewGtk::GetFont() { Font 1706 chrome/browser/ui/gtk/omnibox/omnibox_view_gtk.cc return gfx::Font( Font 1717 chrome/browser/ui/gtk/omnibox/omnibox_view_gtk.cc gfx::Font font( Font 31 chrome/browser/ui/gtk/omnibox/omnibox_view_gtk.h class Font; Font 227 chrome/browser/ui/gtk/omnibox/omnibox_view_gtk.h gfx::Font GetFont(); Font 33 chrome/browser/ui/gtk/tabs/tab_gtk.cc int GetTitleWidth(gfx::Font* font, base::string16 title) { Font 178 chrome/browser/ui/gtk/tabs/tab_renderer_gtk.cc gfx::Font* TabRendererGtk::title_font_ = NULL; Font 1201 chrome/browser/ui/gtk/tabs/tab_renderer_gtk.cc const gfx::Font& base_font = rb.GetFont(ui::ResourceBundle::BaseFont); Font 1202 chrome/browser/ui/gtk/tabs/tab_renderer_gtk.cc title_font_ = new gfx::Font(base_font.GetFontName(), kFontPixelSize); Font 197 chrome/browser/ui/gtk/tabs/tab_renderer_gtk.h static gfx::Font* title_font() { return title_font_; } Font 376 chrome/browser/ui/gtk/tabs/tab_renderer_gtk.h static gfx::Font* title_font_; Font 103 chrome/browser/ui/gtk/validation_message_bubble_gtk.cc const gfx::Font& main_font = bundle.GetFont(ResourceBundle::MediumFont); Font 110 chrome/browser/ui/gtk/validation_message_bubble_gtk.cc const gfx::Font& sub_font = bundle.GetFont(ResourceBundle::BaseFont); Font 77 chrome/browser/ui/views/accessibility/invert_bubble_view.cc base::string16(), original_font_list.Derive(2, gfx::Font::BOLD)); Font 76 chrome/browser/ui/views/autofill/generated_credit_card_bubble_views.cc style.font_style = gfx::Font::BOLD; Font 52 chrome/browser/ui/views/bookmarks/bookmark_sync_promo_view.cc link_style.font_style = gfx::Font::NORMAL; Font 48 chrome/browser/ui/views/first_run_bubble.cc original_font_list.Derive(2, gfx::Font::BOLD)); Font 146 chrome/browser/ui/views/omnibox/omnibox_result_view.cc font_list.DeriveWithStyle(gfx::Font::BOLD).GetHeight())), Font 174 chrome/browser/ui/views/sync/profile_signin_confirmation_dialog_views.cc bold_style.font_style = gfx::Font::BOLD; Font 480 chrome/browser/ui/views/tabs/tab.cc gfx::Font* Tab::font_ = NULL; Font 1707 chrome/browser/ui/views/tabs/tab.cc font_ = new gfx::Font(rb.GetFont(ui::ResourceBundle::BaseFont)); Font 27 chrome/browser/ui/views/tabs/tab.h class Font; Font 368 chrome/browser/ui/views/tabs/tab.h static gfx::Font* font_; Font 101 chrome/browser/ui/webui/chromeos/login/network_dropdown.cc item->SetBoolean("bold", font_list->GetFontStyle() == gfx::Font::BOLD); Font 50 chrome/browser/ui/webui/options/font_settings_handler.cc gfx::Font font(font_name, 12); // dummy font size Font 313 chrome/browser/ui/webui/set_as_default_browser_ui.cc gfx::Font approximate_web_font( Font 83 chrome/common/badge_util.cc const gfx::Font& base_font = rb.GetFont(ResourceBundle::BaseFont); Font 16 ui/base/l10n/l10n_font_util.cc const gfx::Font& font) { Font 25 ui/base/l10n/l10n_font_util.cc const gfx::Font& font) { Font 35 ui/base/l10n/l10n_font_util.cc const gfx::Font& font) { Font 12 ui/base/l10n/l10n_font_util.h class Font; Font 22 ui/base/l10n/l10n_font_util.h const gfx::Font& font); Font 24 ui/base/l10n/l10n_font_util.h const gfx::Font& font); Font 27 ui/base/l10n/l10n_font_util.h const gfx::Font& font); Font 518 ui/base/resource/resource_bundle.cc const gfx::Font& ResourceBundle::GetFont(FontStyle style) { Font 660 ui/base/resource/resource_bundle.cc base_font_list_->GetFontStyle() | gfx::Font::BOLD); Font 672 ui/base/resource/resource_bundle.cc small_font_list_->GetFontStyle() | gfx::Font::BOLD); Font 684 ui/base/resource/resource_bundle.cc medium_font_list_->GetFontStyle() | gfx::Font::BOLD); Font 696 ui/base/resource/resource_bundle.cc large_font_list_->GetFontStyle() | gfx::Font::BOLD); Font 704 ui/base/resource/resource_bundle.cc scoped_ptr<gfx::Font> font = delegate_->GetFont(style); Font 110 ui/base/resource/resource_bundle.h virtual scoped_ptr<gfx::Font> GetFont(FontStyle style) = 0; Font 238 ui/base/resource/resource_bundle.h const gfx::Font& GetFont(FontStyle style); Font 87 ui/base/resource/resource_bundle_unittest.cc gfx::Font*(ui::ResourceBundle::FontStyle style)); Font 88 ui/base/resource/resource_bundle_unittest.cc virtual scoped_ptr<gfx::Font> GetFont( Font 90 ui/base/resource/resource_bundle_unittest.cc return scoped_ptr<gfx::Font>(GetFontMock(style)); Font 323 ui/base/resource/resource_bundle_unittest.cc gfx::Font* test_font = NULL; Font 332 ui/base/resource/resource_bundle_unittest.cc const gfx::Font* font = Font 152 ui/gfx/canvas_skia.cc render_text->SetStyle(BOLD, (font_style & Font::BOLD) != 0); Font 153 ui/gfx/canvas_skia.cc render_text->SetStyle(ITALIC, (font_style & Font::ITALIC) != 0); Font 154 ui/gfx/canvas_skia.cc render_text->SetStyle(UNDERLINE, (font_style & Font::UNDERLINE) != 0); Font 15 ui/gfx/font.cc Font::Font() : platform_font_(PlatformFont::CreateDefault()) { Font 18 ui/gfx/font.cc Font::Font(const Font& other) : platform_font_(other.platform_font_) { Font 21 ui/gfx/font.cc Font& Font::operator=(const Font& other) { Font 26 ui/gfx/font.cc Font::Font(NativeFont native_font) Font 30 ui/gfx/font.cc Font::Font(PlatformFont* platform_font) : platform_font_(platform_font) { Font 33 ui/gfx/font.cc Font::Font(const std::string& font_name, int font_size) Font 38 ui/gfx/font.cc Font::~Font() { Font 41 ui/gfx/font.cc Font Font::Derive(int size_delta, int style) const { Font 45 ui/gfx/font.cc int Font::GetHeight() const { Font 49 ui/gfx/font.cc int Font::GetBaseline() const { Font 53 ui/gfx/font.cc int Font::GetCapHeight() const { Font 57 ui/gfx/font.cc int Font::GetExpectedTextWidth(int length) const { Font 61 ui/gfx/font.cc int Font::GetStyle() const { Font 65 ui/gfx/font.cc std::string Font::GetFontName() const { Font 69 ui/gfx/font.cc std::string Font::GetActualFontNameForTesting() const { Font 73 ui/gfx/font.cc int Font::GetFontSize() const { Font 77 ui/gfx/font.cc NativeFont Font::GetNativeFont() const { Font 30 ui/gfx/font.h class GFX_EXPORT Font { Font 41 ui/gfx/font.h Font(); Font 44 ui/gfx/font.h Font(const Font& other); Font 45 ui/gfx/font.h Font& operator=(const Font& other); Font 48 ui/gfx/font.h explicit Font(NativeFont native_font); Font 52 ui/gfx/font.h explicit Font(PlatformFont* platform_font); Font 55 ui/gfx/font.h Font(const std::string& font_name, int font_size); Font 57 ui/gfx/font.h ~Font(); Font 64 ui/gfx/font.h Font Derive(int size_delta, int style) const; Font 57 ui/gfx/font_fallback_win.cc void AppendFont(const std::string& name, int size, std::vector<Font>* fonts) { Font 59 ui/gfx/font_fallback_win.cc fonts->push_back(Font(name, size)); Font 63 ui/gfx/font_fallback_win.cc void QueryLinkedFontsFromRegistry(const Font& font, Font 65 ui/gfx/font_fallback_win.cc std::vector<Font>* linked_fonts) { Font 109 ui/gfx/font_fallback_win.cc const std::vector<Font>* GetLinkedFonts(const Font& font); Font 121 ui/gfx/font_fallback_win.cc std::map<std::string, std::vector<Font> > cached_linked_fonts_; Font 132 ui/gfx/font_fallback_win.cc const std::vector<Font>* CachedFontLinkSettings::GetLinkedFonts( Font 133 ui/gfx/font_fallback_win.cc const Font& font) { Font 135 ui/gfx/font_fallback_win.cc std::map<std::string, std::vector<Font> >::const_iterator it = Font 140 ui/gfx/font_fallback_win.cc cached_linked_fonts_[font_name] = std::vector<Font>(); Font 141 ui/gfx/font_fallback_win.cc std::vector<Font>* linked_fonts = &cached_linked_fonts_[font_name]; Font 191 ui/gfx/font_fallback_win.cc LinkedFontsIterator::LinkedFontsIterator(Font font) Font 202 ui/gfx/font_fallback_win.cc void LinkedFontsIterator::SetNextFont(Font font) { Font 207 ui/gfx/font_fallback_win.cc bool LinkedFontsIterator::NextFont(Font* font) { Font 227 ui/gfx/font_fallback_win.cc const std::vector<Font>* LinkedFontsIterator::GetLinkedFonts() const { Font 231 ui/gfx/font_fallback_win.cc const std::vector<Font>* fonts = font_link->GetLinkedFonts(original_font_); Font 40 ui/gfx/font_fallback_win.h explicit LinkedFontsIterator(Font font); Font 45 ui/gfx/font_fallback_win.h void SetNextFont(Font font); Font 51 ui/gfx/font_fallback_win.h bool NextFont(Font* font); Font 56 ui/gfx/font_fallback_win.h virtual const std::vector<Font>* GetLinkedFonts() const; Font 60 ui/gfx/font_fallback_win.h Font original_font_; Font 63 ui/gfx/font_fallback_win.h Font next_font_; Font 69 ui/gfx/font_fallback_win.h Font current_font_; Font 72 ui/gfx/font_fallback_win.h const std::vector<Font>* linked_fonts_; Font 16 ui/gfx/font_fallback_win_unittest.cc explicit TestLinkedFontsIterator(Font font) : LinkedFontsIterator(font) { Font 23 ui/gfx/font_fallback_win_unittest.cc void AddLinkedFontForTesting(Font font) { Font 27 ui/gfx/font_fallback_win_unittest.cc virtual const std::vector<Font>* GetLinkedFonts() const OVERRIDE { Font 32 ui/gfx/font_fallback_win_unittest.cc std::vector<Font> test_linked_fonts; Font 86 ui/gfx/font_fallback_win_unittest.cc TestLinkedFontsIterator iterator(Font("Arial", 16)); Font 87 ui/gfx/font_fallback_win_unittest.cc iterator.AddLinkedFontForTesting(Font("Times New Roman", 16)); Font 89 ui/gfx/font_fallback_win_unittest.cc Font font; Font 100 ui/gfx/font_fallback_win_unittest.cc TestLinkedFontsIterator iterator(Font("Arial", 16)); Font 101 ui/gfx/font_fallback_win_unittest.cc iterator.AddLinkedFontForTesting(Font("Times New Roman", 16)); Font 103 ui/gfx/font_fallback_win_unittest.cc Font font; Font 107 ui/gfx/font_fallback_win_unittest.cc iterator.SetNextFont(Font("Tahoma", 16)); Font 38 ui/gfx/font_list.cc FontList::FontList(const std::vector<Font>& fonts) Font 41 ui/gfx/font_list.cc FontList::FontList(const Font& font) : impl_(new FontListImpl(font)) {} Font 101 ui/gfx/font_list.cc const std::vector<Font>& FontList::GetFonts() const { Font 105 ui/gfx/font_list.cc const Font& FontList::GetPrimaryFont() const { Font 121 ui/gfx/font_list.cc new FontListImpl(Font()) : Font 51 ui/gfx/font_list.h explicit FontList(const std::vector<Font>& fonts); Font 54 ui/gfx/font_list.h explicit FontList(const Font& font); Font 115 ui/gfx/font_list.h const std::vector<Font>& GetFonts() const; Font 118 ui/gfx/font_list.h const Font& GetPrimaryFont() const; Font 41 ui/gfx/font_list_impl.cc *font_style |= gfx::Font::BOLD; Font 43 ui/gfx/font_list_impl.cc *font_style |= gfx::Font::ITALIC; Font 52 ui/gfx/font_list_impl.cc if (font_style & gfx::Font::BOLD) Font 54 ui/gfx/font_list_impl.cc if (font_style & gfx::Font::ITALIC) Font 98 ui/gfx/font_list_impl.cc FontListImpl::FontListImpl(const std::vector<Font>& fonts) Font 115 ui/gfx/font_list_impl.cc FontListImpl::FontListImpl(const Font& font) Font 126 ui/gfx/font_list_impl.cc std::vector<Font> fonts = fonts_; Font 191 ui/gfx/font_list_impl.cc const std::vector<Font>& FontListImpl::GetFonts() const { Font 208 ui/gfx/font_list_impl.cc Font font(font_names[i], font_size_); Font 209 ui/gfx/font_list_impl.cc if (font_style_ == Font::NORMAL) Font 218 ui/gfx/font_list_impl.cc const Font& FontListImpl::GetPrimaryFont() const { Font 227 ui/gfx/font_list_impl.cc const std::vector<Font>& fonts = GetFonts(); Font 228 ui/gfx/font_list_impl.cc for (std::vector<Font>::const_iterator i = fonts.begin(); Font 15 ui/gfx/font_list_impl.h class Font; Font 42 ui/gfx/font_list_impl.h explicit FontListImpl(const std::vector<Font>& fonts); Font 45 ui/gfx/font_list_impl.h explicit FontListImpl(const Font& font); Font 82 ui/gfx/font_list_impl.h const std::vector<Font>& GetFonts() const; Font 85 ui/gfx/font_list_impl.h const Font& GetPrimaryFont() const; Font 102 ui/gfx/font_list_impl.h mutable std::vector<Font> fonts_; Font 18 ui/gfx/font_list_unittest.cc std::string FontToString(const gfx::Font& font) { Font 23 ui/gfx/font_list_unittest.cc if (style & gfx::Font::BOLD) Font 25 ui/gfx/font_list_unittest.cc if (style & gfx::Font::ITALIC) Font 27 ui/gfx/font_list_unittest.cc if (style & gfx::Font::UNDERLINE) Font 48 ui/gfx/font_list_unittest.cc int font_style = Font::BOLD | Font::ITALIC | Font::UNDERLINE; Font 58 ui/gfx/font_list_unittest.cc Font font("Arial", 8); Font 65 ui/gfx/font_list_unittest.cc Font font("Arial", 8); Font 66 ui/gfx/font_list_unittest.cc FontList font_list = FontList(font.Derive(2, Font::BOLD)); Font 69 ui/gfx/font_list_unittest.cc font_list = FontList(font.Derive(-2, Font::ITALIC)); Font 73 ui/gfx/font_list_unittest.cc font_list = FontList(font.Derive(-4, Font::UNDERLINE)); Font 79 ui/gfx/font_list_unittest.cc Font font("Arial", 8); Font 80 ui/gfx/font_list_unittest.cc Font font_1("Sans serif", 10); Font 81 ui/gfx/font_list_unittest.cc std::vector<Font> fonts; Font 82 ui/gfx/font_list_unittest.cc fonts.push_back(font.Derive(0, Font::BOLD)); Font 83 ui/gfx/font_list_unittest.cc fonts.push_back(font_1.Derive(-2, Font::BOLD)); Font 91 ui/gfx/font_list_unittest.cc const std::vector<Font>& fonts = font_list.GetFonts(); Font 100 ui/gfx/font_list_unittest.cc const std::vector<Font>& fonts = font_list.GetFonts(); Font 110 ui/gfx/font_list_unittest.cc const std::vector<Font>& fonts = font_list.GetFonts(); Font 118 ui/gfx/font_list_unittest.cc Font font("Arial", 8); Font 120 ui/gfx/font_list_unittest.cc const std::vector<Font>& fonts = font_list.GetFonts(); Font 127 ui/gfx/font_list_unittest.cc Font font("Arial", 8); Font 128 ui/gfx/font_list_unittest.cc FontList font_list = FontList(font.Derive(2, Font::BOLD)); Font 129 ui/gfx/font_list_unittest.cc std::vector<Font> fonts = font_list.GetFonts(); Font 133 ui/gfx/font_list_unittest.cc font_list = FontList(font.Derive(-2, Font::ITALIC)); Font 141 ui/gfx/font_list_unittest.cc Font font("Arial", 8); Font 142 ui/gfx/font_list_unittest.cc Font font_1("Sans serif", 10); Font 143 ui/gfx/font_list_unittest.cc std::vector<Font> input_fonts; Font 144 ui/gfx/font_list_unittest.cc input_fonts.push_back(font.Derive(0, Font::BOLD)); Font 145 ui/gfx/font_list_unittest.cc input_fonts.push_back(font_1.Derive(-2, Font::BOLD)); Font 147 ui/gfx/font_list_unittest.cc const std::vector<Font>& fonts = font_list.GetFonts(); Font 159 ui/gfx/font_list_unittest.cc const std::vector<Font>& fonts = font_list.GetFonts(); Font 168 ui/gfx/font_list_unittest.cc Font font("Arial", 8); Font 169 ui/gfx/font_list_unittest.cc Font font_1("Sans serif", 10); Font 170 ui/gfx/font_list_unittest.cc std::vector<Font> input_fonts; Font 171 ui/gfx/font_list_unittest.cc input_fonts.push_back(font.Derive(0, Font::BOLD)); Font 172 ui/gfx/font_list_unittest.cc input_fonts.push_back(font_1.Derive(-2, Font::BOLD)); Font 177 ui/gfx/font_list_unittest.cc const std::vector<Font>& round_trip_fonts = font_list_1.GetFonts(); Font 186 ui/gfx/font_list_unittest.cc EXPECT_EQ(Font::NORMAL, font_list.GetFontStyle()); Font 189 ui/gfx/font_list_unittest.cc EXPECT_EQ(Font::BOLD, font_list.GetFontStyle()); Font 192 ui/gfx/font_list_unittest.cc EXPECT_EQ(Font::ITALIC, font_list.GetFontStyle()); Font 195 ui/gfx/font_list_unittest.cc EXPECT_EQ(Font::BOLD | Font::ITALIC, font_list.GetFontStyle()); Font 199 ui/gfx/font_list_unittest.cc std::vector<Font> fonts; Font 200 ui/gfx/font_list_unittest.cc fonts.push_back(gfx::Font("Arial", 8)); Font 201 ui/gfx/font_list_unittest.cc fonts.push_back(gfx::Font("Sans serif", 8)); Font 203 ui/gfx/font_list_unittest.cc EXPECT_EQ(Font::NORMAL, font_list.GetFontStyle()); Font 204 ui/gfx/font_list_unittest.cc fonts[0] = fonts[0].Derive(0, Font::ITALIC | Font::BOLD); Font 205 ui/gfx/font_list_unittest.cc fonts[1] = fonts[1].Derive(0, Font::ITALIC | Font::BOLD); Font 207 ui/gfx/font_list_unittest.cc EXPECT_EQ(Font::ITALIC | Font::BOLD, font_list.GetFontStyle()); Font 213 ui/gfx/font_list_unittest.cc FontList derived = font_list.Derive(10, Font::ITALIC | Font::UNDERLINE); Font 215 ui/gfx/font_list_unittest.cc EXPECT_EQ(Font::ITALIC | Font::UNDERLINE, derived.GetFontStyle()); Font 220 ui/gfx/font_list_unittest.cc EXPECT_EQ(Font::ITALIC | Font::UNDERLINE, derived.GetFontStyle()); Font 224 ui/gfx/font_list_unittest.cc std::vector<Font> fonts; Font 225 ui/gfx/font_list_unittest.cc fonts.push_back(gfx::Font("Arial", 8)); Font 226 ui/gfx/font_list_unittest.cc fonts.push_back(gfx::Font("Sans serif", 8)); Font 229 ui/gfx/font_list_unittest.cc FontList derived = font_list.Derive(5, Font::BOLD | Font::UNDERLINE); Font 230 ui/gfx/font_list_unittest.cc const std::vector<Font>& derived_fonts = derived.GetFonts(); Font 246 ui/gfx/font_list_unittest.cc std::vector<Font> fonts; Font 247 ui/gfx/font_list_unittest.cc fonts.push_back(gfx::Font("Arial", 18).Derive(0, Font::ITALIC)); Font 248 ui/gfx/font_list_unittest.cc fonts.push_back(gfx::Font("Sans serif", 18).Derive(0, Font::ITALIC)); Font 252 ui/gfx/font_list_unittest.cc const std::vector<Font>& derived_fonts = derived.GetFonts(); Font 261 ui/gfx/font_list_unittest.cc Font font1("Arial", 16); Font 269 ui/gfx/font_list_unittest.cc Font font2("Symbol", 16); Font 274 ui/gfx/font_list_unittest.cc std::vector<Font> fonts; Font 61 ui/gfx/font_unittest.cc Font cf("Arial", 16); Font 64 ui/gfx/font_unittest.cc EXPECT_EQ(cf.GetStyle(), Font::NORMAL); Font 72 ui/gfx/font_unittest.cc Font cf("Arial", 16); Font 73 ui/gfx/font_unittest.cc Font bold(cf.Derive(0, Font::BOLD)); Font 76 ui/gfx/font_unittest.cc EXPECT_EQ(bold.GetStyle(), Font::BOLD); Font 82 ui/gfx/font_unittest.cc Font cf("Arial", 16); Font 88 ui/gfx/font_unittest.cc Font cf("Arial", 16); Font 95 ui/gfx/font_unittest.cc Font cf("Arial", 16); Font 102 ui/gfx/font_unittest.cc Font cf("Arial", 16); Font 117 ui/gfx/font_unittest.cc Font arial("Arial", 16); Font 123 ui/gfx/font_unittest.cc Font symbol("Symbol", 16); Font 131 ui/gfx/font_unittest.cc Font fallback_font(invalid_font_name, 16); Font 139 ui/gfx/font_unittest.cc Font cf("Arial", 8); Font 143 ui/gfx/font_unittest.cc Font derived_font = cf.Derive(-4, cf.GetStyle()); Font 148 ui/gfx/font_unittest.cc Font cf("Arial", 8); Font 152 ui/gfx/font_unittest.cc Font derived_font = cf.Derive(-2, cf.GetStyle()); Font 243 ui/gfx/pango_util.cc const Font& font, Font 22 ui/gfx/pango_util.h class Font; Font 17 ui/gfx/platform_font.h class Font; Font 33 ui/gfx/platform_font.h virtual Font DeriveFont(int size_delta, int style) const = 0; Font 20 ui/gfx/platform_font_ios.h virtual Font DeriveFont(int size_delta, int style) const OVERRIDE; Font 22 ui/gfx/platform_font_mac.h virtual Font DeriveFont(int size_delta, int style) const OVERRIDE; Font 70 ui/gfx/platform_font_pango.cc Font* PlatformFontPango::default_font_ = NULL; Font 86 ui/gfx/platform_font_pango.cc default_font_ = new Font(desc.get()); Font 106 ui/gfx/platform_font_pango.cc style |= gfx::Font::BOLD; Font 110 ui/gfx/platform_font_pango.cc style |= gfx::Font::ITALIC; Font 150 ui/gfx/platform_font_pango.cc Font PlatformFontPango::DeriveFont(int size_delta, int style) const { Font 157 ui/gfx/platform_font_pango.cc return Font(new PlatformFontPango(typeface_, Font 165 ui/gfx/platform_font_pango.cc if (gfx::Font::BOLD & style) Font 167 ui/gfx/platform_font_pango.cc if (gfx::Font::ITALIC & style) Font 175 ui/gfx/platform_font_pango.cc return Font(new PlatformFontPango(typeface, Font 227 ui/gfx/platform_font_pango.cc case gfx::Font::NORMAL: Font 230 ui/gfx/platform_font_pango.cc case gfx::Font::BOLD: Font 233 ui/gfx/platform_font_pango.cc case gfx::Font::ITALIC: Font 236 ui/gfx/platform_font_pango.cc case gfx::Font::UNDERLINE: Font 310 ui/gfx/platform_font_pango.cc gfx::Font::NORMAL); Font 356 ui/gfx/platform_font_pango.cc paint->setFakeBoldText((gfx::Font::BOLD & style_) && !typeface_->isBold()); Font 357 ui/gfx/platform_font_pango.cc paint->setTextSkewX((gfx::Font::ITALIC & style_) && !typeface_->isItalic() ? Font 390 ui/gfx/platform_font_pango.cc FontList(Font(this))); Font 29 ui/gfx/platform_font_pango.h static PangoFontDescription* PangoFontFromGfxFont(const gfx::Font& gfx_font); Font 49 ui/gfx/platform_font_pango.h virtual Font DeriveFont(int size_delta, int style) const OVERRIDE; Font 89 ui/gfx/platform_font_pango.h void CopyFont(const Font& other); Font 115 ui/gfx/platform_font_pango.h static Font* default_font_; Font 58 ui/gfx/platform_font_win.cc font_info->lfUnderline = (font_style & gfx::Font::UNDERLINE) != 0; Font 59 ui/gfx/platform_font_win.cc font_info->lfItalic = (font_style & gfx::Font::ITALIC) != 0; Font 60 ui/gfx/platform_font_win.cc font_info->lfWeight = (font_style & gfx::Font::BOLD) ? FW_BOLD : FW_NORMAL; Font 91 ui/gfx/platform_font_win.cc Font PlatformFontWin::DeriveFontWithHeight(int height, int style) { Font 94 ui/gfx/platform_font_win.cc return Font(this); Font 100 ui/gfx/platform_font_win.cc Font font = DeriveFont(-1, style); Font 119 ui/gfx/platform_font_win.cc return Font(new PlatformFontWin(CreateHFontRef(hfont))); Font 125 ui/gfx/platform_font_win.cc Font PlatformFontWin::DeriveFont(int size_delta, int style) const { Font 133 ui/gfx/platform_font_win.cc return Font(new PlatformFontWin(CreateHFontRef(hfont))); Font 247 ui/gfx/platform_font_win.cc style |= Font::ITALIC; Font 249 ui/gfx/platform_font_win.cc style |= Font::UNDERLINE; Font 251 ui/gfx/platform_font_win.cc style |= Font::BOLD; Font 54 ui/gfx/platform_font_win.h Font DeriveFontWithHeight(int height, int style); Font 57 ui/gfx/platform_font_win.h virtual Font DeriveFont(int size_delta, int style) const OVERRIDE; Font 18 ui/gfx/platform_font_win_unittest.cc gfx::Font AdjustFontSizeForHeight(const gfx::Font& base_font, Font 20 ui/gfx/platform_font_win_unittest.cc Font expected_font = base_font; Font 23 ui/gfx/platform_font_win_unittest.cc Font larger_font = base_font.Derive(1, 0); Font 40 ui/gfx/platform_font_win_unittest.cc const Font base_font; Font 46 ui/gfx/platform_font_win_unittest.cc Font expected_font = AdjustFontSizeForHeight(base_font, target_height); Font 49 ui/gfx/platform_font_win_unittest.cc Font derived_font = platform_font->DeriveFontWithHeight(target_height, 0); Font 56 ui/gfx/platform_font_win_unittest.cc Font::BOLD); Font 60 ui/gfx/platform_font_win_unittest.cc EXPECT_EQ(Font::BOLD, derived_font.GetStyle()); Font 63 ui/gfx/platform_font_win_unittest.cc Font rederived_font = derived_font.Derive(1, 0); Font 64 ui/gfx/platform_font_win_unittest.cc expected_font = Font(derived_font.GetFontName(), Font 82 ui/gfx/platform_font_win_unittest.cc const Font base_font; Font 83 ui/gfx/platform_font_win_unittest.cc const Font min_font(base_font.GetFontName(), GetMinFontSize()); Font 87 ui/gfx/platform_font_win_unittest.cc const Font derived_font = Font 96 ui/gfx/platform_font_win_unittest.cc const Font base_font; Font 100 ui/gfx/platform_font_win_unittest.cc const Font derived_font = platform_font->DeriveFontWithHeight(1, 0); Font 80 ui/gfx/render_text.cc skia_style |= (font_style & gfx::Font::BOLD) ? SkTypeface::kBold : 0; Font 81 ui/gfx/render_text.cc skia_style |= (font_style & gfx::Font::ITALIC) ? SkTypeface::kItalic : 0; Font 43 ui/gfx/render_text.h class Font; Font 48 ui/gfx/render_text_mac.cc gfx::Font font(runs_[i].font_name, runs_[i].text_size); Font 185 ui/gfx/render_text_mac.cc font_style(Font::NORMAL), Font 320 ui/gfx/render_text_mac.cc run->font_style |= Font::BOLD; Font 322 ui/gfx/render_text_mac.cc run->font_style |= Font::ITALIC; Font 134 ui/gfx/render_text_pango.cc spans.push_back(RenderText::FontSpan(Font(desc.get()), range)); Font 351 ui/gfx/render_text_pango.cc const int style = (bold->second ? Font::BOLD : 0) | Font 352 ui/gfx/render_text_pango.cc (italic->second ? Font::ITALIC : 0); Font 471 ui/gfx/render_text_pango.cc const int font_style = (style.style(BOLD) ? Font::BOLD : 0) | Font 472 ui/gfx/render_text_pango.cc (style.style(ITALIC) ? Font::ITALIC : 0); Font 1256 ui/gfx/render_text_unittest.cc Font arial_font("Arial", 16); Font 1259 ui/gfx/render_text_unittest.cc Font symbol_font("Symbol", 16); Font 1270 ui/gfx/render_text_unittest.cc Font smaller_font = arial_font; Font 1271 ui/gfx/render_text_unittest.cc Font larger_font = symbol_font; Font 1294 ui/gfx/render_text_unittest.cc std::vector<Font> fonts; Font 1310 ui/gfx/render_text_unittest.cc const std::vector<Font>& fonts = render_text->font_list().GetFonts(); Font 1518 ui/gfx/render_text_unittest.cc const Font& start_font = spans[start_paren_span_index].first; Font 1519 ui/gfx/render_text_unittest.cc const Font& end_font = spans[end_paren_span_index].first; Font 60 ui/gfx/render_text_win.cc const Font& font, Font 63 ui/gfx/render_text_win.cc Font* result) { Font 89 ui/gfx/render_text_win.cc *result = Font(base::UTF16ToUTF8(log_font.lfFaceName), Font 105 ui/gfx/render_text_win.cc Font* font) { Font 106 ui/gfx/render_text_win.cc const int kStyleMask = (Font::BOLD | Font::ITALIC); Font 505 ui/gfx/render_text_win.cc std::map<std::string, Font> RenderTextWin::successful_substitute_fonts_; Font 934 ui/gfx/render_text_win.cc run->font_style = (style.style(BOLD) ? Font::BOLD : 0) | Font 935 ui/gfx/render_text_win.cc (style.style(ITALIC) ? Font::ITALIC : 0); Font 1055 ui/gfx/render_text_win.cc Font original_font = run->font; Font 1063 ui/gfx/render_text_win.cc Font best_partial_font = original_font; Font 1064 ui/gfx/render_text_win.cc Font current_font; Font 1099 ui/gfx/render_text_win.cc std::map<std::string, Font>::const_iterator it = Font 1113 ui/gfx/render_text_win.cc Font fallback_font; Font 1175 ui/gfx/render_text_win.cc const Font& font) { Font 27 ui/gfx/render_text_win.h Font font; Font 100 ui/gfx/render_text_win.h HRESULT ShapeTextRunWithFont(internal::TextRun* run, const Font& font); Font 121 ui/gfx/render_text_win.h static std::map<std::string, Font> successful_substitute_fonts_; Font 672 ui/gfx/text_elider_unittest.cc font_list = FontList(Font("LucidaGrande", 12)); Font 117 ui/views/controls/button/label_button.cc font_list.GetFontStyle() | gfx::Font::BOLD); Font 25 ui/views/controls/label_unittest.cc gfx::Font font(font_name, 26); Font 27 ui/views/controls/label_unittest.cc gfx::Font font_used = label.font_list().GetPrimaryFont(); Font 35 ui/views/controls/label_unittest.cc gfx::Font font(font_name, 30); Font 37 ui/views/controls/label_unittest.cc gfx::Font font_used = label.font_list().GetPrimaryFont(); Font 223 ui/views/controls/link.cc (style | gfx::Font::UNDERLINE) : (style & ~gfx::Font::UNDERLINE); Font 38 ui/views/controls/menu/menu_config_win.cc font_list = gfx::FontList(gfx::Font(new_font)); Font 42 ui/views/controls/styled_label.cc link->SetUnderline((style_info.font_style & gfx::Font::UNDERLINE) != 0); Font 53 ui/views/controls/styled_label.cc if (style_info.font_style != gfx::Font::NORMAL) { Font 67 ui/views/controls/styled_label.cc : font_style(gfx::Font::NORMAL), Font 203 ui/views/controls/styled_label_unittest.cc style_info.font_style = gfx::Font::UNDERLINE; Font 215 ui/views/controls/styled_label_unittest.cc gfx::Font::UNDERLINE, Font 226 ui/views/controls/styled_label_unittest.cc style_info.font_style = gfx::Font::BOLD; Font 233 ui/views/controls/styled_label_unittest.cc label.SetFontList(label.font_list().DeriveWithStyle(gfx::Font::BOLD)); Font 259 ui/views/controls/styled_label_unittest.cc gfx::Font::BOLD, Font 264 ui/views/controls/styled_label_unittest.cc gfx::Font::BOLD, Font 269 ui/views/controls/styled_label_unittest.cc gfx::Font::NORMAL, Font 388 ui/views/controls/styled_label_unittest.cc gfx::Font font(font_name, 30); Font 249 ui/views/examples/text_example.cc SetFlagFromCheckbox(bold_checkbox_, &style, gfx::Font::BOLD); Font 250 ui/views/examples/text_example.cc SetFlagFromCheckbox(italic_checkbox_, &style, gfx::Font::ITALIC); Font 251 ui/views/examples/text_example.cc SetFlagFromCheckbox(underline_checkbox_, &style, gfx::Font::UNDERLINE); Font 92 ui/views/widget/native_widget_aura.cc return gfx::FontList(gfx::Font(caption_font));