Searched refs:BackForwardMenuModel (Results 1 – 9 of 9) sorted by relevance
/external/chromium/chrome/browser/ui/toolbar/ |
D | back_forward_menu_model.cc | 27 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 …]
|
D | back_forward_menu_model_unittest.cc | 61 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 …]
|
D | back_forward_menu_model.h | 31 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/ |
D | back_forward_menu_controller.h | 17 typedef BackForwardMenuModel::ModelType BackForwardMenuType; 19 BackForwardMenuModel::BACKWARD_MENU; 21 BackForwardMenuModel::FORWARD_MENU; 30 scoped_ptr<BackForwardMenuModel> model_;
|
D | back_forward_menu_controller.mm | 33 model_.reset(new BackForwardMenuModel(browser, type_));
|
/external/chromium/chrome/browser/ui/gtk/ |
D | back_forward_button_gtk.cc | 50 menu_model_.reset(new BackForwardMenuModel(browser, is_forward ? in BackForwardButtonGtk() 51 BackForwardMenuModel::FORWARD_MENU : in BackForwardButtonGtk() 52 BackForwardMenuModel::BACKWARD_MENU)); in BackForwardButtonGtk()
|
D | back_forward_button_gtk.h | 15 class BackForwardMenuModel; variable 62 scoped_ptr<BackForwardMenuModel> menu_model_;
|
/external/chromium/chrome/browser/ui/views/ |
D | toolbar_view.h | 183 scoped_ptr<BackForwardMenuModel> back_menu_model_; 184 scoped_ptr<BackForwardMenuModel> forward_menu_model_;
|
D | toolbar_view.cc | 128 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()
|