Chromium Code Reviews| Index: ash/common/shelf/shelf_widget.h |
| diff --git a/ash/common/shelf/shelf_widget.h b/ash/common/shelf/shelf_widget.h |
| index ac43c023ea1b8ea464e2fc67b2f4f134e37e3e40..f4183f6b0ab9f9317d2583675ffe6d5c5292f242 100644 |
| --- a/ash/common/shelf/shelf_widget.h |
| +++ b/ash/common/shelf/shelf_widget.h |
| @@ -16,7 +16,12 @@ |
| #include "ui/views/widget/widget.h" |
| #include "ui/views/widget/widget_observer.h" |
| +namespace app_list { |
| +class ApplicationDragAndDropHost; |
| +} |
| + |
| namespace ash { |
| +class AppListButton; |
| class FocusCycler; |
| class Shelf; |
| class ShelfLayoutManager; |
| @@ -96,6 +101,12 @@ class ASH_EXPORT ShelfWidget : public views::Widget, |
| // See WmShelf::GetScreenBoundsOfItemIconForWindow(). |
| gfx::Rect GetScreenBoundsOfItemIconForWindow(WmWindow* window); |
| + // Returns the button that opens the app launcher. |
| + AppListButton* GetAppListButton() const; |
| + |
| + // Returns ApplicationDragAndDropHost for this shelf. |
|
msw
2016/08/29 22:58:08
nit: 'Returns the'
James Cook
2016/08/29 23:49:25
Done.
|
| + app_list::ApplicationDragAndDropHost* GetDragAndDropHostForAppList(); |
| + |
| // Overridden from views::WidgetObserver: |
| void OnWidgetActivationChanged(views::Widget* widget, bool active) override; |