Home
last modified time | relevance | path

Searched refs:BackForwardMenuModel (Results 1 – 9 of 9) sorted by relevance

/external/chromium/chrome/browser/ui/toolbar/
Dback_forward_menu_model.cc27 const int BackForwardMenuModel::kMaxHistoryItems = 12;
28 const int BackForwardMenuModel::kMaxChapterStops = 5;
31 BackForwardMenuModel::BackForwardMenuModel(Browser* browser, in BackForwardMenuModel() function in BackForwardMenuModel
39 BackForwardMenuModel::~BackForwardMenuModel() { in ~BackForwardMenuModel()
42 bool BackForwardMenuModel::HasIcons() const { in HasIcons()
46 int BackForwardMenuModel::GetItemCount() const { in GetItemCount()
67 ui::MenuModel::ItemType BackForwardMenuModel::GetTypeAt(int index) const { in GetTypeAt()
71 int BackForwardMenuModel::GetCommandIdAt(int index) const { in GetCommandIdAt()
75 string16 BackForwardMenuModel::GetLabelAt(int index) const { in GetLabelAt()
102 bool BackForwardMenuModel::IsItemDynamicAt(int index) const { in IsItemDynamicAt()
[all …]
Dback_forward_menu_model_unittest.cc61 void ValidateModel(BackForwardMenuModel* model, int history_items, in ValidateModel()
63 int h = std::min(BackForwardMenuModel::kMaxHistoryItems, history_items); in ValidateModel()
64 int c = std::min(BackForwardMenuModel::kMaxChapterStops, chapter_stops); in ValidateModel()
106 scoped_ptr<BackForwardMenuModel> back_model(new BackForwardMenuModel( in TEST_F()
107 NULL, BackForwardMenuModel::BACKWARD_MENU)); in TEST_F()
110 scoped_ptr<BackForwardMenuModel> forward_model(new BackForwardMenuModel( in TEST_F()
111 NULL, BackForwardMenuModel::FORWARD_MENU)); in TEST_F()
174 scoped_ptr<BackForwardMenuModel> back_model(new BackForwardMenuModel( in TEST_F()
175 NULL, BackForwardMenuModel::BACKWARD_MENU)); in TEST_F()
178 scoped_ptr<BackForwardMenuModel> forward_model(new BackForwardMenuModel( in TEST_F()
[all …]
Dback_forward_menu_model.h31 class BackForwardMenuModel : public ui::MenuModel {
40 BackForwardMenuModel(Browser* browser, ModelType model_type);
41 virtual ~BackForwardMenuModel();
196 DISALLOW_COPY_AND_ASSIGN(BackForwardMenuModel);
/external/chromium/chrome/browser/ui/cocoa/toolbar/
Dback_forward_menu_controller.h17 typedef BackForwardMenuModel::ModelType BackForwardMenuType;
19 BackForwardMenuModel::BACKWARD_MENU;
21 BackForwardMenuModel::FORWARD_MENU;
30 scoped_ptr<BackForwardMenuModel> model_;
Dback_forward_menu_controller.mm33 model_.reset(new BackForwardMenuModel(browser, type_));
/external/chromium/chrome/browser/ui/gtk/
Dback_forward_button_gtk.cc50 menu_model_.reset(new BackForwardMenuModel(browser, is_forward ? in BackForwardButtonGtk()
51 BackForwardMenuModel::FORWARD_MENU : in BackForwardButtonGtk()
52 BackForwardMenuModel::BACKWARD_MENU)); in BackForwardButtonGtk()
Dback_forward_button_gtk.h15 class BackForwardMenuModel; variable
62 scoped_ptr<BackForwardMenuModel> menu_model_;
/external/chromium/chrome/browser/ui/views/
Dtoolbar_view.h183 scoped_ptr<BackForwardMenuModel> back_menu_model_;
184 scoped_ptr<BackForwardMenuModel> forward_menu_model_;
Dtoolbar_view.cc128 back_menu_model_.reset(new BackForwardMenuModel( in Init()
129 browser_, BackForwardMenuModel::BACKWARD_MENU)); in Init()
130 forward_menu_model_.reset(new BackForwardMenuModel( in Init()
131 browser_, BackForwardMenuModel::FORWARD_MENU)); in Init()