Home
last modified time | relevance | path

Searched refs:WrenchMenuModel (Results 1 – 11 of 11) sorted by relevance

/external/chromium_org/chrome/browser/ui/toolbar/
Dwrench_menu_model.cc190 class WrenchMenuModel::HelpMenuModel : public ui::SimpleMenuModel {
276 WrenchMenuModel::WrenchMenuModel(ui::AcceleratorProvider* provider, in WrenchMenuModel() function in WrenchMenuModel
288 &WrenchMenuModel::OnZoomLevelChanged, base::Unretained(this))); in WrenchMenuModel()
292 base::Bind(&WrenchMenuModel::OnZoomLevelChanged, in WrenchMenuModel()
301 WrenchMenuModel::~WrenchMenuModel() { in ~WrenchMenuModel()
306 bool WrenchMenuModel::DoesCommandIdDismissMenu(int command_id) const { in DoesCommandIdDismissMenu()
310 bool WrenchMenuModel::IsItemForCommandIdDynamic(int command_id) const { in IsItemForCommandIdDynamic()
321 base::string16 WrenchMenuModel::GetLabelForCommandId(int command_id) const { in GetLabelForCommandId()
358 bool WrenchMenuModel::GetIconForCommandId(int command_id, in GetIconForCommandId()
389 void WrenchMenuModel::ExecuteCommand(int command_id, int event_flags) { in ExecuteCommand()
[all …]
Dwrench_menu_model.h76 class WrenchMenuModel : public ui::SimpleMenuModel,
92 WrenchMenuModel(ui::AcceleratorProvider* provider, Browser* browser);
93 virtual ~WrenchMenuModel();
142 WrenchMenuModel();
193 DISALLOW_COPY_AND_ASSIGN(WrenchMenuModel);
Dwrench_menu_model_unittest.cc87 class TestWrenchMenuModel : public WrenchMenuModel {
91 : WrenchMenuModel(provider, browser), in TestWrenchMenuModel()
99 bool val = WrenchMenuModel::IsCommandIdChecked(command_id); in IsCommandIdChecked()
178 WrenchMenuModel model(this, browser()); in TEST_F()
Drecent_tabs_sub_menu_model.cc62 const int kFirstLocalTabCommandId = WrenchMenuModel::kMinRecentTabsCommandId;
/external/chromium_org/chrome/browser/ui/cocoa/wrench_menu/
Dwrench_menu_controller.h19 class WrenchMenuModel; variable
46 scoped_ptr<WrenchMenuModel> wrenchMenuModel_;
76 - (WrenchMenuModel*)wrenchMenuModel;
Dwrench_menu_controller_unittest.mm36 class MockWrenchMenuModel : public WrenchMenuModel {
38 MockWrenchMenuModel() : WrenchMenuModel() {}
41 // ~WrenchMenuModel(), there's a call to TabstripModel::RemoveObserver(this)
Dwrench_menu_controller.mm83 WrenchMenuModel* wrenchMenuModel = [controller_ wrenchMenuModel];
274 - (WrenchMenuModel*)wrenchMenuModel {
276 return static_cast<WrenchMenuModel*>(model_);
290 new WrenchMenuModel(acceleratorDelegate_.get(), browser_));
/external/chromium_org/chrome/browser/ui/views/toolbar/
Dtoolbar_view.h31 class WrenchMenuModel; variable
247 scoped_ptr<WrenchMenuModel> wrench_menu_model_;
Dwrench_menu.cc92 return command_id >= WrenchMenuModel::kMinBookmarkCommandId && in IsBookmarkCommand()
93 command_id <= WrenchMenuModel::kMaxBookmarkCommandId; in IsBookmarkCommand()
98 return command_id >= WrenchMenuModel::kMinRecentTabsCommandId && in IsRecentTabsCommand()
99 command_id <= WrenchMenuModel::kMaxRecentTabsCommandId; in IsRecentTabsCommand()
821 for (int i = WrenchMenuModel:kMinBookmarkCommandId; in Init()
822 i <= WrenchMenuModel::kMaxBookmarkCommandId; ++i) in Init()
1238 WrenchMenuModel::kMinBookmarkCommandId, in CreateBookmarkMenu()
1239 WrenchMenuModel::kMaxBookmarkCommandId)); in CreateBookmarkMenu()
Dtoolbar_view.cc349 wrench_menu_model_.reset(new WrenchMenuModel(this, browser_)); in ShowAppMenu()
/external/chromium_org/chrome/browser/ui/cocoa/
Dbrowser_window_controller.mm1141 // visibility controlled by WrenchMenuModel.
1152 // visibility controlled by WrenchMenuModel.