Index: chrome/browser/views/tabs/tab_strip.h |
diff --git a/chrome/browser/views/tabs/tab_strip.h b/chrome/browser/views/tabs/tab_strip.h |
index 6d6ec7a4001e2faa249221bdc23c2440a269a7fc..659d01536e93ef2cef31eaacca9aa763b310ac4b 100644 |
--- a/chrome/browser/views/tabs/tab_strip.h |
+++ b/chrome/browser/views/tabs/tab_strip.h |
@@ -13,6 +13,7 @@ |
#include "views/controls/button/image_button.h" |
#include "views/view.h" |
+class BrowserExtender; |
class DraggedTabController; |
class ScopedMouseCloseWidthCalculator; |
class TabStripModel; |
@@ -55,7 +56,7 @@ class TabStrip : public views::View, |
bool CanProcessInputEvents() const; |
// Accessors for the model and individual Tabs. |
- TabStripModel* model() { return model_; } |
+ TabStripModel* model() const { return model_; } |
// Destroys the active drag controller. |
void DestroyDragController(); |
@@ -66,6 +67,9 @@ class TabStrip : public views::View, |
// Retrieve the ideal bounds for the Tab at the specified index. |
gfx::Rect GetIdealBounds(int index); |
+ // Returns the currently selected tab. |
+ Tab* GetSelectedTab() const; |
+ |
// Create the new tab button. |
void InitTabStripButtons(); |