Home
last modified time | relevance | path

Searched refs:font_list (Results 1 – 25 of 28) sorted by relevance

12

/third_party/cef/libcef/browser/views/
Dlabel_button_impl.h39 void SetFontList(const CefString& font_list) override;
112 const CefString& font_list) { in SetFontList() argument
114 ParentClass::root_view()->SetFontList(gfx::FontList(font_list)); in SetFontList()
Dtextfield_impl.cc150 void CefTextfieldImpl::SetFontList(const CefString& font_list) { in SetFontList() argument
152 root_view()->SetFontList(gfx::FontList(font_list)); in SetFontList()
Dmenu_button_view.cc43 SetFontList(views::MenuConfig::instance().font_list); in Initialize()
Dtextfield_impl.h50 void SetFontList(const CefString& font_list) override;
/third_party/cef/libcef/browser/
Dmenu_model_impl.cc740 bool CefMenuModelImpl::SetFontList(int command_id, const CefString& font_list) { in SetFontList() argument
741 return SetFontListAt(GetIndexOf(command_id), font_list); in SetFontList()
744 bool CefMenuModelImpl::SetFontListAt(int index, const CefString& font_list) { in SetFontListAt() argument
749 if (font_list.empty()) { in SetFontListAt()
752 default_font_list_ = gfx::FontList(font_list); in SetFontListAt()
760 if (font_list.empty()) { in SetFontListAt()
763 item.font_list_ = gfx::FontList(font_list); in SetFontListAt()
Dsimple_menu_model_impl.h137 bool SetFontList(int command_id, const CefString& font_list) override;
138 bool SetFontListAt(int index, const CefString& font_list) override;
Dmenu_model_impl.h156 bool SetFontList(int command_id, const CefString& font_list) override;
157 bool SetFontListAt(int index, const CefString& font_list) override;
Dsimple_menu_model_impl.cc489 const CefString& font_list) { in SetFontList() argument
495 const CefString& font_list) { in SetFontListAt() argument
/third_party/cef/libcef_dll/ctocpp/
Dmenu_model_ctocpp.h125 bool SetFontList(int command_id, const CefString& font_list) override;
126 bool SetFontListAt(int index, const CefString& font_list) override;
Dmenu_model_ctocpp.cc1075 const CefString& font_list) { in SetFontList() argument
1088 _struct->set_font_list(_struct, command_id, font_list.GetStruct()); in SetFontList()
1095 bool CefMenuModelCToCpp::SetFontListAt(int index, const CefString& font_list) { in SetFontListAt() argument
1108 _struct->set_font_list_at(_struct, index, font_list.GetStruct()); in SetFontListAt()
/third_party/cef/include/
Dcef_menu_model.h471 virtual bool SetFontList(int command_id, const CefString& font_list) = 0;
488 virtual bool SetFontListAt(int index, const CefString& font_list) = 0;
/third_party/cef/libcef/browser/native/
Dnative_menu_win.cc209 gfx::FontList font_list; in OnMeasureItem() local
211 gfx::GetStringWidth(base::WideToUTF16(data->label), font_list) + in OnMeasureItem()
218 measure_item_struct->itemWidth += gfx::GetStringWidth(u" ", font_list); in OnMeasureItem()
220 font_list.GetHeight() + kItemBottomMargin + kItemTopMargin; in OnMeasureItem()
265 gfx::FontList font_list; in OnDrawItem() local
266 HFONT new_font = CreateNativeFont(font_list.GetPrimaryFont()); in OnDrawItem()
/third_party/cef/include/capi/
Dcef_menu_model_capi.h481 const cef_string_t* font_list);
498 const cef_string_t* font_list);
/third_party/cef/include/views/
Dcef_label_button.h126 virtual void SetFontList(const CefString& font_list) = 0;
Dcef_textfield.h201 virtual void SetFontList(const CefString& font_list) = 0;
/third_party/cef/include/capi/views/
Dcef_label_button_capi.h125 const cef_string_t* font_list);
Dcef_textfield_capi.h195 const cef_string_t* font_list);
/third_party/cef/libcef_dll/ctocpp/views/
Dlabel_button_ctocpp.cc174 void CefLabelButtonCToCpp::SetFontList(const CefString& font_list) { in SetFontList() argument
184 DCHECK(!font_list.empty()); in SetFontList()
185 if (font_list.empty()) in SetFontList()
189 _struct->set_font_list(_struct, font_list.GetStruct()); in SetFontList()
Dmenu_button_ctocpp.cc217 void CefMenuButtonCToCpp::SetFontList(const CefString& font_list) { in SetFontList() argument
228 DCHECK(!font_list.empty()); in SetFontList()
229 if (font_list.empty()) in SetFontList()
233 _struct->set_font_list(_struct, font_list.GetStruct()); in SetFontList()
Dtextfield_ctocpp.cc380 void CefTextfieldCToCpp::SetFontList(const CefString& font_list) { in SetFontList() argument
390 DCHECK(!font_list.empty()); in SetFontList()
391 if (font_list.empty()) in SetFontList()
395 _struct->set_font_list(_struct, font_list.GetStruct()); in SetFontList()
Dlabel_button_ctocpp.h47 void SetFontList(const CefString& font_list) override;
Dmenu_button_ctocpp.h51 void SetFontList(const CefString& font_list) override;
/third_party/cef/libcef_dll/cpptoc/
Dmenu_model_cpptoc.cc1183 const cef_string_t* font_list) { in menu_model_set_font_list() argument
1195 command_id, CefString(font_list)); in menu_model_set_font_list()
1203 const cef_string_t* font_list) { in menu_model_set_font_list_at() argument
1215 CefMenuModelCppToC::Get(self)->SetFontListAt(index, CefString(font_list)); in menu_model_set_font_list_at()
/third_party/cef/libcef_dll/cpptoc/views/
Dlabel_button_cpptoc.cc176 const cef_string_t* font_list) { in label_button_set_font_list() argument
185 DCHECK(font_list); in label_button_set_font_list()
186 if (!font_list) in label_button_set_font_list()
190 CefLabelButtonCppToC::Get(self)->SetFontList(CefString(font_list)); in label_button_set_font_list()
Dtextfield_cpptoc.cc393 const cef_string_t* font_list) { in textfield_set_font_list() argument
402 DCHECK(font_list); in textfield_set_font_list()
403 if (!font_list) in textfield_set_font_list()
407 CefTextfieldCppToC::Get(self)->SetFontList(CefString(font_list)); in textfield_set_font_list()

12