Searched refs:MenuConfig (Results 1 – 18 of 18) sorted by relevance
26 void MenuConfig::Init(const ui::NativeTheme* theme) { in Init()32 void MenuConfig::InitAura(const ui::NativeTheme* theme) { in InitAura()53 const MenuConfig& MenuConfig::instance(const ui::NativeTheme* theme) { in instance()54 static MenuConfig* views_instance = NULL; in instance()56 views_instance = new MenuConfig(theme ? in instance()
24 void MenuConfig::Init(const NativeTheme* theme) { in Init()82 const MenuConfig& MenuConfig::instance(const ui::NativeTheme* theme) { in instance()85 static MenuConfig* win_instance = NULL; in instance()87 win_instance = new MenuConfig(NativeThemeWin::instance()); in instance()90 static MenuConfig* views_instance = NULL; in instance()92 views_instance = new MenuConfig(theme); in instance()
13 void MenuConfig::Init(const ui::NativeTheme* theme) { in Init()18 const MenuConfig& MenuConfig::instance(const ui::NativeTheme* theme) { in instance()20 MenuConfig, mac_instance, (theme ? theme : ui::NativeTheme::instance())); in instance()
11 MenuConfig::MenuConfig(const ui::NativeTheme* theme) in MenuConfig() function in views::MenuConfig49 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);
74 const MenuConfig& config = host_->GetMenuItem()->GetMenuConfig(); in OnPaint()213 const MenuConfig& menu_config = content_view_->GetMenuItem()->GetMenuConfig(); in OnPaintBackground()277 const MenuConfig& menu_config = in CreateDefaultBorder()
28 const MenuConfig& menu_config = parent_menu_item_->GetMenuConfig(); in GetPreferredSize()
22 const MenuConfig& config = parent_menu_item_->GetMenuConfig(); in OnPaint()
547 const MenuConfig& config = GetMenuConfig(); in Layout()569 const MenuConfig& MenuItemView::GetMenuConfig() const { in GetMenuConfig()573 return MenuConfig::instance(NULL); in GetMenuConfig()614 const MenuConfig& config = GetMenuConfig(); in UpdateMenuPartSizes()753 const MenuConfig& config = GetMenuConfig(); in PaintButton()879 const MenuConfig& config = GetMenuConfig(); in PaintMinorText()
44 const MenuConfig& menu_config = submenu_->GetMenuItem()->GetMenuConfig(); in InitMenuHost()
324 const MenuConfig& GetMenuConfig() const;
277 const MenuConfig& config = MenuConfig::instance(native_theme); in OnDrawItem()
615 views::MenuConfig menu_config_;
1616 const MenuConfig& menu_config = item->GetMenuConfig(); in CalculateMenuBounds()
72 const views::MenuConfig& menu_config = in GetHeightForWidth()
71 using views::MenuConfig;280 const MenuConfig& menu_config = MenuConfig::instance(theme); in OnNativeThemeChanged()600 const MenuConfig& menu_config = MenuConfig::instance(theme); in OnNativeThemeChanged()1101 const MenuConfig& config = item->GetMenuConfig(); in PopulateMenu()
29 struct MenuConfig;
478 const views::MenuConfig config = views::MenuConfig(theme); in UpdateMenuButtonSizes()