/external/chromium_org/chrome/browser/status_icons/ |
status_icon_menu_model_unittest.cc | 35 StatusIconMenuModel* menu_model() { function in class:StatusIconMenuModelTest 49 menu_model()->AddItem(0, ASCIIToUTF16("foo")); 51 menu_model()->SetCommandIdChecked(0, true); 52 EXPECT_TRUE(menu_model()->IsCommandIdChecked(0)); 53 menu_model()->SetCommandIdChecked(0, false); 54 EXPECT_FALSE(menu_model()->IsCommandIdChecked(0)); 56 menu_model()->SetCommandIdEnabled(0, true); 57 EXPECT_TRUE(menu_model()->IsCommandIdEnabled(0)); 58 menu_model()->SetCommandIdEnabled(0, false); 59 EXPECT_FALSE(menu_model()->IsCommandIdEnabled(0)) [all...] |
/external/chromium_org/chrome/browser/ui/ash/multi_user/ |
multi_user_context_menu.cc | 7 #include "ui/base/models/menu_model.h" 10 scoped_ptr<ui::MenuModel> menu_model; local 11 return menu_model.Pass();
|
/external/chromium_org/chrome/browser/ui/gtk/download/ |
download_shelf_context_menu_gtk.cc | 24 ui::SimpleMenuModel* menu_model = GetMenuModel(); local 26 DCHECK(menu_model); 28 menu_.reset(new MenuGtk(this, menu_model));
|
/external/chromium_org/chrome/browser/ui/views/download/ |
download_shelf_context_menu_view.cc | 27 ui::MenuModel* menu_model = GetMenuModel(); local 29 DCHECK(menu_model); 31 menu_runner_.reset(new views::MenuRunner(menu_model));
|
/external/chromium_org/chrome/browser/ui/views/bookmarks/ |
bookmark_context_menu.cc | 53 ui::SimpleMenuModel* menu_model = controller_->menu_model(); local 54 for (int i = 0; i < menu_model->GetItemCount(); ++i) { 56 menu_model, i, menu_, menu_model->GetCommandIdAt(i));
|
/external/chromium_org/ui/app_list/ |
app_list_menu.h | 30 ui::SimpleMenuModel* menu_model() { return &menu_model_; } function in class:app_list::AppListMenu
|
/external/chromium_org/ui/app_list/views/ |
app_list_menu_views.cc | 24 menu_delegate_.reset(new views::MenuModelAdapter(menu_model()));
|
search_result_view.cc | 343 ui::MenuModel* menu_model = result_->GetContextMenuModel(); 344 if (!menu_model) 347 context_menu_runner_.reset(new views::MenuRunner(menu_model));
|
/external/chromium_org/chrome/browser/extensions/ |
context_menu_matcher.h | 31 ui::SimpleMenuModel* menu_model, 72 ui::SimpleMenuModel* menu_model,
|
context_menu_matcher.cc | 24 ui::SimpleMenuModel* menu_model, 26 : profile_(profile), menu_model_(menu_model), delegate_(delegate), 193 ui::SimpleMenuModel* menu_model, 207 menu_model->AddSeparator(ui::NORMAL_SEPARATOR); 221 menu_model->AddItem(menu_id, title); 225 menu_model->AddSubMenu(menu_id, title, submenu); 230 menu_model->AddCheckItem(menu_id, title); 237 menu_model->AddSeparator(ui::NORMAL_SEPARATOR); 240 menu_model->AddRadioItem(menu_id, title, radio_group_id); 242 menu_model->AddSeparator(ui::NORMAL_SEPARATOR) [all...] |
/external/chromium_org/chrome/browser/ui/views/frame/ |
system_menu_model_builder.h | 32 ui::MenuModel* menu_model() { return menu_model_.get(); } function in class:SystemMenuModelBuilder
|
/external/chromium_org/chrome/browser/ui/views/toolbar/ |
reload_button.cc | 213 ui::SimpleMenuModel* menu_model = new ui::SimpleMenuModel(this); local 215 menu_model->AddItemWithStringId(kReloadMenuItems[i], kReloadMenuItems[i]); 217 return menu_model;
|
/external/chromium/chrome/browser/bookmarks/ |
bookmark_context_menu_controller.h | 57 ui::SimpleMenuModel* menu_model() const { return menu_model_.get(); } function in class:BookmarkContextMenuController
|
/external/chromium_org/chrome/browser/ui/bookmarks/ |
bookmark_context_menu_controller.h | 62 ui::SimpleMenuModel* menu_model() { return menu_model_.get(); } function in class:BookmarkContextMenuController
|
/external/chromium_org/chrome/browser/ui/gtk/ |
content_setting_bubble_gtk.h | 55 scoped_ptr<ui::SimpleMenuModel> menu_model; member in struct:ContentSettingBubbleGtk::MediaMenuGtk
|
/external/chromium_org/chrome/browser/ui/views/ |
content_setting_bubble_contents.h | 84 ui::SimpleMenuModel* menu_model);
|
content_setting_bubble_contents.cc | 124 scoped_ptr<ui::SimpleMenuModel> menu_model; member in struct:ContentSettingBubbleContents::MediaMenuParts 295 menu_view->menu_model.reset(new ContentSettingMediaMenuModel( 302 if (!menu_view->menu_model->GetItemCount()) { 318 menu_button, menu_view->menu_model.get())); 435 menu_runner_.reset(new views::MenuRunner(j->second->menu_model.get())); 450 ui::SimpleMenuModel* menu_model) { 454 for (int i = 0; i < menu_model->GetItemCount(); ++i) { 455 button->SetText(menu_model->GetLabelAt(i));
|
/external/chromium_org/ui/views/controls/menu/ |
menu_model_adapter.h | 25 explicit MenuModelAdapter(ui::MenuModel* menu_model);
|
menu_runner.h | 85 explicit MenuRunner(ui::MenuModel* menu_model);
|
menu_model_adapter.cc | 9 #include "ui/base/models/menu_model.h" 16 MenuModelAdapter::MenuModelAdapter(ui::MenuModel* menu_model) 17 : menu_model_(menu_model), 20 DCHECK(menu_model);
|
/external/chromium_org/chrome_frame/ |
chrome_frame_plugin.h | 121 virtual void OnHandleContextMenu(const ContextMenuModel& menu_model, 129 HMENU menu = BuildContextMenu(menu_model);
|
/external/chromium/chrome/browser/tab_contents/ |
render_view_context_menu.h | 110 ui::SimpleMenuModel* menu_model,
|
render_view_context_menu.cc | 109 ui::SimpleMenuModel* menu_model) { 127 menu_model->AddItem( 132 menu_model->AddCheckItem( 141 menu_model->AddSeparator(); 147 menu_model->AddSubMenu( 347 ui::SimpleMenuModel* menu_model, 361 menu_model->AddSeparator(); 376 menu_model->AddItem(menu_id, title); 380 menu_model->AddSubMenu(menu_id, title, submenu); 385 menu_model->AddCheckItem(menu_id, title) [all...] |
/external/chromium_org/chrome/browser/ui/views/infobars/ |
infobar_view.h | 101 void RunMenuAt(ui::MenuModel* menu_model,
|
/external/chromium_org/ui/message_center/views/ |
message_view.cc | 151 MenuModel menu_model(controller_, notifier_id_, display_source_); 152 if (menu_model.GetItemCount() == 0) 155 views::MenuRunner menu_runner(&menu_model);
|