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

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

Issue 10662032: alternate ntp (cros/partial-win): add tab-related stuff and toolbar/tab background change (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: addressed scott's comments, fixed bookmark background and moved frame code, fixed unittests build b… Created 8 years, 6 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
Index: chrome/browser/ui/views/tabs/tab_strip.h
diff --git a/chrome/browser/ui/views/tabs/tab_strip.h b/chrome/browser/ui/views/tabs/tab_strip.h
index c3f2318dc9527e7d8007131e3ab495961a4f3700..f7358c2423b662eca241dca9ce7382a0e1156ff5 100644
--- a/chrome/browser/ui/views/tabs/tab_strip.h
+++ b/chrome/browser/ui/views/tabs/tab_strip.h
@@ -54,7 +54,8 @@ class TabStrip : public views::View,
public:
static const char kViewClassName[];
- explicit TabStrip(TabStripController* controller);
+ TabStrip(TabStripController* controller,
+ bool instant_extended_api_enabled);
virtual ~TabStrip();
// Sets the layout type. If |adjust_layout| is true the layout type changes
@@ -186,6 +187,7 @@ class TabStrip : public views::View,
virtual void OnMouseEventInTab(views::View* source,
const views::MouseEvent& event) OVERRIDE;
virtual bool ShouldPaintTab(const BaseTab* tab, gfx::Rect* clip) OVERRIDE;
+ virtual bool IsInstantExtendedAPIEnabled() OVERRIDE;
// MouseWatcherListener overrides:
virtual void MouseMovedOutOfHost() OVERRIDE;
@@ -474,6 +476,8 @@ class TabStrip : public views::View,
scoped_ptr<TabStripController> controller_;
+ bool instant_extended_api_enabled_;
sky 2012/06/27 04:18:36 const
kuan 2012/06/27 10:29:52 Done.
+
// The "New Tab" button.
NewTabButton* newtab_button_;

Powered by Google App Engine
This is Rietveld 408576698