| OLD | NEW |
| 1 // Copyright 2016 The Chromium Authors. All rights reserved. | 1 // Copyright 2016 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 ASH_AURA_WM_SHELF_AURA_H_ | 5 #ifndef ASH_AURA_WM_SHELF_AURA_H_ |
| 6 #define ASH_AURA_WM_SHELF_AURA_H_ | 6 #define ASH_AURA_WM_SHELF_AURA_H_ |
| 7 | 7 |
| 8 #include "ash/ash_export.h" | 8 #include "ash/ash_export.h" |
| 9 #include "ash/common/shelf/shelf_icon_observer.h" | 9 #include "ash/common/shelf/shelf_icon_observer.h" |
| 10 #include "ash/common/shelf/wm_shelf.h" | 10 #include "ash/common/shelf/wm_shelf.h" |
| (...skipping 32 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 43 WmWindow* GetWindow() override; | 43 WmWindow* GetWindow() override; |
| 44 ShelfAlignment GetAlignment() const override; | 44 ShelfAlignment GetAlignment() const override; |
| 45 void SetAlignment(ShelfAlignment alignment) override; | 45 void SetAlignment(ShelfAlignment alignment) override; |
| 46 ShelfAutoHideBehavior GetAutoHideBehavior() const override; | 46 ShelfAutoHideBehavior GetAutoHideBehavior() const override; |
| 47 void SetAutoHideBehavior(ShelfAutoHideBehavior behavior) override; | 47 void SetAutoHideBehavior(ShelfAutoHideBehavior behavior) override; |
| 48 ShelfAutoHideState GetAutoHideState() const override; | 48 ShelfAutoHideState GetAutoHideState() const override; |
| 49 void UpdateAutoHideState() override; | 49 void UpdateAutoHideState() override; |
| 50 ShelfBackgroundType GetBackgroundType() const override; | 50 ShelfBackgroundType GetBackgroundType() const override; |
| 51 WmDimmerView* CreateDimmerView(bool disable_animations_for_test) override; | 51 WmDimmerView* CreateDimmerView(bool disable_animations_for_test) override; |
| 52 bool IsDimmed() const override; | 52 bool IsDimmed() const override; |
| 53 bool IsShowingOverflowBubble() const override; | |
| 54 void SchedulePaint() override; | 53 void SchedulePaint() override; |
| 55 bool IsVisible() const override; | 54 bool IsVisible() const override; |
| 56 void UpdateVisibilityState() override; | 55 void UpdateVisibilityState() override; |
| 57 ShelfVisibilityState GetVisibilityState() const override; | 56 ShelfVisibilityState GetVisibilityState() const override; |
| 58 gfx::Rect GetIdealBounds() override; | 57 gfx::Rect GetIdealBounds() override; |
| 59 gfx::Rect GetUserWorkAreaBounds() const override; | 58 gfx::Rect GetUserWorkAreaBounds() const override; |
| 60 void UpdateIconPositionForWindow(WmWindow* window) override; | 59 void UpdateIconPositionForWindow(WmWindow* window) override; |
| 61 gfx::Rect GetScreenBoundsOfItemIconForWindow(WmWindow* window) override; | 60 gfx::Rect GetScreenBoundsOfItemIconForWindow(WmWindow* window) override; |
| 62 bool ProcessGestureEvent(const ui::GestureEvent& event) override; | 61 bool ProcessGestureEvent(const ui::GestureEvent& event) override; |
| 63 void AddObserver(WmShelfObserver* observer) override; | 62 void AddObserver(WmShelfObserver* observer) override; |
| (...skipping 22 matching lines...) Expand all Loading... |
| 86 | 85 |
| 87 // Forwards mouse and gesture events to ShelfLayoutManager for auto-hide. | 86 // Forwards mouse and gesture events to ShelfLayoutManager for auto-hide. |
| 88 std::unique_ptr<AutoHideEventHandler> auto_hide_event_handler_; | 87 std::unique_ptr<AutoHideEventHandler> auto_hide_event_handler_; |
| 89 | 88 |
| 90 DISALLOW_COPY_AND_ASSIGN(WmShelfAura); | 89 DISALLOW_COPY_AND_ASSIGN(WmShelfAura); |
| 91 }; | 90 }; |
| 92 | 91 |
| 93 } // namespace ash | 92 } // namespace ash |
| 94 | 93 |
| 95 #endif // ASH_AURA_WM_SHELF_AURA_H_ | 94 #endif // ASH_AURA_WM_SHELF_AURA_H_ |
| OLD | NEW |