summaryrefslogtreecommitdiffstats
path: root/chrome/browser/views/sad_tab_view.h
diff options
context:
space:
mode:
Diffstat (limited to 'chrome/browser/views/sad_tab_view.h')
-rw-r--r--chrome/browser/views/sad_tab_view.h4
1 files changed, 3 insertions, 1 deletions
diff --git a/chrome/browser/views/sad_tab_view.h b/chrome/browser/views/sad_tab_view.h
index fe1c7aa..5b28705 100644
--- a/chrome/browser/views/sad_tab_view.h
+++ b/chrome/browser/views/sad_tab_view.h
@@ -11,6 +11,7 @@
#include "views/view.h"
class SkBitmap;
+class TabContents;
///////////////////////////////////////////////////////////////////////////////
//
@@ -23,7 +24,7 @@ class SkBitmap;
class SadTabView : public views::View,
public views::LinkController {
public:
- SadTabView();
+ explicit SadTabView(TabContents* tab_contents);
virtual ~SadTabView() {}
// Overridden from views::View:
@@ -44,6 +45,7 @@ class SadTabView : public views::View,
static std::wstring message_;
static int title_width_;
+ TabContents* tab_contents_;
views::Link* learn_more_link_;
// Regions within the display for different components, populated by