Home | History | Annotate | Download | only in menu

Lines Matching defs:MenuDelegate

12 MenuDelegate::~MenuDelegate() {}
14 bool MenuDelegate::IsItemChecked(int id) const {
18 base::string16 MenuDelegate::GetLabel(int id) const {
22 const gfx::FontList* MenuDelegate::GetLabelFontList(int id) const {
26 bool MenuDelegate::GetShouldUseDisabledEmphasizedForegroundColor(
31 bool MenuDelegate::GetBackgroundColor(int command_id,
37 bool MenuDelegate::GetForegroundColor(int command_id,
43 base::string16 MenuDelegate::GetTooltipText(int id,
48 bool MenuDelegate::GetAccelerator(int id, ui::Accelerator* accelerator) const {
52 bool MenuDelegate::ShowContextMenu(MenuItemView* source,
59 bool MenuDelegate::SupportsCommand(int id) const {
63 bool MenuDelegate::IsCommandEnabled(int id) const {
67 bool MenuDelegate::IsCommandVisible(int id) const {
71 bool MenuDelegate::GetContextualLabel(int id, base::string16* out) const {
75 bool MenuDelegate::ShouldCloseAllMenusOnExecute(int id) {
79 void MenuDelegate::ExecuteCommand(int id, int mouse_event_flags) {
83 bool MenuDelegate::ShouldExecuteCommandWithoutClosingMenu(int id,
88 bool MenuDelegate::IsTriggerableEvent(MenuItemView* source,
96 bool MenuDelegate::CanDrop(MenuItemView* menu, const OSExchangeData& data) {
100 bool MenuDelegate::GetDropFormats(
107 bool MenuDelegate::AreDropTypesRequired(MenuItemView* menu) {
111 int MenuDelegate::GetDropOperation(MenuItemView* item,
118 int MenuDelegate::OnPerformDrop(MenuItemView* menu,
125 bool MenuDelegate::CanDrag(MenuItemView* menu) {
129 void MenuDelegate::WriteDragData(MenuItemView* sender, OSExchangeData* data) {
133 int MenuDelegate::GetDragOperations(MenuItemView* sender) {
138 bool MenuDelegate::ShouldCloseOnDragComplete() {
142 MenuItemView* MenuDelegate::GetSiblingMenu(MenuItemView* menu,
150 int MenuDelegate::GetMaxWidthForMenu(MenuItemView* menu) {
156 void MenuDelegate::WillShowMenu(MenuItemView* menu) {
159 void MenuDelegate::WillHideMenu(MenuItemView* menu) {
162 void MenuDelegate::GetHorizontalIconMargins(int command_id,
170 bool MenuDelegate::ShouldReserveSpaceForSubmenuIndicator() const {