Searched refs:menu_config (Results 1 – 6 of 6) sorted by relevance
51 const MenuConfig& menu_config = parent_menu_item_->GetMenuConfig(); in GetPreferredSizeAura() local52 int height = menu_config.separator_height; in GetPreferredSizeAura()55 height = menu_config.separator_spacing_height; in GetPreferredSizeAura()58 height = menu_config.separator_lower_height; in GetPreferredSizeAura()61 height = menu_config.separator_upper_height; in GetPreferredSizeAura()64 height = menu_config.separator_height; in GetPreferredSizeAura()
216 const MenuConfig& menu_config = content_view_->GetMenuItem()->GetMenuConfig(); in OnPaintBackground() local217 extra.menu_background.corner_radius = menu_config.corner_radius; in OnPaintBackground()280 const MenuConfig& menu_config = in CreateDefaultBorder() local284 int padding = menu_config.corner_radius > 0 ? in CreateDefaultBorder()288 if (menu_config.native_theme == ui::NativeThemeAura::instance()) { in CreateDefaultBorder()296 int top = menu_config.menu_vertical_border_size + padding; in CreateDefaultBorder()297 int left = menu_config.menu_horizontal_border_size + padding; in CreateDefaultBorder()298 int bottom = menu_config.menu_vertical_border_size + padding; in CreateDefaultBorder()299 int right = menu_config.menu_horizontal_border_size + padding; in CreateDefaultBorder()303 new views::RoundRectPainter(menu_config.native_theme->GetSystemColor( in CreateDefaultBorder()[all …]
48 const MenuConfig& menu_config = submenu_->GetMenuItem()->GetMenuConfig(); in InitMenuHost() local49 bool rounded_border = menu_controller && menu_config.corner_radius > 0; in InitMenuHost()
1708 const MenuConfig& menu_config = item->GetMenuConfig(); in CalculateMenuBounds() local1716 if (menu_config.offset_context_menus && state_.context_menu) in CalculateMenuBounds()1722 if (menu_config.offset_context_menus && state_.context_menu) in CalculateMenuBounds()1806 menu_config.offset_context_menus && state_.context_menu) { in CalculateMenuBounds()1824 int submenu_horizontal_inset = menu_config.submenu_horizontal_inset; in CalculateMenuBounds()1846 y = item_loc.y() - menu_config.menu_vertical_border_size; in CalculateMenuBounds()
402 const MenuConfig& menu_config = menu_->GetMenuConfig(); in CreateButtonWithAccName() local403 button->SetTextColor(views::Button::STATE_NORMAL, menu_config.text_color); in CreateButtonWithAccName()407 new MenuButtonBorder(menu_config, menu_->use_new_menu())); in CreateButtonWithAccName()409 button->SetFont(menu_config.font); in CreateButtonWithAccName()627 const MenuConfig& menu_config(menu->GetMenuConfig()); in ZoomView() local629 new MenuButtonBorder(menu_config, menu->use_new_menu())); in ZoomView()630 zoom_label_->SetFont(menu_config.font); in ZoomView()
115 'controls/menu/menu_config.cc',116 'controls/menu/menu_config.h',