| 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 "base/macros.h" | 10 #include "base/macros.h" |
| (...skipping 221 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 232 void RemoveAllViews() override; | 232 void RemoveAllViews() override; |
| 233 void Redraw(bool order_changed) override; | 233 void Redraw(bool order_changed) override; |
| 234 void ResizeAndAnimate(gfx::Tween::Type tween_type, | 234 void ResizeAndAnimate(gfx::Tween::Type tween_type, |
| 235 int target_width, | 235 int target_width, |
| 236 bool suppress_chevron) override; | 236 bool suppress_chevron) override; |
| 237 void SetChevronVisibility(bool chevron_visible) override; | 237 void SetChevronVisibility(bool chevron_visible) override; |
| 238 int GetWidth(GetWidthTime get_width_time) const override; | 238 int GetWidth(GetWidthTime get_width_time) const override; |
| 239 bool IsAnimating() const override; | 239 bool IsAnimating() const override; |
| 240 void StopAnimating() override; | 240 void StopAnimating() override; |
| 241 int GetChevronWidth() const override; | 241 int GetChevronWidth() const override; |
| 242 void ShowToolbarActionBubble( |
| 243 scoped_ptr<ToolbarActionsBarBubbleDelegate> controller) override; |
| 242 void ShowExtensionMessageBubble( | 244 void ShowExtensionMessageBubble( |
| 243 scoped_ptr<extensions::ExtensionMessageBubbleController> controller, | 245 scoped_ptr<extensions::ExtensionMessageBubbleController> controller, |
| 244 ToolbarActionViewController* anchor_action) override; | 246 ToolbarActionViewController* anchor_action) override; |
| 245 | 247 |
| 246 // views::WidgetObserver: | 248 // views::WidgetObserver: |
| 247 void OnWidgetClosing(views::Widget* widget) override; | 249 void OnWidgetClosing(views::Widget* widget) override; |
| 248 void OnWidgetDestroying(views::Widget* widget) override; | 250 void OnWidgetDestroying(views::Widget* widget) override; |
| 249 | 251 |
| 250 views::BubbleDelegateView* active_bubble() { return active_bubble_; } | 252 views::BubbleDelegateView* active_bubble() { return active_bubble_; } |
| 251 | 253 |
| (...skipping 79 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 331 // is none. | 333 // is none. |
| 332 scoped_ptr<DropPosition> drop_position_; | 334 scoped_ptr<DropPosition> drop_position_; |
| 333 | 335 |
| 334 // The extension bubble that is actively showing, if any. | 336 // The extension bubble that is actively showing, if any. |
| 335 views::BubbleDelegateView* active_bubble_; | 337 views::BubbleDelegateView* active_bubble_; |
| 336 | 338 |
| 337 DISALLOW_COPY_AND_ASSIGN(BrowserActionsContainer); | 339 DISALLOW_COPY_AND_ASSIGN(BrowserActionsContainer); |
| 338 }; | 340 }; |
| 339 | 341 |
| 340 #endif // CHROME_BROWSER_UI_VIEWS_TOOLBAR_BROWSER_ACTIONS_CONTAINER_H_ | 342 #endif // CHROME_BROWSER_UI_VIEWS_TOOLBAR_BROWSER_ACTIONS_CONTAINER_H_ |
| OLD | NEW |