diff options
author | mirandac@chromium.org <mirandac@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2009-07-01 21:17:43 +0000 |
---|---|---|
committer | mirandac@chromium.org <mirandac@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2009-07-01 21:17:43 +0000 |
commit | 7396b1a1f2971daed217bb2f53dd4ed9e51f75c4 (patch) | |
tree | b4845dbd60d310c129200ab980847dcaf4a880b8 /chrome/browser/views/tabs/tab_strip.h | |
parent | 0d3558373b8f6c31d3a5c735310b27f4ad661490 (diff) | |
download | chromium_src-7396b1a1f2971daed217bb2f53dd4ed9e51f75c4.zip chromium_src-7396b1a1f2971daed217bb2f53dd4ed9e51f75c4.tar.gz chromium_src-7396b1a1f2971daed217bb2f53dd4ed9e51f75c4.tar.bz2 |
Reverting 19758.
Review URL: http://codereview.chromium.org/150180
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@19763 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'chrome/browser/views/tabs/tab_strip.h')
-rw-r--r-- | chrome/browser/views/tabs/tab_strip.h | 8 |
1 files changed, 1 insertions, 7 deletions
diff --git a/chrome/browser/views/tabs/tab_strip.h b/chrome/browser/views/tabs/tab_strip.h index 7ad8c4a..71f0301 100644 --- a/chrome/browser/views/tabs/tab_strip.h +++ b/chrome/browser/views/tabs/tab_strip.h @@ -89,9 +89,6 @@ class TabStrip : public views::View, // Set the background offset used by inactive tabs to match the frame image. void SetBackgroundOffset(gfx::Point offset); - // Create the new tab button. - void InitTabStripButtons(); - // views::View overrides: virtual void PaintChildren(gfx::Canvas* canvas); virtual views::View* GetViewByID(int id) const; @@ -107,7 +104,6 @@ class TabStrip : public views::View, virtual bool GetAccessibleName(std::wstring* name); virtual void SetAccessibleName(const std::wstring& name); virtual views::View* GetViewForPoint(const gfx::Point& point); - virtual void ThemeChanged(); protected: // TabStripModelObserver implementation: @@ -170,9 +166,6 @@ class TabStrip : public views::View, TabStrip(); void Init(); - // Set the images for the new tab button. - void LoadNewTabButtonImage(); - // Retrieves the Tab at the specified index. Take care in using this, you may // need to use GetTabAtAdjustForAnimation. Tab* GetTabAt(int index) const; @@ -310,6 +303,7 @@ class TabStrip : public views::View, // The "New Tab" button. views::ImageButton* newtab_button_; gfx::Size newtab_button_size_; + gfx::Size actual_newtab_button_size_; // The current widths of various types of tabs. We save these so that, as // users close tabs while we're holding them at the same size, we can lay out |