Home
last modified time | relevance | path

Searched refs:menu_config (Results 1 – 6 of 6) sorted by relevance

/external/chromium_org/ui/views/controls/menu/
Dmenu_separator_views.cc51 const MenuConfig& menu_config = parent_menu_item_->GetMenuConfig(); in GetPreferredSizeAura() local
52 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()
Dmenu_scroll_view_container.cc216 const MenuConfig& menu_config = content_view_->GetMenuItem()->GetMenuConfig(); in OnPaintBackground() local
217 extra.menu_background.corner_radius = menu_config.corner_radius; in OnPaintBackground()
280 const MenuConfig& menu_config = in CreateDefaultBorder() local
284 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 …]
Dmenu_host.cc48 const MenuConfig& menu_config = submenu_->GetMenuItem()->GetMenuConfig(); in InitMenuHost() local
49 bool rounded_border = menu_controller && menu_config.corner_radius > 0; in InitMenuHost()
Dmenu_controller.cc1708 const MenuConfig& menu_config = item->GetMenuConfig(); in CalculateMenuBounds() local
1716 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()
/external/chromium_org/chrome/browser/ui/views/toolbar/
Dwrench_menu.cc402 const MenuConfig& menu_config = menu_->GetMenuConfig(); in CreateButtonWithAccName() local
403 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() local
629 new MenuButtonBorder(menu_config, menu->use_new_menu())); in ZoomView()
630 zoom_label_->SetFont(menu_config.font); in ZoomView()
/external/chromium_org/ui/views/
Dviews.gyp115 'controls/menu/menu_config.cc',
116 'controls/menu/menu_config.h',