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

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 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
« no previous file with comments | « chrome/browser/ui/views/tabs/tab_renderer_data.cc ('k') | chrome/browser/ui/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/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..511ab0e116c35c698196622ed17c909e21821be6 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_;
+ const bool instant_extended_api_enabled_;
+
// The "New Tab" button.
NewTabButton* newtab_button_;
« no previous file with comments | « chrome/browser/ui/views/tabs/tab_renderer_data.cc ('k') | chrome/browser/ui/views/tabs/tab_strip.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698