| OLD | NEW |
| 1 // Copyright 2013 The Chromium Authors. All rights reserved. | 1 // Copyright 2013 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_BROWSER_ACTIONS_CONTAINER_H_ | 5 #ifndef CHROME_BROWSER_UI_VIEWS_TOOLBAR_BROWSER_ACTIONS_CONTAINER_H_ |
| 6 #define CHROME_BROWSER_UI_VIEWS_TOOLBAR_BROWSER_ACTIONS_CONTAINER_H_ | 6 #define CHROME_BROWSER_UI_VIEWS_TOOLBAR_BROWSER_ACTIONS_CONTAINER_H_ |
| 7 | 7 |
| 8 #include <stddef.h> | 8 #include <stddef.h> |
| 9 | 9 |
| 10 #include <memory> | 10 #include <memory> |
| 11 | 11 |
| 12 #include "base/macros.h" | 12 #include "base/macros.h" |
| 13 #include "base/observer_list.h" | 13 #include "base/observer_list.h" |
| 14 #include "chrome/browser/ui/toolbar/toolbar_actions_bar.h" | 14 #include "chrome/browser/ui/toolbar/toolbar_actions_bar.h" |
| 15 #include "chrome/browser/ui/toolbar/toolbar_actions_bar_delegate.h" | 15 #include "chrome/browser/ui/toolbar/toolbar_actions_bar_delegate.h" |
| 16 #include "chrome/browser/ui/views/toolbar/toolbar_action_view.h" | 16 #include "chrome/browser/ui/views/toolbar/toolbar_action_view.h" |
| 17 #include "ui/gfx/animation/animation_delegate.h" | 17 #include "ui/gfx/animation/animation_delegate.h" |
| 18 #include "ui/gfx/animation/slide_animation.h" | 18 #include "ui/gfx/animation/slide_animation.h" |
| 19 #include "ui/gfx/animation/tween.h" | 19 #include "ui/gfx/animation/tween.h" |
| 20 #include "ui/views/controls/resize_area_delegate.h" | 20 #include "ui/views/controls/resize_area_delegate.h" |
| 21 #include "ui/views/drag_controller.h" | 21 #include "ui/views/drag_controller.h" |
| 22 #include "ui/views/view.h" | 22 #include "ui/views/view.h" |
| 23 #include "ui/views/widget/widget_observer.h" | 23 #include "ui/views/widget/widget_observer.h" |
| 24 | 24 |
| 25 class ExtensionPopup; | |
| 26 | |
| 27 namespace extensions { | |
| 28 class ActiveTabPermissionGranter; | |
| 29 class Command; | |
| 30 class Extension; | |
| 31 } | |
| 32 | |
| 33 namespace views { | 25 namespace views { |
| 34 class BubbleDialogDelegateView; | 26 class BubbleDialogDelegateView; |
| 35 class ResizeArea; | 27 class ResizeArea; |
| 36 } | 28 } |
| 37 | 29 |
| 38 // The BrowserActionsContainer is a container view, responsible for drawing the | 30 // The BrowserActionsContainer is a container view, responsible for drawing the |
| 39 // toolbar action icons (including extension icons and icons for component | 31 // toolbar action icons (including extension icons and icons for component |
| 40 // toolbar actions). It comes in two flavors, a main container (when residing on | 32 // toolbar actions). It comes in two flavors, a main container (when residing on |
| 41 // the toolbar) and an overflow container (that resides in the main application | 33 // the toolbar) and an overflow container (that resides in the main application |
| 42 // menu, aka the Chrome menu). | 34 // menu, aka the Chrome menu). |
| (...skipping 245 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 288 // is none. | 280 // is none. |
| 289 std::unique_ptr<DropPosition> drop_position_; | 281 std::unique_ptr<DropPosition> drop_position_; |
| 290 | 282 |
| 291 // The extension bubble that is actively showing, if any. | 283 // The extension bubble that is actively showing, if any. |
| 292 views::BubbleDialogDelegateView* active_bubble_; | 284 views::BubbleDialogDelegateView* active_bubble_; |
| 293 | 285 |
| 294 DISALLOW_COPY_AND_ASSIGN(BrowserActionsContainer); | 286 DISALLOW_COPY_AND_ASSIGN(BrowserActionsContainer); |
| 295 }; | 287 }; |
| 296 | 288 |
| 297 #endif // CHROME_BROWSER_UI_VIEWS_TOOLBAR_BROWSER_ACTIONS_CONTAINER_H_ | 289 #endif // CHROME_BROWSER_UI_VIEWS_TOOLBAR_BROWSER_ACTIONS_CONTAINER_H_ |
| OLD | NEW |