Index: chrome/browser/ui/views/tabs/tab_controller.h |
diff --git a/chrome/browser/ui/views/tabs/tab_controller.h b/chrome/browser/ui/views/tabs/tab_controller.h |
index ea5085b3412094ece64dd2a6d0a78a593ee6647f..5e26ecf27c9bebda0e5558027e219f0fe2e160a9 100644 |
--- a/chrome/browser/ui/views/tabs/tab_controller.h |
+++ b/chrome/browser/ui/views/tabs/tab_controller.h |
@@ -29,6 +29,10 @@ class TabController { |
// Returns true if multiple selection is supported. |
virtual bool SupportsMultipleSelection() = 0; |
+ // Returns true if we should force the close button of the inactive tab |
+ // |tab| to be hidden. |
+ virtual bool ShouldHideCloseButtonForInactiveTab(const Tab* tab) = 0; |
+ |
// Selects the tab. |
virtual void SelectTab(Tab* tab) = 0; |