summaryrefslogtreecommitdiffstats
path: root/chrome/browser/tabs/tab_strip_model.h
diff options
context:
space:
mode:
Diffstat (limited to 'chrome/browser/tabs/tab_strip_model.h')
-rw-r--r--chrome/browser/tabs/tab_strip_model.h8
1 files changed, 5 insertions, 3 deletions
diff --git a/chrome/browser/tabs/tab_strip_model.h b/chrome/browser/tabs/tab_strip_model.h
index a4c3641..427fb6e 100644
--- a/chrome/browser/tabs/tab_strip_model.h
+++ b/chrome/browser/tabs/tab_strip_model.h
@@ -559,9 +559,11 @@ class TabStripModel : public NotificationObserver {
void ExecuteContextMenuCommand(int context_index,
ContextMenuCommand command_id);
- // Returns a vector of indices of TabContentses opened from the TabContents
- // at the specified |index|.
- std::vector<int> GetIndexesOpenedBy(int index) const;
+ // Returns a vector of indices of the tabs that will close when executing the
+ // command |id| for the tab at |index|. The returned indices are sorted in
+ // descending order.
+ std::vector<int> GetIndicesClosedByCommand(int index,
+ ContextMenuCommand id) const;
// Overridden from notificationObserver:
virtual void Observe(NotificationType type,