summaryrefslogtreecommitdiffstats
path: root/chrome/browser/gtk/location_bar_view_gtk.h
diff options
context:
space:
mode:
Diffstat (limited to 'chrome/browser/gtk/location_bar_view_gtk.h')
-rw-r--r--chrome/browser/gtk/location_bar_view_gtk.h6
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);
};