Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(5054)

Unified Diff: chrome/browser/gtk/location_bar_view_gtk.h

Issue 159303: Implement location only display mode (used by popup windows). (Closed)
Patch Set: fix crash Created 11 years, 5 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « chrome/browser/gtk/browser_toolbar_gtk.cc ('k') | chrome/browser/gtk/location_bar_view_gtk.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/browser/gtk/location_bar_view_gtk.h
diff --git a/chrome/browser/gtk/location_bar_view_gtk.h b/chrome/browser/gtk/location_bar_view_gtk.h
index f3cafd2fbbd623804f502f4e8f5401768fbbefa2..1ac1fa4a8c61ba80e4c33f1d1a57e6a5fa40637d 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);
};
« no previous file with comments | « chrome/browser/gtk/browser_toolbar_gtk.cc ('k') | chrome/browser/gtk/location_bar_view_gtk.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698