Chromium Code Reviews| Index: ash/shelf/shelf_widget.h |
| diff --git a/ash/shelf/shelf_widget.h b/ash/shelf/shelf_widget.h |
| index caea889ca56596e66bbc0f5665389c7739013807..fce02731cc32a488edae2836e136ccd5793c171c 100644 |
| --- a/ash/shelf/shelf_widget.h |
| +++ b/ash/shelf/shelf_widget.h |
| @@ -72,6 +72,11 @@ class ASH_EXPORT ShelfWidget : public views::Widget, |
| void SetShelfVisibility(bool visible); |
| bool IsShelfVisible() const; |
| + // Returns true if the shelf is showing a context menu. |
| + bool IsShowingMenu() const; |
|
msw
2016/08/22 23:45:30
nit: rename IsShowingContextMenu and remove commen
|
| + |
| + bool IsShowingOverflowBubble() const; |
| + |
| // Sets the focus cycler. Also adds the shelf to the cycle. |
| void SetFocusCycler(FocusCycler* focus_cycler); |
| FocusCycler* GetFocusCycler(); |