/external/chromium/chrome/browser/ui/gtk/ |
gtk_custom_menu.cc | 34 GtkWidget* menu_item = gtk_get_event_widget(event); local 36 while (menu_item && !GTK_IS_MENU_ITEM(menu_item)) 37 menu_item = menu_item->parent; 39 if (menu_item && gtk_menu_shell_is_item(menu_shell, menu_item)) 40 return menu_item; 49 GtkWidget* menu_item = gtk_menu_shell_get_item( local 51 if (GTK_IS_CUSTOM_MENU_ITEM(menu_item)) { 67 GtkWidget* menu_item = gtk_menu_shell_get_item( local 90 GtkWidget* menu_item = gtk_menu_shell_get_item( local 108 GtkWidget* menu_item = GTK_MENU_SHELL(menu_shell)->active_menu_item; local [all...] |
gtk_custom_menu_item.h | 58 GtkMenuItem menu_item; member in struct:_GtkCustomMenuItem 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, [all...] |
gtk_custom_menu_item.cc | 103 GtkCustomMenuItem* menu_item); 106 static void gtk_custom_menu_item_activate(GtkMenuItem* menu_item); 230 GtkCustomMenuItem* menu_item) { 232 for (GList* current_item = menu_item->all_widgets; 236 menu_item->currently_selected_button) { 245 for (GList* current_item = menu_item->all_widgets; 269 GList* selected = g_list_find(menu_item->all_widgets, 270 menu_item->currently_selected_button); 304 static void gtk_custom_menu_item_activate(GtkMenuItem* menu_item) { 305 GtkCustomMenuItem* custom_item = GTK_CUSTOM_MENU_ITEM(menu_item); [all...] |
menu_gtk.cc | 30 void SetMenuItemID(GtkWidget* menu_item, int menu_id) { 34 g_object_set_data(G_OBJECT(menu_item), "menu-id", 40 bool GetMenuItemID(GtkWidget* menu_item, int* menu_id) { 41 gpointer id_ptr = g_object_get_data(G_OBJECT(menu_item), "menu-id"); 50 ui::MenuModel* ModelForMenuItem(GtkMenuItem* menu_item) { 52 g_object_get_data(G_OBJECT(menu_item), "model")); 310 GtkWidget* menu_item = BuildMenuItemWithLabel(label, command_id); local 311 return AppendMenuItem(command_id, menu_item); 318 GtkWidget* menu_item = BuildMenuItemWithImage(converted_label, icon); local 319 return AppendMenuItem(command_id, menu_item); 325 GtkWidget* menu_item = local 331 GtkWidget* menu_item = gtk_separator_menu_item_new(); local 333 gtk_menu_shell_append(GTK_MENU_SHELL(menu_), menu_item); local 368 gtk_menu_shell_append(GTK_MENU_SHELL(menu), menu_item); local 409 GtkWidget* menu_item = local 418 GtkWidget* menu_item = BuildMenuItemWithImage(label, local 439 GtkWidget* menu_item = NULL; local 519 GtkWidget* menu_item = gtk_custom_menu_item_new( local [all...] |
global_menu_bar.cc | 195 GtkWidget* menu_item = NULL; local 197 menu_item = gtk_separator_menu_item_new(); 205 menu_item = gtk_check_menu_item_new_with_mnemonic(label.c_str()); 207 menu_item = gtk_menu_item_new_with_mnemonic(label.c_str()); 209 id_to_menu_item->insert(std::make_pair(command_id, menu_item)); 210 g_object_set_data(G_OBJECT(menu_item), "command-id", 212 g_signal_connect(menu_item, "activate", 215 gtk_widget_show(menu_item); 216 gtk_menu_shell_append(GTK_MENU_SHELL(menu), menu_item); local 221 GtkWidget* menu_item = gtk_menu_item_new_with_mnemonic local 227 gtk_menu_shell_append(GTK_MENU_SHELL(menu_bar_), menu_item); local [all...] |
menu_bar_helper.cc | 36 GtkWidget* menu_item = gtk_menu_get_attach_widget(GTK_MENU(menu)); local 37 if (!menu_item) 39 GtkWidget* parent = gtk_widget_get_parent(menu_item);
|
menu_gtk.h | 71 GtkWidget* AppendMenuItem(int command_id, GtkWidget* menu_item); 74 GtkWidget* menu_item,
|
browser_actions_toolbar_gtk.cc | 927 GtkWidget* menu_item = GTK_MENU_SHELL(overflow)->active_menu_item; 928 if (!menu_item) 931 int item_index = g_list_index(GTK_MENU_SHELL(overflow)->children, menu_item); [all...] |
/external/chromium/chrome/browser/ui/gtk/bookmarks/ |
bookmark_menu_controller_gtk.cc | 33 void SetImageMenuItem(GtkWidget* menu_item, 37 gtk_image_menu_item_set_image(GTK_IMAGE_MENU_ITEM(menu_item), 42 const BookmarkNode* GetNodeFromMenuItem(GtkWidget* menu_item) { 44 g_object_get_data(G_OBJECT(menu_item), "bookmark-node")); 133 GtkWidget* menu_item, 135 const BookmarkNode* node = GetNodeFromMenuItem(menu_item); 160 GtkWidget* menu_item = local 162 g_object_set_data(G_OBJECT(menu_item), "bookmark-node", AsVoid(node)); 163 SetImageMenuItem(menu_item, node, profile_->GetBookmarkModel()); 164 gtk_util::SetAlwaysShowImage(menu_item); 200 gtk_menu_shell_append(GTK_MENU_SHELL(menu), menu_item); local 243 GtkWidget* menu_item = menu_shell->active_menu_item; local [all...] |
bookmark_menu_controller_gtk.h | 68 // |menu_item|. 69 void NavigateToMenuItem(GtkWidget* menu_item,
|
/external/chromium/chrome/browser/ui/cocoa/ |
history_menu_bridge.h | 89 scoped_nsobject<NSMenuItem> menu_item; member in struct:HistoryMenuBridge::HistoryItem
|
/external/webkit/Source/WebKit/efl/ewk/ |
ewk_contextmenu.cpp | 405 Ewk_Context_Menu_Item* menu_item = ewk_context_menu_item_new local 408 EINA_SAFETY_ON_NULL_RETURN(menu_item); 410 o->items = eina_list_append(o->items, menu_item);
|
/external/chromium/chrome/browser/ui/views/bookmarks/ |
bookmark_menu_controller_views.cc | 297 MenuItemView* menu_item = i->second->GetMenuItemByID(menu_pair->second); local 298 if (menu_item) { 299 menu_item->SetIcon(model->GetFavicon(node));
|
/external/chromium/chrome/browser/ui/views/ |
wrench_menu.cc | 692 MenuItemView* menu_item = parent->AppendMenuItemFromModel(model, index, id); local 694 if (menu_item) 695 menu_item->SetVisible(model->IsVisibleAt(index)); 700 menu_item->SetIcon(icon); 703 return menu_item;
|
/external/chromium/chrome/browser/extensions/ |
extension_menu_manager.cc | 235 ExtensionMenuItem* menu_item = GetItemById(id); 236 DCHECK(menu_item); 237 std::string extension_id = menu_item->extension_id();
|