OLD | NEW |
1 // Copyright (c) 2011 The Chromium Authors. All rights reserved. | 1 // Copyright (c) 2011 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 #pragma once | 7 #pragma once |
8 | 8 |
9 #include <gtk/gtk.h> | 9 #include <gtk/gtk.h> |
10 #include <string> | 10 #include <string> |
11 | 11 |
12 #include "base/memory/scoped_ptr.h" | 12 #include "base/memory/scoped_ptr.h" |
13 #include "chrome/browser/command_updater.h" | 13 #include "chrome/browser/command_updater.h" |
14 #include "chrome/browser/prefs/pref_member.h" | 14 #include "chrome/browser/prefs/pref_member.h" |
15 #include "chrome/browser/ui/gtk/custom_button.h" | 15 #include "chrome/browser/ui/gtk/custom_button.h" |
16 #include "chrome/browser/ui/gtk/menu_gtk.h" | 16 #include "chrome/browser/ui/gtk/menu_gtk.h" |
17 #include "chrome/browser/ui/gtk/owned_widget_gtk.h" | |
18 #include "chrome/browser/ui/toolbar/wrench_menu_model.h" | 17 #include "chrome/browser/ui/toolbar/wrench_menu_model.h" |
19 #include "content/common/notification_observer.h" | 18 #include "content/common/notification_observer.h" |
20 #include "content/common/notification_registrar.h" | 19 #include "content/common/notification_registrar.h" |
21 #include "ui/base/gtk/gtk_signal.h" | 20 #include "ui/base/gtk/gtk_signal.h" |
22 #include "ui/base/gtk/gtk_signal_registrar.h" | 21 #include "ui/base/gtk/gtk_signal_registrar.h" |
| 22 #include "ui/base/gtk/owned_widget_gtk.h" |
23 #include "ui/base/models/accelerator.h" | 23 #include "ui/base/models/accelerator.h" |
24 #include "ui/base/models/simple_menu_model.h" | 24 #include "ui/base/models/simple_menu_model.h" |
25 | 25 |
26 class BackForwardButtonGtk; | 26 class BackForwardButtonGtk; |
27 class Browser; | 27 class Browser; |
28 class BrowserActionsToolbarGtk; | 28 class BrowserActionsToolbarGtk; |
29 class BrowserWindowGtk; | 29 class BrowserWindowGtk; |
30 class CustomDrawButton; | 30 class CustomDrawButton; |
31 class GtkThemeService; | 31 class GtkThemeService; |
32 class LocationBar; | 32 class LocationBar; |
(...skipping 171 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
204 // rendering. | 204 // rendering. |
205 OwnedWidgetGtk offscreen_entry_; | 205 OwnedWidgetGtk offscreen_entry_; |
206 | 206 |
207 // Manages the home button drop signal handler. | 207 // Manages the home button drop signal handler. |
208 scoped_ptr<ui::GtkSignalRegistrar> drop_handler_; | 208 scoped_ptr<ui::GtkSignalRegistrar> drop_handler_; |
209 | 209 |
210 DISALLOW_COPY_AND_ASSIGN(BrowserToolbarGtk); | 210 DISALLOW_COPY_AND_ASSIGN(BrowserToolbarGtk); |
211 }; | 211 }; |
212 | 212 |
213 #endif // CHROME_BROWSER_UI_GTK_BROWSER_TOOLBAR_GTK_H_ | 213 #endif // CHROME_BROWSER_UI_GTK_BROWSER_TOOLBAR_GTK_H_ |
OLD | NEW |