OLD | NEW |
1 // Copyright 2014 The Chromium Authors. All rights reserved. | 1 // Copyright 2014 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_TOOLBAR_TOOLBAR_ACTIONS_BAR_H_ | 5 #ifndef CHROME_BROWSER_UI_TOOLBAR_TOOLBAR_ACTIONS_BAR_H_ |
6 #define CHROME_BROWSER_UI_TOOLBAR_TOOLBAR_ACTIONS_BAR_H_ | 6 #define CHROME_BROWSER_UI_TOOLBAR_TOOLBAR_ACTIONS_BAR_H_ |
7 | 7 |
8 #include <stddef.h> | 8 #include <stddef.h> |
9 | 9 |
10 #include <memory> | 10 #include <memory> |
11 | 11 |
12 #include "base/callback.h" | 12 #include "base/callback.h" |
13 #include "base/macros.h" | 13 #include "base/macros.h" |
14 #include "base/memory/scoped_vector.h" | 14 #include "base/memory/scoped_vector.h" |
15 #include "base/memory/weak_ptr.h" | 15 #include "base/memory/weak_ptr.h" |
16 #include "base/observer_list.h" | 16 #include "base/observer_list.h" |
17 #include "base/scoped_observer.h" | 17 #include "base/scoped_observer.h" |
18 #include "chrome/browser/ui/tabs/tab_strip_model_observer.h" | 18 #include "chrome/browser/ui/tabs/tab_strip_model_observer.h" |
19 #include "chrome/browser/ui/toolbar/toolbar_actions_bar_bubble_delegate.h" | 19 #include "chrome/browser/ui/toolbar/toolbar_actions_bar_bubble_delegate.h" |
20 #include "chrome/browser/ui/toolbar/toolbar_actions_model.h" | 20 #include "chrome/browser/ui/toolbar/toolbar_actions_model.h" |
21 #include "ui/gfx/animation/tween.h" | 21 #include "ui/gfx/animation/tween.h" |
22 #include "ui/gfx/geometry/size.h" | 22 #include "ui/gfx/geometry/size.h" |
23 | 23 |
24 namespace extensions { | |
25 class Extension; | |
26 class ExtensionMessageBubbleController; | |
27 } | |
28 | |
29 namespace user_prefs { | 24 namespace user_prefs { |
30 class PrefRegistrySyncable; | 25 class PrefRegistrySyncable; |
31 } | 26 } |
32 | 27 |
33 class ToolbarActionsBarDelegate; | 28 class ToolbarActionsBarDelegate; |
34 class ToolbarActionsBarObserver; | 29 class ToolbarActionsBarObserver; |
35 class ToolbarActionViewController; | 30 class ToolbarActionViewController; |
36 | 31 |
37 // A platform-independent version of the container for toolbar actions, | 32 // A platform-independent version of the container for toolbar actions, |
38 // including extension actions and component actions. | 33 // including extension actions and component actions. |
(...skipping 327 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
366 ScopedObserver<TabStripModel, TabStripModelObserver> tab_strip_observer_; | 361 ScopedObserver<TabStripModel, TabStripModelObserver> tab_strip_observer_; |
367 | 362 |
368 base::ObserverList<ToolbarActionsBarObserver> observers_; | 363 base::ObserverList<ToolbarActionsBarObserver> observers_; |
369 | 364 |
370 base::WeakPtrFactory<ToolbarActionsBar> weak_ptr_factory_; | 365 base::WeakPtrFactory<ToolbarActionsBar> weak_ptr_factory_; |
371 | 366 |
372 DISALLOW_COPY_AND_ASSIGN(ToolbarActionsBar); | 367 DISALLOW_COPY_AND_ASSIGN(ToolbarActionsBar); |
373 }; | 368 }; |
374 | 369 |
375 #endif // CHROME_BROWSER_UI_TOOLBAR_TOOLBAR_ACTIONS_BAR_H_ | 370 #endif // CHROME_BROWSER_UI_TOOLBAR_TOOLBAR_ACTIONS_BAR_H_ |
OLD | NEW |