Index: chrome/browser/ui/browser.h |
diff --git a/chrome/browser/ui/browser.h b/chrome/browser/ui/browser.h |
index 3fe7f3b6a0bf8b1bf4f20727aa43ad46157eb50b..3cd531a061bb7f85849331f879e149f8cf4da3a7 100644 |
--- a/chrome/browser/ui/browser.h |
+++ b/chrome/browser/ui/browser.h |
@@ -43,6 +43,7 @@ |
#include "content/public/browser/notification_observer.h" |
#include "content/public/browser/notification_registrar.h" |
#include "content/public/browser/page_navigator.h" |
+#include "content/public/browser/web_contents.h" |
#include "content/public/browser/web_contents_delegate.h" |
#include "content/public/common/page_zoom.h" |
#include "extensions/features/features.h" |
@@ -301,6 +302,16 @@ class Browser : public TabStripModelObserver, |
// Disables additional formatting when |include_app_name| is false. |
base::string16 GetWindowTitleForCurrentTab(bool include_app_name) const; |
+ // Gets the window title of the tab at |index|. |
+ // Disables additional formatting when |include_app_name| is false. |
+ base::string16 GetWindowTitleForTab(bool include_app_name, int index) const; |
+ |
+ // Gets the window title from the provided WebContents. |
+ // Disables additional formatting when |include_app_name| is false. |
+ base::string16 GetWindowTitleFromWebContents( |
+ bool include_app_name, |
+ content::WebContents* contents) const; |
+ |
// Prepares a title string for display (removes embedded newlines, etc). |
static void FormatTitleForDisplay(base::string16* title); |