diff options
author | tc@google.com <tc@google.com@0039d316-1c4b-4281-b951-d872f2087c98> | 2009-07-24 21:08:43 +0000 |
---|---|---|
committer | tc@google.com <tc@google.com@0039d316-1c4b-4281-b951-d872f2087c98> | 2009-07-24 21:08:43 +0000 |
commit | df722f89f5ad78156319c5a0ff071641a205a78d (patch) | |
tree | 09e76fd83a7d1f05eb7084f75a5f10eaf8a58cde /chrome/browser/gtk/browser_toolbar_gtk.h | |
parent | b13e3fb787be91e19c66df036a231a2e84a7d321 (diff) | |
download | chromium_src-df722f89f5ad78156319c5a0ff071641a205a78d.zip chromium_src-df722f89f5ad78156319c5a0ff071641a205a78d.tar.gz chromium_src-df722f89f5ad78156319c5a0ff071641a205a78d.tar.bz2 |
Implement location only display mode (used by popup windows).
This matches the pixel sizes on Windows. The location bar is
a couple pixels shorter and the font is a little smaller.
BUG=17580
Review URL: http://codereview.chromium.org/159303
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@21578 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'chrome/browser/gtk/browser_toolbar_gtk.h')
-rw-r--r-- | chrome/browser/gtk/browser_toolbar_gtk.h | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/chrome/browser/gtk/browser_toolbar_gtk.h b/chrome/browser/gtk/browser_toolbar_gtk.h index ebfdc34..945d06c 100644 --- a/chrome/browser/gtk/browser_toolbar_gtk.h +++ b/chrome/browser/gtk/browser_toolbar_gtk.h @@ -147,6 +147,10 @@ class BrowserToolbarGtk : public CommandUpdater::CommandObserver, GtkMenuDirectionType dir, BrowserToolbarGtk* toolbar); + // Sometimes we only want to show the location w/o the toolbar buttons (e.g., + // in a popup window). + bool ShouldOnlyShowLocation() const; + // Ninebox for the toolbar background scoped_ptr<NineBox> background_ninebox_; |