OLD | NEW |
1 // Copyright (c) 2012 The Chromium Authors. All rights reserved. | 1 // Copyright (c) 2012 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_UI_GTK_BROWSER_TOOLBAR_GTK_H_ | 5 #ifndef CHROME_BROWSER_UI_GTK_BROWSER_TOOLBAR_GTK_H_ |
6 #define CHROME_BROWSER_UI_GTK_BROWSER_TOOLBAR_GTK_H_ | 6 #define CHROME_BROWSER_UI_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 191 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
202 Browser* browser_; | 202 Browser* browser_; |
203 BrowserWindowGtk* window_; | 203 BrowserWindowGtk* window_; |
204 | 204 |
205 // Controls whether or not a home button should be shown on the toolbar. | 205 // Controls whether or not a home button should be shown on the toolbar. |
206 BooleanPrefMember show_home_button_; | 206 BooleanPrefMember show_home_button_; |
207 | 207 |
208 // Preferences controlling the configured home page. | 208 // Preferences controlling the configured home page. |
209 StringPrefMember home_page_; | 209 StringPrefMember home_page_; |
210 BooleanPrefMember home_page_is_new_tab_page_; | 210 BooleanPrefMember home_page_is_new_tab_page_; |
211 | 211 |
212 content::HostZoomMap::ZoomLevelChangedCallback zoom_callback_; | 212 scoped_ptr<content::HostZoomMap::Subscription> zoom_subscription_; |
213 content::NotificationRegistrar registrar_; | 213 content::NotificationRegistrar registrar_; |
214 | 214 |
215 // A GtkEntry that isn't part of the hierarchy. We keep this for native | 215 // A GtkEntry that isn't part of the hierarchy. We keep this for native |
216 // rendering. | 216 // rendering. |
217 ui::OwnedWidgetGtk offscreen_entry_; | 217 ui::OwnedWidgetGtk offscreen_entry_; |
218 | 218 |
219 // Manages the home button drop signal handler. | 219 // Manages the home button drop signal handler. |
220 scoped_ptr<ui::GtkSignalRegistrar> drop_handler_; | 220 scoped_ptr<ui::GtkSignalRegistrar> drop_handler_; |
221 | 221 |
222 DISALLOW_COPY_AND_ASSIGN(BrowserToolbarGtk); | 222 DISALLOW_COPY_AND_ASSIGN(BrowserToolbarGtk); |
223 }; | 223 }; |
224 | 224 |
225 #endif // CHROME_BROWSER_UI_GTK_BROWSER_TOOLBAR_GTK_H_ | 225 #endif // CHROME_BROWSER_UI_GTK_BROWSER_TOOLBAR_GTK_H_ |
OLD | NEW |