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

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

Issue 151209: Initial work on Linux tab to search. (Closed)
Patch Set: Dan's comments. 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
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 f59c3945b7c992090d1f07cc5e9329050acc79b6..a04e94ffc5496c441d16369f128cb3d33bb39b1d 100644
--- a/chrome/browser/gtk/location_bar_view_gtk.h
+++ b/chrome/browser/gtk/location_bar_view_gtk.h
@@ -92,6 +92,11 @@ class LocationBarViewGtk : public AutocompleteEditController,
// hidden.
void SetInfoText();
+ // Set the keyword text for the Search BLAH: keyword box.
+ void SetKeywordLabel(const std::wstring& keyword);
+ // Set the keyword text for the "Press tab to search BLAH" hint box.
+ void SetKeywordHintLabel(const std::wstring& keyword);
+
// The outermost widget we want to be hosted.
OwnedWidgetGtk hbox_;
@@ -103,6 +108,14 @@ class LocationBarViewGtk : public AutocompleteEditController,
GtkWidget* info_label_align_;
GtkWidget* info_label_;
+ // Tab to search widgets.
+ GtkWidget* tab_to_search_;
+ GtkWidget* tab_to_search_label_;
+ GtkWidget* tab_to_search_hint_;
+ GtkWidget* tab_to_search_hint_leading_label_;
+ GtkWidget* tab_to_search_hint_icon_;
+ GtkWidget* tab_to_search_hint_trailing_label_;
+
scoped_ptr<AutocompleteEditViewGtk> location_entry_;
Profile* profile_;
« no previous file with comments | « chrome/browser/autocomplete/autocomplete_edit_view_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