| 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_VIEWS_TOOLBAR_VIEW_H_ | 5 #ifndef CHROME_BROWSER_UI_VIEWS_TOOLBAR_VIEW_H_ |
| 6 #define CHROME_BROWSER_UI_VIEWS_TOOLBAR_VIEW_H_ | 6 #define CHROME_BROWSER_UI_VIEWS_TOOLBAR_VIEW_H_ |
| 7 #pragma once | 7 #pragma once |
| 8 | 8 |
| 9 #include <set> | 9 #include <set> |
| 10 #include <string> | 10 #include <string> |
| 11 | 11 |
| 12 #include "base/memory/scoped_ptr.h" | 12 #include "base/memory/scoped_ptr.h" |
| 13 #include "base/observer_list.h" | 13 #include "base/observer_list.h" |
| 14 #include "chrome/browser/command_updater.h" | 14 #include "chrome/browser/command_updater.h" |
| 15 #include "chrome/browser/prefs/pref_member.h" | 15 #include "chrome/browser/prefs/pref_member.h" |
| 16 #include "chrome/browser/ui/toolbar/back_forward_menu_model.h" | 16 #include "chrome/browser/ui/toolbar/back_forward_menu_model.h" |
| 17 #include "chrome/browser/ui/views/location_bar/location_bar_view.h" | 17 #include "chrome/browser/ui/views/location_bar/location_bar_view.h" |
| 18 #include "chrome/browser/ui/views/reload_button.h" | 18 #include "chrome/browser/ui/views/reload_button.h" |
| 19 #include "ui/base/accelerators/accelerator.h" |
| 19 #include "ui/base/animation/slide_animation.h" | 20 #include "ui/base/animation/slide_animation.h" |
| 20 #include "ui/base/models/accelerator.h" | |
| 21 #include "views/accessible_pane_view.h" | 21 #include "views/accessible_pane_view.h" |
| 22 #include "views/controls/button/menu_button.h" | 22 #include "views/controls/button/menu_button.h" |
| 23 #include "views/controls/menu/view_menu_delegate.h" | 23 #include "views/controls/menu/view_menu_delegate.h" |
| 24 #include "views/view.h" | 24 #include "views/view.h" |
| 25 | 25 |
| 26 class BrowserActionsContainer; | 26 class BrowserActionsContainer; |
| 27 class Browser; | 27 class Browser; |
| 28 class WrenchMenu; | 28 class WrenchMenu; |
| 29 | 29 |
| 30 namespace views { | 30 namespace views { |
| (...skipping 176 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 207 | 207 |
| 208 // A list of listeners to call when the menu opens. | 208 // A list of listeners to call when the menu opens. |
| 209 ObserverList<views::MenuListener> menu_listeners_; | 209 ObserverList<views::MenuListener> menu_listeners_; |
| 210 | 210 |
| 211 content::NotificationRegistrar registrar_; | 211 content::NotificationRegistrar registrar_; |
| 212 | 212 |
| 213 DISALLOW_IMPLICIT_CONSTRUCTORS(ToolbarView); | 213 DISALLOW_IMPLICIT_CONSTRUCTORS(ToolbarView); |
| 214 }; | 214 }; |
| 215 | 215 |
| 216 #endif // CHROME_BROWSER_UI_VIEWS_TOOLBAR_VIEW_H_ | 216 #endif // CHROME_BROWSER_UI_VIEWS_TOOLBAR_VIEW_H_ |
| OLD | NEW |