/external/chromium/chrome/browser/ui/gtk/ |
D | gtk_custom_menu.cc | 34 GtkWidget* menu_item = gtk_get_event_widget(event); in gtk_menu_shell_get_item() local 36 while (menu_item && !GTK_IS_MENU_ITEM(menu_item)) in gtk_menu_shell_get_item() 37 menu_item = menu_item->parent; in gtk_menu_shell_get_item() 39 if (menu_item && gtk_menu_shell_is_item(menu_shell, menu_item)) in gtk_menu_shell_get_item() 40 return menu_item; in gtk_menu_shell_get_item() 49 GtkWidget* menu_item = gtk_menu_shell_get_item( in gtk_custom_menu_button_press() local 51 if (GTK_IS_CUSTOM_MENU_ITEM(menu_item)) { in gtk_custom_menu_button_press() 53 GTK_CUSTOM_MENU_ITEM(menu_item))) { in gtk_custom_menu_button_press() 67 GtkWidget* menu_item = gtk_menu_shell_get_item( in gtk_custom_menu_button_release() local 69 if (GTK_IS_CUSTOM_MENU_ITEM(menu_item)) { in gtk_custom_menu_button_release() [all …]
|
D | gtk_custom_menu_item.cc | 103 GtkCustomMenuItem* menu_item); 106 static void gtk_custom_menu_item_activate(GtkMenuItem* menu_item); 230 GtkCustomMenuItem* menu_item) { in gtk_custom_menu_item_hbox_expose() argument 232 for (GList* current_item = menu_item->all_widgets; in gtk_custom_menu_item_hbox_expose() 236 menu_item->currently_selected_button) { in gtk_custom_menu_item_hbox_expose() 245 for (GList* current_item = menu_item->all_widgets; in gtk_custom_menu_item_hbox_expose() 269 GList* selected = g_list_find(menu_item->all_widgets, in gtk_custom_menu_item_hbox_expose() 270 menu_item->currently_selected_button); in gtk_custom_menu_item_hbox_expose() 304 static void gtk_custom_menu_item_activate(GtkMenuItem* menu_item) { in gtk_custom_menu_item_activate() argument 305 GtkCustomMenuItem* custom_item = GTK_CUSTOM_MENU_ITEM(menu_item); in gtk_custom_menu_item_activate() [all …]
|
D | menu_gtk.cc | 30 void SetMenuItemID(GtkWidget* menu_item, int menu_id) { in SetMenuItemID() argument 34 g_object_set_data(G_OBJECT(menu_item), "menu-id", in SetMenuItemID() 40 bool GetMenuItemID(GtkWidget* menu_item, int* menu_id) { in GetMenuItemID() argument 41 gpointer id_ptr = g_object_get_data(G_OBJECT(menu_item), "menu-id"); in GetMenuItemID() 50 ui::MenuModel* ModelForMenuItem(GtkMenuItem* menu_item) { in ModelForMenuItem() argument 52 g_object_get_data(G_OBJECT(menu_item), "model")); in ModelForMenuItem() 310 GtkWidget* menu_item = BuildMenuItemWithLabel(label, command_id); in AppendMenuItemWithLabel() local 311 return AppendMenuItem(command_id, menu_item); in AppendMenuItemWithLabel() 318 GtkWidget* menu_item = BuildMenuItemWithImage(converted_label, icon); in AppendMenuItemWithIcon() local 319 return AppendMenuItem(command_id, menu_item); in AppendMenuItemWithIcon() [all …]
|
D | gtk_custom_menu_item.h | 58 GtkMenuItem menu_item; member 91 GtkWidget* gtk_custom_menu_item_add_button(GtkCustomMenuItem* menu_item, 96 GtkWidget* gtk_custom_menu_item_add_button_label(GtkCustomMenuItem* menu_item, 100 void gtk_custom_menu_item_add_space(GtkCustomMenuItem* menu_item); 105 void gtk_custom_menu_item_receive_motion_event(GtkCustomMenuItem* menu_item, 111 gboolean gtk_custom_menu_item_handle_move(GtkCustomMenuItem* menu_item, 118 GtkCustomMenuItem* menu_item, GtkMenuDirectionType direction); 124 GtkCustomMenuItem* menu_item); 132 GtkCustomMenuItem* menu_item); 135 void gtk_custom_menu_item_foreach_button(GtkCustomMenuItem* menu_item,
|
D | global_menu_bar.cc | 195 GtkWidget* menu_item = NULL; in BuildGtkMenuFrom() local 197 menu_item = gtk_separator_menu_item_new(); in BuildGtkMenuFrom() 205 menu_item = gtk_check_menu_item_new_with_mnemonic(label.c_str()); in BuildGtkMenuFrom() 207 menu_item = gtk_menu_item_new_with_mnemonic(label.c_str()); in BuildGtkMenuFrom() 209 id_to_menu_item->insert(std::make_pair(command_id, menu_item)); in BuildGtkMenuFrom() 210 g_object_set_data(G_OBJECT(menu_item), "command-id", in BuildGtkMenuFrom() 212 g_signal_connect(menu_item, "activate", in BuildGtkMenuFrom() 215 gtk_widget_show(menu_item); in BuildGtkMenuFrom() 216 gtk_menu_shell_append(GTK_MENU_SHELL(menu), menu_item); in BuildGtkMenuFrom() 221 GtkWidget* menu_item = gtk_menu_item_new_with_mnemonic( in BuildGtkMenuFrom() local [all …]
|
D | menu_bar_helper.cc | 36 GtkWidget* menu_item = gtk_menu_get_attach_widget(GTK_MENU(menu)); in MotionIsOverMenu() local 37 if (!menu_item) in MotionIsOverMenu() 39 GtkWidget* parent = gtk_widget_get_parent(menu_item); in MotionIsOverMenu()
|
D | menu_gtk.h | 71 GtkWidget* AppendMenuItem(int command_id, GtkWidget* menu_item); 74 GtkWidget* menu_item,
|
D | browser_actions_toolbar_gtk.cc | 927 GtkWidget* menu_item = GTK_MENU_SHELL(overflow)->active_menu_item; in OnOverflowMenuButtonPress() local 928 if (!menu_item) in OnOverflowMenuButtonPress() 931 int item_index = g_list_index(GTK_MENU_SHELL(overflow)->children, menu_item); in OnOverflowMenuButtonPress()
|
/external/chromium/chrome/browser/ui/gtk/bookmarks/ |
D | bookmark_menu_controller_gtk.cc | 33 void SetImageMenuItem(GtkWidget* menu_item, in SetImageMenuItem() argument 37 gtk_image_menu_item_set_image(GTK_IMAGE_MENU_ITEM(menu_item), in SetImageMenuItem() 42 const BookmarkNode* GetNodeFromMenuItem(GtkWidget* menu_item) { in GetNodeFromMenuItem() argument 44 g_object_get_data(G_OBJECT(menu_item), "bookmark-node")); in GetNodeFromMenuItem() 133 GtkWidget* menu_item, in NavigateToMenuItem() argument 135 const BookmarkNode* node = GetNodeFromMenuItem(menu_item); in NavigateToMenuItem() 160 GtkWidget* menu_item = in BuildMenu() local 162 g_object_set_data(G_OBJECT(menu_item), "bookmark-node", AsVoid(node)); in BuildMenu() 163 SetImageMenuItem(menu_item, node, profile_->GetBookmarkModel()); in BuildMenu() 164 gtk_util::SetAlwaysShowImage(menu_item); in BuildMenu() [all …]
|
D | bookmark_menu_controller_gtk.h | 69 void NavigateToMenuItem(GtkWidget* menu_item,
|
/external/chromium/chrome/browser/ui/cocoa/ |
D | history_menu_bridge.mm | 53 menu_item(nil), function 61 menu_item(nil), function 282 for (NSMenuItem* menu_item in [menu itemArray]) { 283 if ([menu_item tag] == tag && [menu_item target] == controller_.get()) { 286 HistoryItem* item = HistoryItemForMenuItem(menu_item); 292 menu_item_map_.erase(menu_item); 297 if ([menu_item hasSubmenu]) { 298 ClearMenuSection([menu_item submenu], tag + 1); 302 [menu removeItem:menu_item]; 326 item->menu_item.reset( [all …]
|
D | history_menu_bridge.h | 89 scoped_nsobject<NSMenuItem> menu_item; member
|
D | history_menu_bridge_unittest.mm | 370 item.menu_item.reset([[NSMenuItem alloc] init]); 385 EXPECT_TRUE([item.menu_item image]);
|
/external/webkit/Source/WebKit/efl/ewk/ |
D | ewk_contextmenu.cpp | 405 Ewk_Context_Menu_Item* menu_item = ewk_context_menu_item_new in ewk_context_menu_item_append() local 408 EINA_SAFETY_ON_NULL_RETURN(menu_item); in ewk_context_menu_item_append() 410 o->items = eina_list_append(o->items, menu_item); in ewk_context_menu_item_append()
|
/external/chromium/chrome/browser/ui/views/ |
D | wrench_menu.cc | 692 MenuItemView* menu_item = parent->AppendMenuItemFromModel(model, index, id); in AppendMenuItem() local 694 if (menu_item) in AppendMenuItem() 695 menu_item->SetVisible(model->IsVisibleAt(index)); in AppendMenuItem() 700 menu_item->SetIcon(icon); in AppendMenuItem() 703 return menu_item; in AppendMenuItem()
|
/external/chromium/chrome/browser/ui/views/bookmarks/ |
D | bookmark_menu_controller_views.cc | 297 MenuItemView* menu_item = i->second->GetMenuItemByID(menu_pair->second); in BookmarkNodeFaviconLoaded() local 298 if (menu_item) { in BookmarkNodeFaviconLoaded() 299 menu_item->SetIcon(model->GetFavicon(node)); in BookmarkNodeFaviconLoaded()
|
/external/chromium/chrome/browser/extensions/ |
D | extension_menu_manager.cc | 235 ExtensionMenuItem* menu_item = GetItemById(id); in RemoveContextMenuItem() local 236 DCHECK(menu_item); in RemoveContextMenuItem() 237 std::string extension_id = menu_item->extension_id(); in RemoveContextMenuItem()
|