| 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_SHELL_AURA_H_ | 5 #ifndef ASH_AURA_WM_SHELL_AURA_H_ |
| 6 #define ASH_AURA_WM_SHELL_AURA_H_ | 6 #define ASH_AURA_WM_SHELL_AURA_H_ |
| 7 | 7 |
| 8 #include <memory> | 8 #include <memory> |
| 9 | 9 |
| 10 #include "ash/ash_export.h" | 10 #include "ash/ash_export.h" |
| (...skipping 20 matching lines...) Expand all Loading... |
| 31 WmWindow* NewContainerWindow() override; | 31 WmWindow* NewContainerWindow() override; |
| 32 WmWindow* GetFocusedWindow() override; | 32 WmWindow* GetFocusedWindow() override; |
| 33 WmWindow* GetActiveWindow() override; | 33 WmWindow* GetActiveWindow() override; |
| 34 WmWindow* GetPrimaryRootWindow() override; | 34 WmWindow* GetPrimaryRootWindow() override; |
| 35 WmWindow* GetRootWindowForDisplayId(int64_t display_id) override; | 35 WmWindow* GetRootWindowForDisplayId(int64_t display_id) override; |
| 36 const DisplayInfo& GetDisplayInfo(int64_t display_id) const override; | 36 const DisplayInfo& GetDisplayInfo(int64_t display_id) const override; |
| 37 bool IsActiveDisplayId(int64_t display_id) const override; | 37 bool IsActiveDisplayId(int64_t display_id) const override; |
| 38 display::Display GetFirstDisplay() const override; | 38 display::Display GetFirstDisplay() const override; |
| 39 bool IsInUnifiedMode() const override; | 39 bool IsInUnifiedMode() const override; |
| 40 bool IsForceMaximizeOnFirstRun() override; | 40 bool IsForceMaximizeOnFirstRun() override; |
| 41 void SetDisplayWorkAreaInsets(WmWindow* window, |
| 42 const gfx::Insets& insets) override; |
| 41 bool IsPinned() override; | 43 bool IsPinned() override; |
| 42 void SetPinnedWindow(WmWindow* window) override; | 44 void SetPinnedWindow(WmWindow* window) override; |
| 43 bool CanShowWindowForUser(WmWindow* window) override; | 45 bool CanShowWindowForUser(WmWindow* window) override; |
| 44 void LockCursor() override; | 46 void LockCursor() override; |
| 45 void UnlockCursor() override; | 47 void UnlockCursor() override; |
| 46 std::vector<WmWindow*> GetAllRootWindows() override; | 48 std::vector<WmWindow*> GetAllRootWindows() override; |
| 47 void RecordGestureAction(GestureActionType action) override; | 49 void RecordGestureAction(GestureActionType action) override; |
| 48 void RecordUserMetricsAction(UserMetricsAction action) override; | 50 void RecordUserMetricsAction(UserMetricsAction action) override; |
| 49 void RecordTaskSwitchMetric(TaskSwitchSource source) override; | 51 void RecordTaskSwitchMetric(TaskSwitchSource source) override; |
| 50 void ShowContextMenu(const gfx::Point& location_in_screen, | 52 void ShowContextMenu(const gfx::Point& location_in_screen, |
| (...skipping 41 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 92 | 94 |
| 93 bool added_display_observer_ = false; | 95 bool added_display_observer_ = false; |
| 94 base::ObserverList<WmDisplayObserver> display_observers_; | 96 base::ObserverList<WmDisplayObserver> display_observers_; |
| 95 | 97 |
| 96 DISALLOW_COPY_AND_ASSIGN(WmShellAura); | 98 DISALLOW_COPY_AND_ASSIGN(WmShellAura); |
| 97 }; | 99 }; |
| 98 | 100 |
| 99 } // namespace ash | 101 } // namespace ash |
| 100 | 102 |
| 101 #endif // ASH_AURA_WM_SHELL_AURA_H_ | 103 #endif // ASH_AURA_WM_SHELL_AURA_H_ |
| OLD | NEW |