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/location_bar_view_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/location_bar_view_gtk.h')
-rw-r--r-- | chrome/browser/gtk/location_bar_view_gtk.h | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/chrome/browser/gtk/location_bar_view_gtk.h b/chrome/browser/gtk/location_bar_view_gtk.h index f3cafd2..1ac1fa4 100644 --- a/chrome/browser/gtk/location_bar_view_gtk.h +++ b/chrome/browser/gtk/location_bar_view_gtk.h @@ -35,7 +35,7 @@ class LocationBarViewGtk : public AutocompleteEditController, AutocompletePopupPositioner* popup_positioner); virtual ~LocationBarViewGtk(); - void Init(); + void Init(bool popup_window_mode); void SetProfile(Profile* profile); @@ -146,6 +146,10 @@ class LocationBarViewGtk : public AutocompleteEditController, // Used schedule a task for the first run info bubble. ScopedRunnableMethodFactory<LocationBarViewGtk> first_run_bubble_; + // When true, the location bar view is read only and also is has a slightly + // different presentation (font size / color). This is used for popups. + bool popup_window_mode_; + DISALLOW_COPY_AND_ASSIGN(LocationBarViewGtk); }; |