BackForwardMenuModel 16 chrome/browser/ui/cocoa/toolbar/back_forward_menu_controller.h typedef BackForwardMenuModel::ModelType BackForwardMenuType; BackForwardMenuModel 18 chrome/browser/ui/cocoa/toolbar/back_forward_menu_controller.h BackForwardMenuModel::BACKWARD_MENU; BackForwardMenuModel 20 chrome/browser/ui/cocoa/toolbar/back_forward_menu_controller.h BackForwardMenuModel::FORWARD_MENU; BackForwardMenuModel 29 chrome/browser/ui/cocoa/toolbar/back_forward_menu_controller.h scoped_ptr<BackForwardMenuModel> model_; BackForwardMenuModel 53 chrome/browser/ui/gtk/back_forward_button_gtk.cc menu_model_.reset(new BackForwardMenuModel(browser, is_forward ? BackForwardMenuModel 54 chrome/browser/ui/gtk/back_forward_button_gtk.cc BackForwardMenuModel::FORWARD_MENU : BackForwardMenuModel 55 chrome/browser/ui/gtk/back_forward_button_gtk.cc BackForwardMenuModel::BACKWARD_MENU)); BackForwardMenuModel 15 chrome/browser/ui/gtk/back_forward_button_gtk.h class BackForwardMenuModel; BackForwardMenuModel 62 chrome/browser/ui/gtk/back_forward_button_gtk.h scoped_ptr<BackForwardMenuModel> menu_model_; BackForwardMenuModel 40 chrome/browser/ui/toolbar/back_forward_menu_model.cc const int BackForwardMenuModel::kMaxHistoryItems = 12; BackForwardMenuModel 41 chrome/browser/ui/toolbar/back_forward_menu_model.cc const int BackForwardMenuModel::kMaxChapterStops = 5; BackForwardMenuModel 44 chrome/browser/ui/toolbar/back_forward_menu_model.cc BackForwardMenuModel::BackForwardMenuModel(Browser* browser, BackForwardMenuModel 52 chrome/browser/ui/toolbar/back_forward_menu_model.cc BackForwardMenuModel::~BackForwardMenuModel() { BackForwardMenuModel 55 chrome/browser/ui/toolbar/back_forward_menu_model.cc bool BackForwardMenuModel::HasIcons() const { BackForwardMenuModel 59 chrome/browser/ui/toolbar/back_forward_menu_model.cc int BackForwardMenuModel::GetItemCount() const { BackForwardMenuModel 80 chrome/browser/ui/toolbar/back_forward_menu_model.cc ui::MenuModel::ItemType BackForwardMenuModel::GetTypeAt(int index) const { BackForwardMenuModel 84 chrome/browser/ui/toolbar/back_forward_menu_model.cc ui::MenuSeparatorType BackForwardMenuModel::GetSeparatorTypeAt( BackForwardMenuModel 89 chrome/browser/ui/toolbar/back_forward_menu_model.cc int BackForwardMenuModel::GetCommandIdAt(int index) const { BackForwardMenuModel 93 chrome/browser/ui/toolbar/back_forward_menu_model.cc base::string16 BackForwardMenuModel::GetLabelAt(int index) const { BackForwardMenuModel 122 chrome/browser/ui/toolbar/back_forward_menu_model.cc bool BackForwardMenuModel::IsItemDynamicAt(int index) const { BackForwardMenuModel 127 chrome/browser/ui/toolbar/back_forward_menu_model.cc bool BackForwardMenuModel::GetAcceleratorAt( BackForwardMenuModel 133 chrome/browser/ui/toolbar/back_forward_menu_model.cc bool BackForwardMenuModel::IsItemCheckedAt(int index) const { BackForwardMenuModel 137 chrome/browser/ui/toolbar/back_forward_menu_model.cc int BackForwardMenuModel::GetGroupIdAt(int index) const { BackForwardMenuModel 141 chrome/browser/ui/toolbar/back_forward_menu_model.cc bool BackForwardMenuModel::GetIconAt(int index, gfx::Image* icon) { BackForwardMenuModel 159 chrome/browser/ui/toolbar/back_forward_menu_model.cc ui::ButtonMenuItemModel* BackForwardMenuModel::GetButtonMenuItemAt( BackForwardMenuModel 164 chrome/browser/ui/toolbar/back_forward_menu_model.cc bool BackForwardMenuModel::IsEnabledAt(int index) const { BackForwardMenuModel 168 chrome/browser/ui/toolbar/back_forward_menu_model.cc ui::MenuModel* BackForwardMenuModel::GetSubmenuModelAt(int index) const { BackForwardMenuModel 172 chrome/browser/ui/toolbar/back_forward_menu_model.cc void BackForwardMenuModel::HighlightChangedTo(int index) { BackForwardMenuModel 175 chrome/browser/ui/toolbar/back_forward_menu_model.cc void BackForwardMenuModel::ActivatedAt(int index) { BackForwardMenuModel 179 chrome/browser/ui/toolbar/back_forward_menu_model.cc void BackForwardMenuModel::ActivatedAt(int index, int event_flags) { BackForwardMenuModel 210 chrome/browser/ui/toolbar/back_forward_menu_model.cc void BackForwardMenuModel::MenuWillShow() { BackForwardMenuModel 216 chrome/browser/ui/toolbar/back_forward_menu_model.cc bool BackForwardMenuModel::IsSeparator(int index) const { BackForwardMenuModel 235 chrome/browser/ui/toolbar/back_forward_menu_model.cc void BackForwardMenuModel::SetMenuModelDelegate( BackForwardMenuModel 240 chrome/browser/ui/toolbar/back_forward_menu_model.cc ui::MenuModelDelegate* BackForwardMenuModel::GetMenuModelDelegate() const { BackForwardMenuModel 244 chrome/browser/ui/toolbar/back_forward_menu_model.cc void BackForwardMenuModel::FetchFavicon(NavigationEntry* entry) { BackForwardMenuModel 261 chrome/browser/ui/toolbar/back_forward_menu_model.cc base::Bind(&BackForwardMenuModel::OnFavIconDataAvailable, BackForwardMenuModel 267 chrome/browser/ui/toolbar/back_forward_menu_model.cc void BackForwardMenuModel::OnFavIconDataAvailable( BackForwardMenuModel 301 chrome/browser/ui/toolbar/back_forward_menu_model.cc int BackForwardMenuModel::GetHistoryItemCount() const { BackForwardMenuModel 321 chrome/browser/ui/toolbar/back_forward_menu_model.cc int BackForwardMenuModel::GetChapterStopCount(int history_items) const { BackForwardMenuModel 346 chrome/browser/ui/toolbar/back_forward_menu_model.cc int BackForwardMenuModel::GetIndexOfNextChapterStop(int start_from, BackForwardMenuModel 393 chrome/browser/ui/toolbar/back_forward_menu_model.cc int BackForwardMenuModel::FindChapterStop(int offset, BackForwardMenuModel 410 chrome/browser/ui/toolbar/back_forward_menu_model.cc bool BackForwardMenuModel::ItemHasCommand(int index) const { BackForwardMenuModel 414 chrome/browser/ui/toolbar/back_forward_menu_model.cc bool BackForwardMenuModel::ItemHasIcon(int index) const { BackForwardMenuModel 418 chrome/browser/ui/toolbar/back_forward_menu_model.cc base::string16 BackForwardMenuModel::GetShowFullHistoryLabel() const { BackForwardMenuModel 422 chrome/browser/ui/toolbar/back_forward_menu_model.cc WebContents* BackForwardMenuModel::GetWebContents() const { BackForwardMenuModel 429 chrome/browser/ui/toolbar/back_forward_menu_model.cc int BackForwardMenuModel::MenuIndexToNavEntryIndex(int index) const { BackForwardMenuModel 459 chrome/browser/ui/toolbar/back_forward_menu_model.cc NavigationEntry* BackForwardMenuModel::GetNavigationEntry(int index) const { BackForwardMenuModel 469 chrome/browser/ui/toolbar/back_forward_menu_model.cc std::string BackForwardMenuModel::BuildActionName( BackForwardMenuModel 41 chrome/browser/ui/toolbar/back_forward_menu_model.h class BackForwardMenuModel : public ui::MenuModel { BackForwardMenuModel 50 chrome/browser/ui/toolbar/back_forward_menu_model.h BackForwardMenuModel(Browser* browser, ModelType model_type); BackForwardMenuModel 51 chrome/browser/ui/toolbar/back_forward_menu_model.h virtual ~BackForwardMenuModel(); BackForwardMenuModel 212 chrome/browser/ui/toolbar/back_forward_menu_model.h DISALLOW_COPY_AND_ASSIGN(BackForwardMenuModel); BackForwardMenuModel 66 chrome/browser/ui/toolbar/back_forward_menu_model_unittest.cc void ValidateModel(BackForwardMenuModel* model, int history_items, BackForwardMenuModel 68 chrome/browser/ui/toolbar/back_forward_menu_model_unittest.cc int h = std::min(BackForwardMenuModel::kMaxHistoryItems, history_items); BackForwardMenuModel 69 chrome/browser/ui/toolbar/back_forward_menu_model_unittest.cc int c = std::min(BackForwardMenuModel::kMaxChapterStops, chapter_stops); BackForwardMenuModel 109 chrome/browser/ui/toolbar/back_forward_menu_model_unittest.cc scoped_ptr<BackForwardMenuModel> back_model(new BackForwardMenuModel( BackForwardMenuModel 110 chrome/browser/ui/toolbar/back_forward_menu_model_unittest.cc NULL, BackForwardMenuModel::BACKWARD_MENU)); BackForwardMenuModel 113 chrome/browser/ui/toolbar/back_forward_menu_model_unittest.cc scoped_ptr<BackForwardMenuModel> forward_model(new BackForwardMenuModel( BackForwardMenuModel 114 chrome/browser/ui/toolbar/back_forward_menu_model_unittest.cc NULL, BackForwardMenuModel::FORWARD_MENU)); BackForwardMenuModel 177 chrome/browser/ui/toolbar/back_forward_menu_model_unittest.cc scoped_ptr<BackForwardMenuModel> back_model(new BackForwardMenuModel( BackForwardMenuModel 178 chrome/browser/ui/toolbar/back_forward_menu_model_unittest.cc NULL, BackForwardMenuModel::BACKWARD_MENU)); BackForwardMenuModel 181 chrome/browser/ui/toolbar/back_forward_menu_model_unittest.cc scoped_ptr<BackForwardMenuModel> forward_model(new BackForwardMenuModel( BackForwardMenuModel 182 chrome/browser/ui/toolbar/back_forward_menu_model_unittest.cc NULL, BackForwardMenuModel::FORWARD_MENU)); BackForwardMenuModel 221 chrome/browser/ui/toolbar/back_forward_menu_model_unittest.cc EXPECT_EQ(BackForwardMenuModel::kMaxHistoryItems + 2 + chapter_stop_offset, BackForwardMenuModel 226 chrome/browser/ui/toolbar/back_forward_menu_model_unittest.cc back_model->GetLabelAt(BackForwardMenuModel::kMaxHistoryItems + 1 + BackForwardMenuModel 231 chrome/browser/ui/toolbar/back_forward_menu_model_unittest.cc BackForwardMenuModel::kMaxHistoryItems + chapter_stop_offset + 2)); BackForwardMenuModel 234 chrome/browser/ui/toolbar/back_forward_menu_model_unittest.cc BackForwardMenuModel::kMaxHistoryItems - 1)); BackForwardMenuModel 236 chrome/browser/ui/toolbar/back_forward_menu_model_unittest.cc BackForwardMenuModel::kMaxHistoryItems)); BackForwardMenuModel 240 chrome/browser/ui/toolbar/back_forward_menu_model_unittest.cc EXPECT_EQ(BackForwardMenuModel::kMaxHistoryItems + 2 + chapter_stop_offset, BackForwardMenuModel 245 chrome/browser/ui/toolbar/back_forward_menu_model_unittest.cc forward_model->GetLabelAt(BackForwardMenuModel::kMaxHistoryItems + 1 + BackForwardMenuModel 250 chrome/browser/ui/toolbar/back_forward_menu_model_unittest.cc BackForwardMenuModel::kMaxHistoryItems + 2 + chapter_stop_offset)); BackForwardMenuModel 253 chrome/browser/ui/toolbar/back_forward_menu_model_unittest.cc BackForwardMenuModel::kMaxHistoryItems - 1)); BackForwardMenuModel 255 chrome/browser/ui/toolbar/back_forward_menu_model_unittest.cc BackForwardMenuModel::kMaxHistoryItems)); BackForwardMenuModel 259 chrome/browser/ui/toolbar/back_forward_menu_model_unittest.cc scoped_ptr<BackForwardMenuModel> back_model(new BackForwardMenuModel( BackForwardMenuModel 260 chrome/browser/ui/toolbar/back_forward_menu_model_unittest.cc NULL, BackForwardMenuModel::BACKWARD_MENU)); BackForwardMenuModel 263 chrome/browser/ui/toolbar/back_forward_menu_model_unittest.cc scoped_ptr<BackForwardMenuModel> forward_model(new BackForwardMenuModel( BackForwardMenuModel 264 chrome/browser/ui/toolbar/back_forward_menu_model_unittest.cc NULL, BackForwardMenuModel::FORWARD_MENU)); BackForwardMenuModel 347 chrome/browser/ui/toolbar/back_forward_menu_model_unittest.cc int index = BackForwardMenuModel::kMaxHistoryItems; BackForwardMenuModel 380 chrome/browser/ui/toolbar/back_forward_menu_model_unittest.cc NavigateToOffset(-BackForwardMenuModel::kMaxHistoryItems); BackForwardMenuModel 381 chrome/browser/ui/toolbar/back_forward_menu_model_unittest.cc ValidateModel(forward_model.get(), BackForwardMenuModel::kMaxHistoryItems, 0); BackForwardMenuModel 385 chrome/browser/ui/toolbar/back_forward_menu_model_unittest.cc BackForwardMenuModel::kMaxHistoryItems - 1, 0); BackForwardMenuModel 390 chrome/browser/ui/toolbar/back_forward_menu_model_unittest.cc BackForwardMenuModel::kMaxHistoryItems, 1); BackForwardMenuModel 396 chrome/browser/ui/toolbar/back_forward_menu_model_unittest.cc index = BackForwardMenuModel::kMaxHistoryItems; BackForwardMenuModel 470 chrome/browser/ui/toolbar/back_forward_menu_model_unittest.cc scoped_ptr<BackForwardMenuModel> back_model(new BackForwardMenuModel( BackForwardMenuModel 471 chrome/browser/ui/toolbar/back_forward_menu_model_unittest.cc NULL, BackForwardMenuModel::BACKWARD_MENU)); BackForwardMenuModel 508 chrome/browser/ui/toolbar/back_forward_menu_model_unittest.cc BackForwardMenuModel back_model( BackForwardMenuModel 509 chrome/browser/ui/toolbar/back_forward_menu_model_unittest.cc browser.get(), BackForwardMenuModel::BACKWARD_MENU); BackForwardMenuModel 198 chrome/browser/ui/views/toolbar/toolbar_view.cc back_ = new BackButton(this, new BackForwardMenuModel( BackForwardMenuModel 199 chrome/browser/ui/views/toolbar/toolbar_view.cc browser_, BackForwardMenuModel::BACKWARD_MENU)); BackForwardMenuModel 208 chrome/browser/ui/views/toolbar/toolbar_view.cc forward_ = new ToolbarButton(this, new BackForwardMenuModel( BackForwardMenuModel 209 chrome/browser/ui/views/toolbar/toolbar_view.cc browser_, BackForwardMenuModel::FORWARD_MENU));