/external/chromium/chrome/browser/ui/tabs/ |
D | tab_menu_model.cc | 19 TabStripModel* tab_strip, in TabMenuModel() 36 AddItemWithStringId(TabStripModel::CommandNewTab, IDS_TAB_CXMENU_NEWTAB); in Build() 38 AddItemWithStringId(TabStripModel::CommandReload, IDS_TAB_CXMENU_RELOAD); in Build() 39 AddItemWithStringId(TabStripModel::CommandDuplicate, in Build() 42 TabStripModel::CommandTogglePinned, in Build() 45 AddItemWithStringId(TabStripModel::CommandCloseTab, in Build() 47 AddItemWithStringId(TabStripModel::CommandCloseOtherTabs, in Build() 49 AddItemWithStringId(TabStripModel::CommandCloseTabsToRight, in Build() 52 AddItemWithStringId(TabStripModel::CommandRestoreTab, IDS_RESTORE_TAB); in Build() 53 AddItemWithStringId(TabStripModel::CommandBookmarkAllTabs, in Build() [all …]
|
D | tab_menu_model.h | 11 class TabStripModel; variable 21 TabStripModel* tab_strip, 31 void Build(TabStripModel* tab_strip, int index);
|
/external/chromium/chrome/browser/tabs/ |
D | tab_strip_model_unittest.cc | 193 std::string GetPinnedState(const TabStripModel& model) { in GetPinnedState() 212 const TabStripModel& model, in GetIndicesClosedByCommandAsString() 214 TabStripModel::ContextMenuCommand id) const { in GetIndicesClosedByCommandAsString() 225 void PrepareTabstripForSelectionTest(TabStripModel* model, in PrepareTabstripForSelectionTest() 357 virtual void TabClosingAt(TabStripModel* tab_strip_model, in TabClosingAt() 369 virtual void TabReplacedAt(TabStripModel* tab_strip_model, in TabReplacedAt() 401 TabStripModel tabstrip(&delegate, profile()); in TEST_F() 434 tabstrip.InsertTabContentsAt(1, contents2, TabStripModel::ADD_ACTIVE); in TEST_F() 450 tabstrip.InsertTabContentsAt(2, contents3, TabStripModel::ADD_NONE); in TEST_F() 498 EXPECT_FALSE(tabstrip.CloseTabContentsAt(2, TabStripModel::CLOSE_NONE)); in TEST_F() [all …]
|
D | tab_strip_model.cc | 62 TabStripModel::TabStripModel(TabStripModelDelegate* delegate, Profile* profile) in TabStripModel() function in TabStripModel 77 TabStripModel::~TabStripModel() { in ~TabStripModel() 84 void TabStripModel::AddObserver(TabStripModelObserver* observer) { in AddObserver() 88 void TabStripModel::RemoveObserver(TabStripModelObserver* observer) { in RemoveObserver() 92 void TabStripModel::SetInsertionPolicy(InsertionPolicy policy) { in SetInsertionPolicy() 96 TabStripModel::InsertionPolicy TabStripModel::insertion_policy() const { in insertion_policy() 100 bool TabStripModel::HasObserver(TabStripModelObserver* observer) { in HasObserver() 104 bool TabStripModel::ContainsIndex(int index) const { in ContainsIndex() 108 void TabStripModel::AppendTabContents(TabContentsWrapper* contents, in AppendTabContents() 116 void TabStripModel::InsertTabContentsAt(int index, in InsertTabContentsAt() [all …]
|
D | tab_strip_model_order_controller.cc | 13 TabStripModel* tabstrip) in TabStripModelOrderController() 15 insertion_policy_(TabStripModel::INSERT_AFTER) { in TabStripModelOrderController() 34 int delta = (insertion_policy_ == TabStripModel::INSERT_AFTER) ? 1 : 0; in DetermineInsertionIndex() 45 if (insertion_policy_ == TabStripModel::INSERT_AFTER) { in DetermineInsertionIndex() 52 if (index != TabStripModel::kNoTab) in DetermineInsertionIndex() 62 return (insertion_policy_ == TabStripModel::INSERT_AFTER) ? in DetermineInsertionIndexForAppending() 82 if (index != TabStripModel::kNoTab) in DetermineNewSelectedIndex() 90 if (index != TabStripModel::kNoTab) in DetermineNewSelectedIndex() 97 if (index != TabStripModel::kNoTab) in DetermineNewSelectedIndex() 120 if (index != TabStripModel::kNoTab) { in TabSelectedAt()
|
D | tab_strip_model_order_controller.h | 22 explicit TabStripModelOrderController(TabStripModel* tabstrip); 26 void set_insertion_policy(TabStripModel::InsertionPolicy policy) { in set_insertion_policy() 29 TabStripModel::InsertionPolicy insertion_policy() const { in insertion_policy() 57 TabStripModel* tabstrip_; 59 TabStripModel::InsertionPolicy insertion_policy_;
|
D | default_tab_handler.h | 25 virtual TabStripModel* GetTabStripModel() const; 62 virtual void TabClosingAt(TabStripModel* tab_strip_model, 74 virtual void TabReplacedAt(TabStripModel* tab_strip_model, 84 scoped_ptr<TabStripModel> model_;
|
D | tab_strip_model_observer.h | 10 class TabStripModel; variable 50 virtual void TabClosingAt(TabStripModel* tab_strip_model, 100 virtual void TabReplacedAt(TabStripModel* tab_strip_model,
|
D | tab_handler.h | 11 class TabStripModel; variable 34 virtual TabStripModel* GetTabStripModel() const = 0;
|
D | default_tab_handler.cc | 16 model_(new TabStripModel(this, delegate->GetProfile()))) { in DefaultTabHandler() 30 TabStripModel* DefaultTabHandler::GetTabStripModel() const { in GetTabStripModel() 143 void DefaultTabHandler::TabClosingAt(TabStripModel* tab_strip_model, in TabClosingAt() 173 void DefaultTabHandler::TabReplacedAt(TabStripModel* tab_strip_model, in TabReplacedAt()
|
D | tab_strip_model.h | 61 class TabStripModel : public NotificationObserver { 117 TabStripModel(TabStripModelDelegate* delegate, Profile* profile); 118 virtual ~TabStripModel(); 634 DISALLOW_IMPLICIT_CONSTRUCTORS(TabStripModel);
|
D | tab_strip_model_observer.cc | 12 void TabStripModelObserver::TabClosingAt(TabStripModel* tab_strip_model, in TabClosingAt() 40 void TabStripModelObserver::TabReplacedAt(TabStripModel* tab_strip_model, in TabReplacedAt()
|
D | pinned_tab_codec.cc | 30 TabStripModel* tab_model = browser->tabstrip_model(); in HasPinnedTabs() 40 static void EncodePinnedTab(TabStripModel* model, in EncodePinnedTab() 69 TabStripModel* tab_model = browser->tabstrip_model(); in EncodePinnedTabs()
|
/external/chromium/chrome/browser/ui/views/tabs/ |
D | browser_tab_strip_controller.cc | 45 last_command_(TabStripModel::CommandFirst) { in TabContextMenuContents() 66 static_cast<TabStripModel::ContextMenuCommand>(command_id), in IsCommandIdChecked() 71 static_cast<TabStripModel::ContextMenuCommand>(command_id), in IsCommandIdEnabled() 78 return TabStripModel::ContextMenuCommandToBrowserCommand(command_id, in GetAcceleratorForCommandId() 86 last_command_ = static_cast<TabStripModel::ContextMenuCommand>(command_id); in CommandIdHighlighted() 95 static_cast<TabStripModel::ContextMenuCommand>(command_id), in ExecuteCommand() 120 TabStripModel::ContextMenuCommand last_command_; 129 TabStripModel* model) in BrowserTabStripController() 159 TabStripModel::ContextMenuCommand command_id, in IsCommandEnabledForTab() 167 TabStripModel::ContextMenuCommand command_id, in IsCommandCheckedForTab() [all …]
|
D | browser_tab_strip_controller.h | 27 BrowserTabStripController(Browser* browser, TabStripModel* model); 32 TabStripModel* model() const { return model_; } in model() 34 bool IsCommandEnabledForTab(TabStripModel::ContextMenuCommand command_id, 36 bool IsCommandCheckedForTab(TabStripModel::ContextMenuCommand command_id, 38 void ExecuteCommandForTab(TabStripModel::ContextMenuCommand command_id, 81 virtual void TabReplacedAt(TabStripModel* tab_strip_model, 109 TabStripModel::ContextMenuCommand command_id, 112 TabStripModel::ContextMenuCommand command_id, 117 TabStripModel* model_;
|
D | tab_strip_factory.h | 11 class TabStripModel; variable 20 TabStripModel* model,
|
/external/chromium/chrome/browser/ui/cocoa/tabs/ |
D | tab_strip_model_observer_bridge.h | 14 class TabStripModel; variable 23 TabStripModelObserverBridge(TabStripModel* model, id controller); 30 virtual void TabClosingAt(TabStripModel* tab_strip_model, 43 virtual void TabReplacedAt(TabStripModel* tab_strip_model, 53 TabStripModel* model_; // weak, owned by Browser
|
D | tab_controller_target.h | 19 - (void)commandDispatch:(TabStripModel::ContextMenuCommand)command 23 - (BOOL)isCommandEnabled:(TabStripModel::ContextMenuCommand)command
|
/external/chromium/chrome/browser/ui/gtk/tabs/ |
D | tab_strip_gtk.h | 38 TabStripGtk(TabStripModel* model, BrowserWindowGtk* window); 48 TabStripModel* model() const { return model_; } in model() 118 virtual void TabReplacedAt(TabStripModel* tab_strip_model, 133 TabStripModel::ContextMenuCommand command_id, const TabGtk* tab) const; 135 TabStripModel::ContextMenuCommand command_id, TabGtk* tab); 137 TabStripModel::ContextMenuCommand command_id, TabGtk* tab); 139 TabStripModel::ContextMenuCommand command_id, TabGtk* tab); 435 TabStripModel* model_;
|
D | tab_gtk.h | 48 TabStripModel::ContextMenuCommand command_id, 53 TabStripModel::ContextMenuCommand command_id, TabGtk* tab) = 0; 58 TabStripModel::ContextMenuCommand command_id, TabGtk* tab) = 0; 60 TabStripModel::ContextMenuCommand command_id, TabGtk* tab) = 0;
|
D | dragged_tab_controller_gtk.cc | 267 TabStripModel* attached_model = attached_tabstrip_->model(); in MoveTab() 396 TabStripModel::ADD_ACTIVE | in Attach() 397 (pinned_ ? TabStripModel::ADD_PINNED : 0)); in Attach() 410 TabStripModel* attached_model = attached_tabstrip_->model(); in Detach() 552 if (index == TabStripModel::kNoTab) in NormalizeIndexToAttachedTabStrip() 560 return index == TabStripModel::kNoTab ? NULL : tabstrip->GetTabAt(index); in GetTabMatchingDraggedContents() 627 TabStripModel::ADD_ACTIVE | in RevertDrag() 628 (pinned_ ? TabStripModel::ADD_PINNED : 0)); in RevertDrag() 644 TabStripModel::ADD_ACTIVE | in RevertDrag() 645 (pinned_ ? TabStripModel::ADD_PINNED : 0)); in RevertDrag() [all …]
|
/external/chromium/chrome/browser/ui/cocoa/ |
D | tabpose_window.h | 34 class TabStripModel; variable 61 TabStripModel* tabStripModel_; // weak 95 tabStripModel:(TabStripModel*)tabStripModel;
|
/external/chromium/chrome/browser/extensions/ |
D | extension_tabs_module.cc | 66 TabStripModel** tab_strip, 102 TabStripModel* tab_strip = NULL; in CreateTabValue() 113 TabStripModel* tab_strip = browser->tabstrip_model(); in CreateTabList() 123 const TabContents* contents, TabStripModel* tab_strip, int tab_index) { in CreateTabValue() 181 TabStripModel** tab_strip_model, in GetTabStripModel() 189 TabStripModel* tab_strip = (*it)->tabstrip_model(); in GetTabStripModel() 221 TabStripModel** tab_strip, in GetTabById() 232 TabStripModel* target_tab_strip = target_browser->tabstrip_model(); in GetTabById() 382 TabStripModel* source_tab_strip = NULL; in RunImpl() 495 TabStripModel* target_tab_strip = new_window->tabstrip_model(); in RunImpl() [all …]
|
D | extension_tabs_module.h | 23 class TabStripModel; variable 33 TabStripModel* tab_strip, 39 TabStripModel** tab_strip_model, 47 TabStripModel** tab_strip,
|
/external/chromium/chrome/browser/ui/toolbar/ |
D | wrench_menu_model.h | 18 class TabStripModel; variable 103 virtual void TabReplacedAt(TabStripModel* tab_strip_model, 147 TabStripModel* tabstrip_model_; // weak
|