Searched refs:menu_ (Results 1 - 25 of 40) sorted by relevance

12

/external/chromium/chrome/browser/ui/views/tab_contents/
H A Drender_view_context_menu_views.h24 return (menu_.get() ? menu_->GetNativeMenu() : NULL);
42 scoped_ptr<views::Menu2> menu_; member in class:RenderViewContextMenuViews
H A Drender_view_context_menu_views.cc29 menu_->RunContextMenuAt(gfx::Point(x, y));
39 menu_->UpdateStates();
46 menu_.reset(new views::Menu2(&menu_model_));
/external/chromium/chrome/browser/ui/views/bookmarks/
H A Dbookmark_context_menu.cc30 ALLOW_THIS_IN_INITIALIZER_LIST(menu_(new views::MenuItemView(this))),
47 menu_->RunMenuAt(parent_window_, NULL, gfx::Rect(point.x(), point.y(), 0, 0),
78 menu_->Cancel();
82 menu_->AppendMenuItemWithLabel(
87 menu_->AppendSeparator();
91 menu_->AppendMenuItem(command_id,
H A Dbookmark_context_menu.h40 views::MenuItemView* menu() const { return menu_.get(); }
68 scoped_ptr<views::MenuItemView> menu_; member in class:BookmarkContextMenu
/external/chromium/chrome/browser/ui/views/
H A Dprofile_menu_model.cc19 menu_.reset(new views::Menu2(this));
26 menu_->RunMenuAt(point, views::Menu2::ALIGN_TOPRIGHT);
H A Dprofile_menu_model.h41 scoped_ptr<views::Menu2> menu_; member in class:views::ProfileMenuModel
/external/chromium/chrome/browser/ui/views/infobars/
H A Dextension_infobar.cc40 menu_(NULL),
62 gfx::Size menu_size = menu_->GetPreferredSize();
63 menu_->SetBounds(StartX(), OffsetY(menu_size), menu_size.width(),
67 menu_->bounds().right() + kMenuHorizontalMargin, 0,
74 if (!is_add || (child != this) || (menu_ != NULL)) {
79 menu_ = new views::MenuButton(NULL, std::wstring(), this, false);
80 menu_->SetVisible(false);
81 AddChildView(menu_);
106 return menu_->GetPreferredSize().width() + kMenuHorizontalMargin;
162 menu_
[all...]
/external/chromium/chrome/browser/resources/
H A Dwrench_menu.js26 this.menu_.selectedItem = this;
36 sendActivate(this.menu_.getMenuItemIndexOf(this),
54 this.menu_ = menu;
103 sendActivate(this.menu_.getMenuItemIndexOf(this),
113 this.menu_.selectedItem = this;
125 this.menu_.config_.IDS_EDIT2;
130 this.menu_.addLabelTo(
131 this, this.menu_.config_.IDS_CUT, this.cut_,
133 this.menu_.addHandlers(this, this.cut_);
150 this.menu_
[all...]
H A Dmenu.js57 this.menu_ = menu;
88 this.menu_.selectedItem = this;
99 this.menu_.openSubmenu(this);
102 sendActivate(this.menu_.getMenuItemIndexOf(this),
112 [String(this.menu_.getMenuItemIndexOf(this)),
123 this.menu_.addHandlers(this, this);
127 this.menu_.addLabelTo(this, attrs.label, label,
148 this.style.backgroundImage = 'url(' + this.menu_.config_.arrowUrl + ')';
163 this.menu_.config_.radioOnUrl :
164 this.menu_
[all...]
/external/chromium/chrome/browser/ui/gtk/status_icons/
H A Dstatus_icon_gtk.cc58 menu_.reset();
60 menu_.reset(new MenuGtk(NULL, model));
65 if (menu_.get())
66 menu_->PopupAsContextForStatusIcon(time, button, icon_);
H A Dstatus_icon_gtk.h43 scoped_ptr<MenuGtk> menu_; member in class:StatusIconGtk
/external/chromium/chrome/browser/ui/gtk/bookmarks/
H A Dbookmark_menu_controller_gtk.cc82 menu_ = gtk_menu_new();
83 g_object_ref_sink(menu_);
84 BuildMenu(node, start_child_index, menu_);
85 signals_.Connect(menu_, "hide",
87 gtk_widget_show_all(menu_);
93 gtk_widget_hide(menu_);
94 gtk_widget_destroy(menu_);
95 g_object_unref(menu_);
107 gtk_menu_popup(GTK_MENU(menu_), NULL, NULL,
113 gtk_menu_popdown(GTK_MENU(menu_));
[all...]
H A Dbookmark_menu_controller_gtk.h46 GtkWidget* widget() { return menu_; }
120 GtkWidget* menu_; member in class:BookmarkMenuController
H A Dbookmark_editor_gtk.cc60 menu_.reset(new views::Menu2(menu_model_.get()));
62 menu_.reset(new MenuGtk(NULL, menu_model_.get()));
72 menu_->RunContextMenuAt(point);
74 menu_->PopupAsContext(point, event_time);
81 menu_->CancelMenu();
83 menu_->Cancel();
170 scoped_ptr<views::Menu2> menu_; member in class:BookmarkEditorGtk::ContextMenuController
172 scoped_ptr<MenuGtk> menu_; member in class:BookmarkEditorGtk::ContextMenuController
/external/chromium/chrome/browser/resources/shared/js/cr/ui/
H A Dcontext_menu_handler.js22 menu_: null,
24 return this.menu_;
34 this.menu_ = menu;
65 this.menu_ = null;
H A Dmenu_button.js41 return this.menu_;
49 this.menu_ = menu;
/external/chromium/chrome/browser/ui/views/extensions/
H A Dbrowser_action_overflow_menu_controller.cc30 menu_.reset(new views::MenuItemView(this));
31 menu_->set_has_icons(true);
37 menu_->AppendMenuItemWithIcon(
46 menu_->SetTooltip(tooltip, command_id);
70 menu_->RunMenuForDropAt(window, bounds, anchor);
72 menu_->RunMenuAt(window, menu_button_, bounds, anchor, false);
81 menu_->Cancel();
110 menu_->Cancel();
/external/chromium/chrome/browser/chromeos/login/
H A Dlanguage_switch_menu.cc67 menu_.reset(new views::Menu2(&menu_model_));
79 DCHECK(menu_ != NULL);
80 menu_->SetMinimumWidth(width);
150 DCHECK(menu_ != NULL);
162 menu_->RunMenuAt(new_pt, menu_alignment_);
/external/chromium/chrome/browser/chromeos/status/
H A Dinput_method_menu_button.cc69 menu_(new MenuImpl(this, GetPrefService(host), host->GetScreenMode())) {
96 menu_->RunMenu(unused_source, pt);
140 menu_->PrepareMenu();
H A Dinput_method_menu_button.h49 scoped_ptr<InputMethodMenu> menu_; member in class:chromeos::InputMethodMenuButton
/external/chromium/chrome/browser/ui/cocoa/
H A Dmenu_controller.h27 scoped_nsobject<NSMenu> menu_; member in namespace:NSObject
/external/chromium/chrome/browser/ui/gtk/
H A Dback_forward_button_gtk.h51 scoped_ptr<MenuGtk> menu_; member in class:BackForwardButtonGtk
H A Dback_forward_button_gtk.cc82 menu_.reset(new MenuGtk(this, menu_model_.get()));
84 menu_->PopupForWidget(widget(), button, event_time);
H A Dmenu_gtk.h120 GtkWidget* widget() const { return menu_; }
183 GtkWidget* menu_; member in class:MenuGtk
/external/chromium/webkit/glue/
H A Dwebmenurunner_mac.h25 scoped_nsobject<NSMenu> menu_; variable

Completed in 442 milliseconds

12