/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);
|
/external/chromium_org/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 = gtk_widget_get_parent(menu_item); 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 | 56 GtkMenuItem menu_item; member in struct:_GtkCustomMenuItem 89 GtkWidget* gtk_custom_menu_item_add_button(GtkCustomMenuItem* menu_item, 94 GtkWidget* gtk_custom_menu_item_add_button_label(GtkCustomMenuItem* menu_item, 98 void gtk_custom_menu_item_add_space(GtkCustomMenuItem* menu_item); 103 void gtk_custom_menu_item_receive_motion_event(GtkCustomMenuItem* menu_item, 109 gboolean gtk_custom_menu_item_handle_move(GtkCustomMenuItem* menu_item, 116 GtkCustomMenuItem* menu_item, GtkMenuDirectionType direction); 122 GtkCustomMenuItem* menu_item); 130 GtkCustomMenuItem* menu_item); 133 void gtk_custom_menu_item_foreach_button(GtkCustomMenuItem* menu_item, [all...] |
global_menu_owner.h | 15 // Should take OwnedWidgetship of |menu|. |menu_item| is passed in for 18 virtual void Init(GtkWidget* menu, GtkWidget* menu_item) = 0;
|
gtk_custom_menu_item.cc | 105 GtkCustomMenuItem* menu_item); 108 static void gtk_custom_menu_item_activate(GtkMenuItem* menu_item); 238 GtkCustomMenuItem* menu_item) { 240 for (GList* current_item = menu_item->all_widgets; 244 menu_item->currently_selected_button) { 253 for (GList* current_item = menu_item->all_widgets; 281 GList* selected = g_list_find(menu_item->all_widgets, 282 menu_item->currently_selected_button); 316 static void gtk_custom_menu_item_activate(GtkMenuItem* menu_item) { 317 GtkCustomMenuItem* custom_item = GTK_CUSTOM_MENU_ITEM(menu_item); [all...] |
menu_gtk.cc | 34 void SetMenuItemID(GtkWidget* menu_item, int menu_id) { 38 g_object_set_data(G_OBJECT(menu_item), "menu-id", 44 bool GetMenuItemID(GtkWidget* menu_item, int* menu_id) { 45 gpointer id_ptr = g_object_get_data(G_OBJECT(menu_item), "menu-id"); 54 ui::MenuModel* ModelForMenuItem(GtkMenuItem* menu_item) { 56 g_object_get_data(G_OBJECT(menu_item), "model")); 325 GtkWidget* menu_item = BuildMenuItemWithLabel(converted_label, command_id); local 326 return AppendMenuItem(command_id, menu_item); 333 GtkWidget* menu_item = BuildMenuItemWithImage(converted_label, icon); local 334 return AppendMenuItem(command_id, menu_item); 340 GtkWidget* menu_item = local 346 GtkWidget* menu_item = gtk_separator_menu_item_new(); local 348 gtk_menu_shell_append(GTK_MENU_SHELL(menu_), menu_item); local 353 GtkWidget* menu_item = gtk_separator_menu_item_new(); local 355 gtk_menu_shell_insert(GTK_MENU_SHELL(menu_), menu_item, position); local 411 gtk_menu_shell_insert(GTK_MENU_SHELL(menu), menu_item, position); local 452 GtkWidget* menu_item = local 460 GtkWidget* menu_item = BuildMenuItemWithImage(label, local 480 GtkWidget* menu_item = NULL; local 537 g_object_set_data(G_OBJECT(submenu), "menu-item", menu_item); local 566 GtkWidget* menu_item = gtk_custom_menu_item_new( local 789 GtkWidget* menu_item = static_cast<GtkWidget*>( local 874 GtkWidget* menu_item = static_cast<GtkWidget*>( local [all...] |
global_menu_bar.cc | 229 GtkWidget* menu_item = BuildMenuItem( local 232 gtk_menu_shell_append(GTK_MENU_SHELL(menu), menu_item); local 237 GtkWidget* menu_item = gtk_menu_item_new_with_mnemonic( local 244 owner->Init(menu, menu_item); 246 gtk_menu_item_set_submenu(GTK_MENU_ITEM(menu_item), menu); 247 gtk_widget_show(menu_item); 248 gtk_menu_shell_append(GTK_MENU_SHELL(menu_bar_), menu_item); local 257 GtkWidget* menu_item = NULL; local 259 menu_item = gtk_separator_menu_item_new(); 265 menu_item = gtk_check_menu_item_new_with_mnemonic(label.c_str()) [all...] |
global_history_menu.cc | 66 : menu_item(NULL), 74 // A pointer to the menu_item. This is a weak reference in the GTK+ version 76 GtkWidget* menu_item; member in class:GlobalHistoryMenu::HistoryItem 175 GtkWidget* menu_item) { 176 MenuItemToHistoryMap::iterator it = menu_item_history_map_.find(menu_item); 203 GtkWidget* menu_item = gtk_menu_item_new_with_label( local 206 item->menu_item = menu_item; 207 gtk_widget_show(menu_item); 208 g_object_set_data(G_OBJECT(menu_item), "type-tag", GINT_TO_POINTER(tag)) 216 gtk_menu_shell_insert(GTK_MENU_SHELL(menu), menu_item, index); local [all...] |
menu_gtk.h | 74 GtkWidget* AppendMenuItem(int command_id, GtkWidget* menu_item); 75 GtkWidget* InsertMenuItem(int command_id, GtkWidget* menu_item, int position); 78 GtkWidget* menu_item, 83 GtkWidget* menu_item,
|
avatar_menu_bubble_gtk.cc | 132 AvatarMenu::Item menu_item = avatar_menu_->GetItemAt(i); local 134 this, menu_item, i, theme_service_); 139 if (menu_item.active) 165 AvatarMenu::Item menu_item = local 168 this, menu_item, active_index, theme_service_);
|
/external/chromium_org/chrome/browser/ui/libgtk2ui/ |
menu_util.cc | 18 GtkWidget* menu_item = gtk_image_menu_item_new_with_mnemonic(label.c_str()); local 19 gtk_image_menu_item_set_image(GTK_IMAGE_MENU_ITEM(menu_item), image); 20 return menu_item; 27 GtkWidget* menu_item = local 30 return menu_item; 37 ui::MenuModel* ModelForMenuItem(GtkMenuItem* menu_item) { 39 g_object_get_data(G_OBJECT(menu_item), "model")); 44 GtkWidget* menu_item, 51 g_object_set_data(G_OBJECT(menu_item), "menu-id", GINT_TO_POINTER(index + 1)); 56 g_signal_connect(menu_item, "activate", item_activated_cb, this_ptr) 68 gtk_menu_shell_append(GTK_MENU_SHELL(menu), menu_item); local 100 GtkWidget* menu_item = NULL; local [all...] |
menu_util.h | 23 ui::MenuModel* ModelForMenuItem(GtkMenuItem* menu_item); 29 GtkWidget* menu_item, 37 bool GetMenuItemID(GtkWidget* menu_item, int* menu_id);
|
chrome_gtk_menu_subclasses.h | 36 GtkMenuItem menu_item; member in struct:_GtkCustomMenuItem
|
app_indicator_icon.cc | 304 GtkWidget* menu_item = gtk_separator_menu_item_new(); local 305 gtk_widget_show(menu_item); 306 gtk_menu_shell_append(GTK_MENU_SHELL(gtk_menu_), menu_item); local 324 GtkWidget* menu_item = gtk_menu_item_new_with_mnemonic(tool_tip_.c_str()); local 326 G_OBJECT(menu_item), "click-action-item", GINT_TO_POINTER(1)); 327 g_signal_connect(menu_item, "activate", G_CALLBACK(OnClickThunk), this); 328 gtk_widget_show(menu_item); 329 gtk_menu_shell_prepend(GTK_MENU_SHELL(gtk_menu_), menu_item); local 338 void AppIndicatorIcon::OnClick(GtkWidget* menu_item) { 343 void AppIndicatorIcon::OnMenuItemActivated(GtkWidget* 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...] |
/external/chromium_org/chrome/browser/ui/gtk/bookmarks/ |
bookmark_menu_controller_gtk.cc | 38 void SetImageMenuItem(GtkWidget* menu_item, 42 gtk_image_menu_item_set_image(GTK_IMAGE_MENU_ITEM(menu_item), 47 const BookmarkNode* GetNodeFromMenuItem(GtkWidget* menu_item) { 49 g_object_get_data(G_OBJECT(menu_item), "bookmark-node")); 137 GtkWidget* menu_item, 139 const BookmarkNode* node = GetNodeFromMenuItem(menu_item); 161 GtkWidget* menu_item = local 163 g_object_set_data(G_OBJECT(menu_item), "bookmark-node", AsVoid(node)); 164 SetImageMenuItem(menu_item, node, model_); 165 gtk_util::SetAlwaysShowImage(menu_item); 201 gtk_menu_shell_append(GTK_MENU_SHELL(menu), menu_item); local 244 GtkWidget* menu_item = menu_shell->active_menu_item; local [all...] |
/external/chromium_org/ppapi/proxy/ |
serialized_flash_menu.cc | 46 void WriteMenuItem(IPC::Message* m, const PP_Flash_MenuItem* menu_item) { 47 PP_Flash_MenuItem_Type type = menu_item->type; 49 m->WriteString(menu_item->name ? menu_item->name : ""); 50 m->WriteInt(menu_item->id); 51 IPC::ParamTraits<PP_Bool>::Write(m, menu_item->enabled); 52 IPC::ParamTraits<PP_Bool>::Write(m, menu_item->checked); 54 WriteMenu(m, menu_item->submenu); 63 void FreeMenuItem(const PP_Flash_MenuItem* menu_item) { 64 if (menu_item->name [all...] |
/external/chromium_org/chrome/browser/ui/webui/ntp/android/ |
context_menu_handler.cc | 96 content::MenuItem menu_item; local 97 menu_item.action = id; 98 if (!item_list_value->GetString(1, &(menu_item.label))) { 106 menu.custom_items.push_back(menu_item);
|
/external/chromium_org/chrome/browser/ui/views/frame/ |
global_menu_bar_x11.cc | 449 DbusmenuMenuitem* menu_item = NULL; local 452 menu_item = BuildSeparator(); 457 menu_item = BuildMenuItem(label, commands[i].tag); 460 menuitem_property_set_bool(menu_item, kPropertyEnabled, false); 463 menuitem_property_set(menu_item, kPropertyToggleType, kTypeCheckmark); 465 id_to_menu_item_.insert(std::make_pair(command_id, menu_item)); 466 g_object_set_data(G_OBJECT(menu_item), "command-id", 468 g_signal_connect(menu_item, "item-activated", 473 menuitem_child_append(top, menu_item); 474 g_object_unref(menu_item); 535 DbusmenuMenuitem* menu_item = BuildMenuItem(UTF16ToUTF8(title), tag); local [all...] |
/prebuilts/python/darwin-x86/2.7.5/lib/python2.7/plat-mac/lib-scriptpackages/StdSuites/ |
Type_Names_Suite.py | 50 class menu_item(aetools.ComponentItem): class in inherits:aetools.ComponentItem 216 menu_item._superclassnames = [] 217 menu_item._privpropdict = { 219 menu_item._privelemdict = { 393 'cmen' : menu_item,
|