| OLD | NEW |
| 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_BROWSER_TOOLBAR_GTK_H_ | 5 #ifndef CHROME_BROWSER_GTK_BROWSER_TOOLBAR_GTK_H_ |
| 6 #define CHROME_BROWSER_GTK_BROWSER_TOOLBAR_GTK_H_ | 6 #define CHROME_BROWSER_GTK_BROWSER_TOOLBAR_GTK_H_ |
| 7 | 7 |
| 8 #include <gtk/gtk.h> | 8 #include <gtk/gtk.h> |
| 9 #include <string> | 9 #include <string> |
| 10 | 10 |
| (...skipping 171 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 182 GtkWidget* page_menu_image_; | 182 GtkWidget* page_menu_image_; |
| 183 GtkWidget* app_menu_image_; | 183 GtkWidget* app_menu_image_; |
| 184 | 184 |
| 185 // The model that contains the security level, text, icon to display... | 185 // The model that contains the security level, text, icon to display... |
| 186 ToolbarModel* model_; | 186 ToolbarModel* model_; |
| 187 | 187 |
| 188 GtkThemeProvider* theme_provider_; | 188 GtkThemeProvider* theme_provider_; |
| 189 | 189 |
| 190 scoped_ptr<MenuGtk> page_menu_; | 190 scoped_ptr<MenuGtk> page_menu_; |
| 191 scoped_ptr<MenuGtk> app_menu_; | 191 scoped_ptr<MenuGtk> app_menu_; |
| 192 scoped_ptr<MenuGtk> encodings_menu_; | |
| 193 | 192 |
| 194 Browser* browser_; | 193 Browser* browser_; |
| 195 BrowserWindowGtk* window_; | 194 BrowserWindowGtk* window_; |
| 196 Profile* profile_; | 195 Profile* profile_; |
| 197 | 196 |
| 198 // Controls whether or not a home button should be shown on the toolbar. | 197 // Controls whether or not a home button should be shown on the toolbar. |
| 199 BooleanPrefMember show_home_button_; | 198 BooleanPrefMember show_home_button_; |
| 200 | 199 |
| 201 NotificationRegistrar registrar_; | 200 NotificationRegistrar registrar_; |
| 202 | 201 |
| 203 // A GtkEntry that isn't part of the hierarchy. We keep this for native | 202 // A GtkEntry that isn't part of the hierarchy. We keep this for native |
| 204 // rendering. | 203 // rendering. |
| 205 OwnedWidgetGtk offscreen_entry_; | 204 OwnedWidgetGtk offscreen_entry_; |
| 206 | 205 |
| 207 MenuBarHelper menu_bar_helper_; | 206 MenuBarHelper menu_bar_helper_; |
| 208 | 207 |
| 209 DISALLOW_COPY_AND_ASSIGN(BrowserToolbarGtk); | 208 DISALLOW_COPY_AND_ASSIGN(BrowserToolbarGtk); |
| 210 }; | 209 }; |
| 211 | 210 |
| 212 #endif // CHROME_BROWSER_GTK_BROWSER_TOOLBAR_GTK_H_ | 211 #endif // CHROME_BROWSER_GTK_BROWSER_TOOLBAR_GTK_H_ |
| OLD | NEW |