Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(1928)

Unified Diff: chrome/browser/views/tabs/tab_strip.h

Issue 341008: CompactLocationBar (Closed)
Patch Set: comment updated Created 11 years, 2 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « chrome/browser/views/tabs/tab.cc ('k') | chrome/browser/views/tabs/tab_strip.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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();
« no previous file with comments | « chrome/browser/views/tabs/tab.cc ('k') | chrome/browser/views/tabs/tab_strip.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698