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

Unified Diff: chrome/browser/ui/gtk/browser_titlebar.h

Issue 9015022: Replace most of Browser::GetSelectedTabContents calls into Browser::GetSelectedWebContents. I've ... (Closed) Base URL: svn://chrome-svn/chrome/trunk/src/
Patch Set: '' Created 8 years, 12 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/gtk/bookmarks/bookmark_bar_gtk.cc ('k') | chrome/browser/ui/gtk/browser_titlebar.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/browser/ui/gtk/browser_titlebar.h
===================================================================
--- chrome/browser/ui/gtk/browser_titlebar.h (revision 116109)
+++ chrome/browser/ui/gtk/browser_titlebar.h (working copy)
@@ -30,6 +30,10 @@
class PopupPageMenuModel;
class TabContents;
+namespace content {
+class WebContents;
+}
+
class BrowserTitlebar : public content::NotificationObserver,
public ui::ActiveWindowWatcherXObserver,
public ui::SimpleMenuModel::Delegate {
@@ -62,9 +66,9 @@
void UpdateTitleAndIcon();
// Called by the browser asking us to update the loading throbber.
- // |tab_contents| is the tab that is associated with the window throbber.
- // |tab_contents| can be null.
- void UpdateThrobber(TabContents* tab_contents);
+ // |web_contents| is the tab that is associated with the window throbber.
+ // |web_contents| can be null.
+ void UpdateThrobber(content::WebContents* web_contents);
// On Windows, right clicking in the titlebar background brings up the system
// menu. There's no such thing on linux, so we just show the menu items we
« no previous file with comments | « chrome/browser/ui/gtk/bookmarks/bookmark_bar_gtk.cc ('k') | chrome/browser/ui/gtk/browser_titlebar.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698