| 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 29 matching lines...) Expand all Loading... |
| 40 bool IsVisible() const override; | 40 bool IsVisible() const override; |
| 41 void UpdateVisibilityState() override; | 41 void UpdateVisibilityState() override; |
| 42 ShelfVisibilityState GetVisibilityState() const override; | 42 ShelfVisibilityState GetVisibilityState() const override; |
| 43 gfx::Rect GetIdealBounds() override; | 43 gfx::Rect GetIdealBounds() override; |
| 44 gfx::Rect GetUserWorkAreaBounds() const override; | 44 gfx::Rect GetUserWorkAreaBounds() const override; |
| 45 void UpdateIconPositionForWindow(WmWindow* window) override; | 45 void UpdateIconPositionForWindow(WmWindow* window) override; |
| 46 gfx::Rect GetScreenBoundsOfItemIconForWindow(WmWindow* window) override; | 46 gfx::Rect GetScreenBoundsOfItemIconForWindow(WmWindow* window) override; |
| 47 bool ProcessGestureEvent(const ui::GestureEvent& event) override; | 47 bool ProcessGestureEvent(const ui::GestureEvent& event) override; |
| 48 void AddObserver(WmShelfObserver* observer) override; | 48 void AddObserver(WmShelfObserver* observer) override; |
| 49 void RemoveObserver(WmShelfObserver* observer) override; | 49 void RemoveObserver(WmShelfObserver* observer) override; |
| 50 StatusAreaWidget* GetStatusAreaWidget() override; |
| 50 void SetKeyboardBoundsForTesting(const gfx::Rect& bounds) override; | 51 void SetKeyboardBoundsForTesting(const gfx::Rect& bounds) override; |
| 51 ShelfLockingManager* GetShelfLockingManagerForTesting() override; | 52 ShelfLockingManager* GetShelfLockingManagerForTesting() override; |
| 52 ShelfView* GetShelfViewForTesting() override; | 53 ShelfView* GetShelfViewForTesting() override; |
| 53 | 54 |
| 54 private: | 55 private: |
| 55 base::ObserverList<WmShelfObserver> observers_; | 56 base::ObserverList<WmShelfObserver> observers_; |
| 56 | 57 |
| 57 ShelfLayoutManager* shelf_layout_manager_; | 58 ShelfLayoutManager* shelf_layout_manager_; |
| 58 | 59 |
| 59 DISALLOW_COPY_AND_ASSIGN(WmShelfMus); | 60 DISALLOW_COPY_AND_ASSIGN(WmShelfMus); |
| 60 }; | 61 }; |
| 61 | 62 |
| 62 } // namespace mus | 63 } // namespace mus |
| 63 } // namespace ash | 64 } // namespace ash |
| 64 | 65 |
| 65 #endif // ASH_MUS_BRIDGE_WM_SHELF_MUS_H_ | 66 #endif // ASH_MUS_BRIDGE_WM_SHELF_MUS_H_ |
| OLD | NEW |