| 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_VIEWS_TOOLBAR_VIEW_H_ | 5 #ifndef CHROME_BROWSER_UI_VIEWS_TOOLBAR_TOOLBAR_VIEW_H_ |
| 6 #define CHROME_BROWSER_UI_VIEWS_TOOLBAR_VIEW_H_ | 6 #define CHROME_BROWSER_UI_VIEWS_TOOLBAR_TOOLBAR_VIEW_H_ |
| 7 | 7 |
| 8 #include <set> | 8 #include <set> |
| 9 #include <string> | 9 #include <string> |
| 10 | 10 |
| 11 #include "base/memory/scoped_ptr.h" | 11 #include "base/memory/scoped_ptr.h" |
| 12 #include "base/observer_list.h" | 12 #include "base/observer_list.h" |
| 13 #include "base/prefs/pref_member.h" | 13 #include "base/prefs/pref_member.h" |
| 14 #include "chrome/browser/command_observer.h" | 14 #include "chrome/browser/command_observer.h" |
| 15 #include "chrome/browser/ui/toolbar/back_forward_menu_model.h" | 15 #include "chrome/browser/ui/toolbar/back_forward_menu_model.h" |
| 16 #include "chrome/browser/ui/views/location_bar/location_bar_view.h" | 16 #include "chrome/browser/ui/views/location_bar/location_bar_view.h" |
| 17 #include "chrome/browser/ui/views/reload_button.h" | |
| 18 #include "ui/base/accelerators/accelerator.h" | 17 #include "ui/base/accelerators/accelerator.h" |
| 19 #include "ui/views/accessible_pane_view.h" | 18 #include "ui/views/accessible_pane_view.h" |
| 20 #include "ui/views/controls/button/menu_button.h" | 19 #include "ui/views/controls/button/menu_button.h" |
| 21 #include "ui/views/controls/button/menu_button_listener.h" | 20 #include "ui/views/controls/button/menu_button_listener.h" |
| 22 #include "ui/views/view.h" | 21 #include "ui/views/view.h" |
| 23 | 22 |
| 24 class BrowserActionsContainer; | 23 class BrowserActionsContainer; |
| 25 class Browser; | 24 class Browser; |
| 26 class HomeImageButton; | 25 class HomeImageButton; |
| 26 class ReloadButton; |
| 27 class WrenchMenu; | 27 class WrenchMenu; |
| 28 class WrenchMenuModel; | 28 class WrenchMenuModel; |
| 29 class WrenchToolbarButton; | 29 class WrenchToolbarButton; |
| 30 | 30 |
| 31 namespace views { | 31 namespace views { |
| 32 class MenuListener; | 32 class MenuListener; |
| 33 } | 33 } |
| 34 | 34 |
| 35 // The Browser Window's toolbar. | 35 // The Browser Window's toolbar. |
| 36 class ToolbarView : public views::AccessiblePaneView, | 36 class ToolbarView : public views::AccessiblePaneView, |
| (...skipping 188 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 225 scoped_ptr<WrenchMenu> wrench_menu_; | 225 scoped_ptr<WrenchMenu> wrench_menu_; |
| 226 | 226 |
| 227 // A list of listeners to call when the menu opens. | 227 // A list of listeners to call when the menu opens. |
| 228 ObserverList<views::MenuListener> menu_listeners_; | 228 ObserverList<views::MenuListener> menu_listeners_; |
| 229 | 229 |
| 230 content::NotificationRegistrar registrar_; | 230 content::NotificationRegistrar registrar_; |
| 231 | 231 |
| 232 DISALLOW_IMPLICIT_CONSTRUCTORS(ToolbarView); | 232 DISALLOW_IMPLICIT_CONSTRUCTORS(ToolbarView); |
| 233 }; | 233 }; |
| 234 | 234 |
| 235 #endif // CHROME_BROWSER_UI_VIEWS_TOOLBAR_VIEW_H_ | 235 #endif // CHROME_BROWSER_UI_VIEWS_TOOLBAR_TOOLBAR_VIEW_H_ |
| OLD | NEW |