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 0e2583f79414188b872fd28f53fe6b980033f72a..e3e4e549d9045efd825a18297b90641d3791516f 100644 |
--- a/chrome/browser/ui/views/tabs/tab_controller.h |
+++ b/chrome/browser/ui/views/tabs/tab_controller.h |
@@ -78,6 +78,11 @@ class TabController { |
// when already active/foreground). |
virtual void ClickActiveTab(const BaseTab* tab) const = 0; |
+ // Returns true if |tab| needs to be painted. If false is returned the tab is |
+ // not painted. If true is returned the tab should be painted and |clip| is |
+ // set to the clip (if |clip| is empty means no clip). |
+ virtual bool ShouldPaintTab(const BaseTab* tab, gfx::Rect* clip) = 0; |
+ |
protected: |
virtual ~TabController() {} |
}; |