Searched refs:MenuConfig (Results 1 – 16 of 16) sorted by relevance
26 void MenuConfig::Init(const ui::NativeTheme* theme) { in Init()32 void MenuConfig::InitAura(const ui::NativeTheme* theme) { in InitAura()57 const MenuConfig& MenuConfig::instance(const ui::NativeTheme* theme) { in instance()58 static MenuConfig* views_instance = NULL; in instance()60 views_instance = new MenuConfig(theme ? in instance()
27 void MenuConfig::Init(const NativeTheme* theme) { in Init()92 const MenuConfig& MenuConfig::instance(const ui::NativeTheme* theme) { in instance()95 static MenuConfig* win_instance = NULL; in instance()97 win_instance = new MenuConfig(NativeThemeWin::instance()); in instance()100 static MenuConfig* views_instance = NULL; in instance()102 views_instance = new MenuConfig(theme); in instance()
13 MenuConfig::MenuConfig(const ui::NativeTheme* theme) in MenuConfig() function in views::MenuConfig60 MenuConfig::~MenuConfig() {} in ~MenuConfig()
20 struct VIEWS_EXPORT MenuConfig { struct21 explicit MenuConfig(const ui::NativeTheme* theme);22 ~MenuConfig();24 static const MenuConfig& instance(const ui::NativeTheme* theme);
24 const MenuConfig& config = parent_menu_item_->GetMenuConfig(); in OnPaint()56 const MenuConfig& config = parent_menu_item_->GetMenuConfig(); in GetPreferredSize()
77 const MenuConfig& config = host_->GetMenuItem()->GetMenuConfig(); in OnPaint()216 const MenuConfig& menu_config = content_view_->GetMenuItem()->GetMenuConfig(); in OnPaintBackground()280 const MenuConfig& menu_config = in CreateDefaultBorder()
51 const MenuConfig& menu_config = parent_menu_item_->GetMenuConfig(); in GetPreferredSizeAura()
529 const MenuConfig& config = GetMenuConfig(); in Layout()551 const MenuConfig& MenuItemView::GetMenuConfig() const { in GetMenuConfig()555 return MenuConfig::instance(NULL); in GetMenuConfig()596 const MenuConfig& config = GetMenuConfig(); in UpdateMenuPartSizes()735 const MenuConfig& config = GetMenuConfig(); in PaintButton()861 const MenuConfig& config = GetMenuConfig(); in PaintMinorText()
48 const MenuConfig& menu_config = submenu_->GetMenuItem()->GetMenuConfig(); in InitMenuHost()
333 const MenuConfig& GetMenuConfig() const;
575 views::MenuConfig menu_config_;
275 const MenuConfig& config = MenuConfig::instance(native_theme); in OnDrawItem()
1708 const MenuConfig& menu_config = item->GetMenuConfig(); in CalculateMenuBounds()
44 using views::MenuConfig;92 insets->Set(MenuConfig::instance().item_top_margin, in GetInsets()94 MenuConfig::instance().item_bottom_margin, in GetInsets()292 button->SetEnabledColor(MenuConfig::instance().text_color); in CreateButtonWithAccName()298 button->SetFont(views::MenuConfig::instance().font); in CreateButtonWithAccName()401 zoom_label_->SetColor(MenuConfig::instance().text_color); in ZoomView()407 zoom_label_->SetFont(MenuConfig::instance().font); in ZoomView()
29 struct MenuConfig;54 const views::MenuConfig& GetMenuConfig() const;
71 using views::MenuConfig;121 MenuButtonBorder(const MenuConfig& config, bool use_new_menu) in MenuButtonBorder()402 const MenuConfig& menu_config = menu_->GetMenuConfig(); in CreateButtonWithAccName()627 const MenuConfig& menu_config(menu->GetMenuConfig()); in ZoomView()991 const views::MenuConfig& WrenchMenu::GetMenuConfig() const { in GetMenuConfig()992 return MenuConfig::instance(GetNativeTheme()); in GetMenuConfig()