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

Unified Diff: chrome/browser/ui/views/sad_tab_view.h

Issue 9030010: Move most of the remaining users of WebContentsObserver::tab_contents() to use web_contents(). (Closed) Base URL: svn://chrome-svn/chrome/trunk/src/
Patch Set: '' Created 9 years 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/sad_tab_view.h
===================================================================
--- chrome/browser/ui/views/sad_tab_view.h (revision 115777)
+++ chrome/browser/ui/views/sad_tab_view.h (working copy)
@@ -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 @@
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 @@
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_;
« no previous file with comments | « chrome/browser/ui/views/find_bar_host_interactive_uitest.cc ('k') | chrome/browser/ui/views/sad_tab_view.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698