Home
last modified time | relevance | path

Searched refs:MenuConfig (Results 1 – 16 of 16) sorted by relevance

/external/chromium_org/ui/views/controls/menu/
Dmenu_config_views.cc26 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()
Dmenu_config_win.cc27 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()
Dmenu_config.cc13 MenuConfig::MenuConfig(const ui::NativeTheme* theme) in MenuConfig() function in views::MenuConfig
60 MenuConfig::~MenuConfig() {} in ~MenuConfig()
Dmenu_config.h20 struct VIEWS_EXPORT MenuConfig { struct
21 explicit MenuConfig(const ui::NativeTheme* theme);
22 ~MenuConfig();
24 static const MenuConfig& instance(const ui::NativeTheme* theme);
Dmenu_separator_win.cc24 const MenuConfig& config = parent_menu_item_->GetMenuConfig(); in OnPaint()
56 const MenuConfig& config = parent_menu_item_->GetMenuConfig(); in GetPreferredSize()
Dmenu_scroll_view_container.cc77 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()
Dmenu_separator_views.cc51 const MenuConfig& menu_config = parent_menu_item_->GetMenuConfig(); in GetPreferredSizeAura()
Dmenu_item_view.cc529 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()
Dmenu_host.cc48 const MenuConfig& menu_config = submenu_->GetMenuItem()->GetMenuConfig(); in InitMenuHost()
Dmenu_item_view.h333 const MenuConfig& GetMenuConfig() const;
Dmenu_controller.h575 views::MenuConfig menu_config_;
Dnative_menu_win.cc275 const MenuConfig& config = MenuConfig::instance(native_theme); in OnDrawItem()
Dmenu_controller.cc1708 const MenuConfig& menu_config = item->GetMenuConfig(); in CalculateMenuBounds()
/external/chromium/chrome/browser/ui/views/
Dwrench_menu.cc44 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()
/external/chromium_org/chrome/browser/ui/views/toolbar/
Dwrench_menu.h29 struct MenuConfig;
54 const views::MenuConfig& GetMenuConfig() const;
Dwrench_menu.cc71 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()