| 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_MUS_BRIDGE_WM_SHELF_MUS_H_ | 5 #ifndef ASH_MUS_BRIDGE_WM_SHELF_MUS_H_ |
| 6 #define ASH_MUS_BRIDGE_WM_SHELF_MUS_H_ | 6 #define ASH_MUS_BRIDGE_WM_SHELF_MUS_H_ |
| 7 | 7 |
| 8 #include <stdint.h> | 8 #include <stdint.h> |
| 9 | 9 |
| 10 #include <vector> | 10 #include <vector> |
| (...skipping 26 matching lines...) Expand all Loading... |
| 37 bool IsShowingOverflowBubble() const override; | 37 bool IsShowingOverflowBubble() const override; |
| 38 void SchedulePaint() override; | 38 void SchedulePaint() override; |
| 39 bool IsVisible() const override; | 39 bool IsVisible() const override; |
| 40 void UpdateVisibilityState() override; | 40 void UpdateVisibilityState() override; |
| 41 ShelfVisibilityState GetVisibilityState() const override; | 41 ShelfVisibilityState GetVisibilityState() const override; |
| 42 gfx::Rect GetIdealBounds() override; | 42 gfx::Rect GetIdealBounds() override; |
| 43 gfx::Rect GetUserWorkAreaBounds() const override; | 43 gfx::Rect GetUserWorkAreaBounds() const override; |
| 44 void UpdateIconPositionForWindow(WmWindow* window) override; | 44 void UpdateIconPositionForWindow(WmWindow* window) override; |
| 45 gfx::Rect GetScreenBoundsOfItemIconForWindow(WmWindow* window) override; | 45 gfx::Rect GetScreenBoundsOfItemIconForWindow(WmWindow* window) override; |
| 46 bool ProcessGestureEvent(const ui::GestureEvent& event) override; | 46 bool ProcessGestureEvent(const ui::GestureEvent& event) override; |
| 47 void UpdateAutoHideForMouseEvent(ui::MouseEvent* event) override; | |
| 48 void UpdateAutoHideForGestureEvent(ui::GestureEvent* event) override; | |
| 49 void AddObserver(WmShelfObserver* observer) override; | 47 void AddObserver(WmShelfObserver* observer) override; |
| 50 void RemoveObserver(WmShelfObserver* observer) override; | 48 void RemoveObserver(WmShelfObserver* observer) override; |
| 51 void SetKeyboardBoundsForTesting(const gfx::Rect& bounds) override; | 49 void SetKeyboardBoundsForTesting(const gfx::Rect& bounds) override; |
| 52 ShelfLockingManager* GetShelfLockingManagerForTesting() override; | 50 ShelfLockingManager* GetShelfLockingManagerForTesting() override; |
| 53 ShelfView* GetShelfViewForTesting() override; | 51 ShelfView* GetShelfViewForTesting() override; |
| 54 | 52 |
| 55 private: | 53 private: |
| 56 base::ObserverList<WmShelfObserver> observers_; | 54 base::ObserverList<WmShelfObserver> observers_; |
| 57 | 55 |
| 58 ShelfLayoutManager* shelf_layout_manager_; | 56 ShelfLayoutManager* shelf_layout_manager_; |
| 59 | 57 |
| 60 DISALLOW_COPY_AND_ASSIGN(WmShelfMus); | 58 DISALLOW_COPY_AND_ASSIGN(WmShelfMus); |
| 61 }; | 59 }; |
| 62 | 60 |
| 63 } // namespace mus | 61 } // namespace mus |
| 64 } // namespace ash | 62 } // namespace ash |
| 65 | 63 |
| 66 #endif // ASH_MUS_BRIDGE_WM_SHELF_MUS_H_ | 64 #endif // ASH_MUS_BRIDGE_WM_SHELF_MUS_H_ |
| OLD | NEW |