diff options
author | beng@google.com <beng@google.com@0039d316-1c4b-4281-b951-d872f2087c98> | 2008-08-09 00:38:19 +0000 |
---|---|---|
committer | beng@google.com <beng@google.com@0039d316-1c4b-4281-b951-d872f2087c98> | 2008-08-09 00:38:19 +0000 |
commit | b519281d42b82e787e4ba0cb31f3d6cc91c954d3 (patch) | |
tree | fb077507c27d1b35b46e14ae99cd5edfe1195e20 /chrome/browser/browser.h | |
parent | 3cde1db6f69ce6c03e752cc86bbadf9379259fb2 (diff) | |
download | chromium_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.h | 11 |
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; |