| Index: ash/shelf/app_list_button.h
|
| diff --git a/ash/shelf/app_list_button.h b/ash/shelf/app_list_button.h
|
| index df3d2a1eb310cf8ad5edd3ea5d44308e13ab4bf3..ac7d918050912dedb0e10b4b1dfa3c1b5eb23596 100644
|
| --- a/ash/shelf/app_list_button.h
|
| +++ b/ash/shelf/app_list_button.h
|
| @@ -5,6 +5,7 @@
|
| #ifndef ASH_SHELF_APP_LIST_BUTTON_H_
|
| #define ASH_SHELF_APP_LIST_BUTTON_H_
|
|
|
| +#include "ash/ash_export.h"
|
| #include "base/macros.h"
|
| #include "ui/views/controls/button/image_button.h"
|
|
|
| @@ -13,12 +14,15 @@ class InkDropButtonListener;
|
| class ShelfView;
|
|
|
| // Button used for the AppList icon on the shelf.
|
| -class AppListButton : public views::ImageButton {
|
| +class ASH_EXPORT AppListButton : public views::ImageButton {
|
| public:
|
| explicit AppListButton(InkDropButtonListener* listener,
|
| ShelfView* shelf_view);
|
| ~AppListButton() override;
|
|
|
| + void OnAppListShown();
|
| + void OnAppListDismissed();
|
| +
|
| bool draw_background_as_active() { return draw_background_as_active_; }
|
|
|
| protected:
|
| @@ -29,7 +33,10 @@ class AppListButton : public views::ImageButton {
|
| bool OnMouseDragged(const ui::MouseEvent& event) override;
|
| void OnPaint(gfx::Canvas* canvas) override;
|
| void GetAccessibleState(ui::AXViewState* state) override;
|
| + std::unique_ptr<views::InkDropRipple> CreateInkDropRipple() const override;
|
| void NotifyClick(const ui::Event& event) override;
|
| + bool ShouldEnterPushedState(const ui::Event& event) override;
|
| + bool ShouldShowInkDropHighlight() const override;
|
|
|
| // ui::EventHandler overrides:
|
| void OnGestureEvent(ui::GestureEvent* event) override;
|
|
|