summaryrefslogtreecommitdiffstats
path: root/chrome/browser/ui/views/sad_tab_view.h
diff options
context:
space:
mode:
authorjam@chromium.org <jam@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2011-12-26 19:06:17 +0000
committerjam@chromium.org <jam@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2011-12-26 19:06:17 +0000
commit768c547ef7c680bcfcf2616bf6e833849aea6db1 (patch)
tree6264e6274a36648ac8b5af51d2d02fc38dff5b2c /chrome/browser/ui/views/sad_tab_view.h
parentc95c0219b5d1ea69f824c9b98d63919cba7ccd10 (diff)
downloadchromium_src-768c547ef7c680bcfcf2616bf6e833849aea6db1.zip
chromium_src-768c547ef7c680bcfcf2616bf6e833849aea6db1.tar.gz
chromium_src-768c547ef7c680bcfcf2616bf6e833849aea6db1.tar.bz2
Move most of the remaining users of WebContentsObserver::tab_contents() to use web_contents().
BUG=98716 TBR=joi Review URL: http://codereview.chromium.org/9030010 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@115800 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'chrome/browser/ui/views/sad_tab_view.h')
-rw-r--r--chrome/browser/ui/views/sad_tab_view.h8
1 files changed, 5 insertions, 3 deletions
diff --git a/chrome/browser/ui/views/sad_tab_view.h b/chrome/browser/ui/views/sad_tab_view.h
index 9eda1ed..a3dcbc4 100644
--- a/chrome/browser/ui/views/sad_tab_view.h
+++ b/chrome/browser/ui/views/sad_tab_view.h
@@ -12,7 +12,9 @@
#include "ui/views/controls/link_listener.h"
#include "ui/views/view.h"
-class TabContents;
+namespace content {
+class WebContents;
+}
namespace gfx {
class Font;
@@ -42,7 +44,7 @@ class SadTabView : public views::View,
KILLED // Tab killed. Display the "He's dead, Jim!" tab page.
};
- SadTabView(TabContents* tab_contents, Kind kind);
+ SadTabView(content::WebContents* web_contents, Kind kind);
virtual ~SadTabView();
// Overridden from views::View:
@@ -66,7 +68,7 @@ class SadTabView : public views::View,
views::Label* CreateLabel(const string16& text);
views::Link* CreateLink(const string16& text);
- TabContents* tab_contents_;
+ content::WebContents* web_contents_;
Kind kind_;
bool painted_;
const gfx::Font& base_font_;