summaryrefslogtreecommitdiffstats
path: root/chrome/browser/browser.h
diff options
context:
space:
mode:
authorbeng@google.com <beng@google.com@0039d316-1c4b-4281-b951-d872f2087c98>2008-08-09 00:38:19 +0000
committerbeng@google.com <beng@google.com@0039d316-1c4b-4281-b951-d872f2087c98>2008-08-09 00:38:19 +0000
commitb519281d42b82e787e4ba0cb31f3d6cc91c954d3 (patch)
treefb077507c27d1b35b46e14ae99cd5edfe1195e20 /chrome/browser/browser.h
parent3cde1db6f69ce6c03e752cc86bbadf9379259fb2 (diff)
downloadchromium_src-b519281d42b82e787e4ba0cb31f3d6cc91c954d3.zip
chromium_src-b519281d42b82e787e4ba0cb31f3d6cc91c954d3.tar.gz
chromium_src-b519281d42b82e787e4ba0cb31f3d6cc91c954d3.tar.bz2
Even more tweaks.
- make window icon and title work on app windows - make window title updating sync with the task bar - make Aero Glass frame respect app mode settings - move title formatting routine from TabRenderer into Browser (a more central location) - appearance adjustments for app windows with info bars git-svn-id: svn://svn.chromium.org/chrome/trunk/src@612 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'chrome/browser/browser.h')
-rw-r--r--chrome/browser/browser.h11
1 files changed, 11 insertions, 0 deletions
diff --git a/chrome/browser/browser.h b/chrome/browser/browser.h
index 1cd1b57..3af7051 100644
--- a/chrome/browser/browser.h
+++ b/chrome/browser/browser.h
@@ -382,6 +382,17 @@ class Browser : public TabStripModelDelegate,
void ConvertTabToApplication(TabContents* contents);
+ // NEW FRAME METHODS BELOW THIS LINE ONLY... TODO(beng): clean up this file!
+
+ // Gets the FavIcon of the page in the selected tab.
+ SkBitmap GetCurrentPageIcon() const;
+
+ // Gets the title of the page in the selected tab.
+ std::wstring GetCurrentPageTitle() const;
+
+ // Prepares a title string for display (removes embedded newlines, etc).
+ static void FormatTitleForDisplay(std::wstring* title);
+
private:
friend class XPFrame;
friend class VistaFrame;