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

Side by Side Diff: chrome/browser/gtk/location_bar_view_gtk.h

Issue 195048: Simplify the gtk location bar padding and make it more consistent. (Closed)
Patch Set: simplify tab to search comment Created 11 years, 3 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 unified diff | Download patch
« no previous file with comments | « no previous file | chrome/browser/gtk/location_bar_view_gtk.cc » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 // Copyright (c) 2009 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2009 The Chromium Authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style license that can be 2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file. 3 // found in the LICENSE file.
4 4
5 #ifndef CHROME_BROWSER_GTK_LOCATION_BAR_VIEW_GTK_H_ 5 #ifndef CHROME_BROWSER_GTK_LOCATION_BAR_VIEW_GTK_H_
6 #define CHROME_BROWSER_GTK_LOCATION_BAR_VIEW_GTK_H_ 6 #define CHROME_BROWSER_GTK_LOCATION_BAR_VIEW_GTK_H_
7 7
8 #include <gtk/gtk.h> 8 #include <gtk/gtk.h>
9 9
10 #include <string> 10 #include <string>
(...skipping 105 matching lines...) Expand 10 before | Expand all | Expand 10 after
116 void SetKeywordLabel(const std::wstring& keyword); 116 void SetKeywordLabel(const std::wstring& keyword);
117 // Set the keyword text for the "Press tab to search BLAH" hint box. 117 // Set the keyword text for the "Press tab to search BLAH" hint box.
118 void SetKeywordHintLabel(const std::wstring& keyword); 118 void SetKeywordHintLabel(const std::wstring& keyword);
119 119
120 void ShowFirstRunBubbleInternal(bool use_OEM_bubble); 120 void ShowFirstRunBubbleInternal(bool use_OEM_bubble);
121 121
122 // The outermost widget we want to be hosted. 122 // The outermost widget we want to be hosted.
123 OwnedWidgetGtk hbox_; 123 OwnedWidgetGtk hbox_;
124 124
125 // SSL icons. 125 // SSL icons.
126 GtkWidget* security_icon_align_; 126 GtkWidget* security_icon_event_box_;
127 GtkWidget* security_lock_icon_image_; 127 GtkWidget* security_lock_icon_image_;
128 GtkWidget* security_warning_icon_image_; 128 GtkWidget* security_warning_icon_image_;
129 // Toolbar info text (EV cert info). 129 // Toolbar info text (EV cert info).
130 GtkWidget* info_label_align_;
131 GtkWidget* info_label_; 130 GtkWidget* info_label_;
132 131
133 // Area on the left shown when in tab to search mode. 132 // Area on the left shown when in tab to search mode.
134 GtkWidget* tab_to_search_;
135 GtkWidget* tab_to_search_box_; 133 GtkWidget* tab_to_search_box_;
136 GtkWidget* tab_to_search_label_; 134 GtkWidget* tab_to_search_label_;
137 135
138 // Hint to user that they can tab-to-search by hitting tab. 136 // Hint to user that they can tab-to-search by hitting tab.
139 GtkWidget* tab_to_search_hint_; 137 GtkWidget* tab_to_search_hint_;
140 GtkWidget* tab_to_search_hint_leading_label_; 138 GtkWidget* tab_to_search_hint_leading_label_;
141 GtkWidget* tab_to_search_hint_icon_; 139 GtkWidget* tab_to_search_hint_icon_;
142 GtkWidget* tab_to_search_hint_trailing_label_; 140 GtkWidget* tab_to_search_hint_trailing_label_;
143 141
144 scoped_ptr<AutocompleteEditViewGtk> location_entry_; 142 scoped_ptr<AutocompleteEditViewGtk> location_entry_;
(...skipping 25 matching lines...) Expand all
170 168
171 // Provides colors and rendering mode. 169 // Provides colors and rendering mode.
172 GtkThemeProvider* theme_provider_; 170 GtkThemeProvider* theme_provider_;
173 171
174 NotificationRegistrar registrar_; 172 NotificationRegistrar registrar_;
175 173
176 DISALLOW_COPY_AND_ASSIGN(LocationBarViewGtk); 174 DISALLOW_COPY_AND_ASSIGN(LocationBarViewGtk);
177 }; 175 };
178 176
179 #endif // CHROME_BROWSER_GTK_LOCATION_BAR_VIEW_GTK_H_ 177 #endif // CHROME_BROWSER_GTK_LOCATION_BAR_VIEW_GTK_H_
OLDNEW
« no previous file with comments | « no previous file | chrome/browser/gtk/location_bar_view_gtk.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698