| 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 27 matching lines...) Expand all Loading... |
| 38 void UpdateVisibilityState() override; | 38 void UpdateVisibilityState() override; |
| 39 ShelfVisibilityState GetVisibilityState() const override; | 39 ShelfVisibilityState GetVisibilityState() const override; |
| 40 gfx::Rect GetIdealBounds() override; | 40 gfx::Rect GetIdealBounds() override; |
| 41 gfx::Rect GetUserWorkAreaBounds() const override; | 41 gfx::Rect GetUserWorkAreaBounds() const override; |
| 42 void UpdateIconPositionForWindow(WmWindow* window) override; | 42 void UpdateIconPositionForWindow(WmWindow* window) override; |
| 43 gfx::Rect GetScreenBoundsOfItemIconForWindow(WmWindow* window) override; | 43 gfx::Rect GetScreenBoundsOfItemIconForWindow(WmWindow* window) override; |
| 44 void UpdateAutoHideForMouseEvent(ui::MouseEvent* event) override; | 44 void UpdateAutoHideForMouseEvent(ui::MouseEvent* event) override; |
| 45 void UpdateAutoHideForGestureEvent(ui::GestureEvent* event) override; | 45 void UpdateAutoHideForGestureEvent(ui::GestureEvent* event) override; |
| 46 void AddObserver(WmShelfObserver* observer) override; | 46 void AddObserver(WmShelfObserver* observer) override; |
| 47 void RemoveObserver(WmShelfObserver* observer) override; | 47 void RemoveObserver(WmShelfObserver* observer) override; |
| 48 void SetKeyboardBoundsForTesting(const gfx::Rect& bounds) override; |
| 48 | 49 |
| 49 private: | 50 private: |
| 50 base::ObserverList<WmShelfObserver> observers_; | 51 base::ObserverList<WmShelfObserver> observers_; |
| 51 | 52 |
| 52 ShelfLayoutManager* shelf_layout_manager_; | 53 ShelfLayoutManager* shelf_layout_manager_; |
| 53 | 54 |
| 54 DISALLOW_COPY_AND_ASSIGN(WmShelfMus); | 55 DISALLOW_COPY_AND_ASSIGN(WmShelfMus); |
| 55 }; | 56 }; |
| 56 | 57 |
| 57 } // namespace mus | 58 } // namespace mus |
| 58 } // namespace ash | 59 } // namespace ash |
| 59 | 60 |
| 60 #endif // ASH_MUS_BRIDGE_WM_SHELF_MUS_H_ | 61 #endif // ASH_MUS_BRIDGE_WM_SHELF_MUS_H_ |
| OLD | NEW |