| 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 MASH_SIMPLE_WM_SIMPLE_WM_H_ | 5 #ifndef MASH_SIMPLE_WM_SIMPLE_WM_H_ |
| 6 #define MASH_SIMPLE_WM_SIMPLE_WM_H_ | 6 #define MASH_SIMPLE_WM_SIMPLE_WM_H_ |
| 7 | 7 |
| 8 #include <memory> | 8 #include <memory> |
| 9 #include <utility> | 9 #include <utility> |
| 10 | 10 |
| (...skipping 82 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 93 void OnWmDisplayModified(const display::Display& display) override; | 93 void OnWmDisplayModified(const display::Display& display) override; |
| 94 void OnWmPerformMoveLoop(aura::Window* window, | 94 void OnWmPerformMoveLoop(aura::Window* window, |
| 95 ui::mojom::MoveLoopSource source, | 95 ui::mojom::MoveLoopSource source, |
| 96 const gfx::Point& cursor_location, | 96 const gfx::Point& cursor_location, |
| 97 const base::Callback<void(bool)>& on_done) override; | 97 const base::Callback<void(bool)>& on_done) override; |
| 98 void OnWmCancelMoveLoop(aura::Window* window) override; | 98 void OnWmCancelMoveLoop(aura::Window* window) override; |
| 99 void OnWmSetClientArea( | 99 void OnWmSetClientArea( |
| 100 aura::Window* window, | 100 aura::Window* window, |
| 101 const gfx::Insets& insets, | 101 const gfx::Insets& insets, |
| 102 const std::vector<gfx::Rect>& additional_client_areas) override; | 102 const std::vector<gfx::Rect>& additional_client_areas) override; |
| 103 bool IsWindowActive(aura::Window* window) override; |
| 104 void OnWmDeactivateWindow(aura::Window* window) override; |
| 103 | 105 |
| 104 // wm::BaseFocusRules: | 106 // wm::BaseFocusRules: |
| 105 bool SupportsChildActivation(aura::Window* window) const override; | 107 bool SupportsChildActivation(aura::Window* window) const override; |
| 106 bool IsWindowConsideredVisibleForActivation( | 108 bool IsWindowConsideredVisibleForActivation( |
| 107 aura::Window* window) const override; | 109 aura::Window* window) const override; |
| 108 | 110 |
| 109 FrameView* GetFrameViewForClientWindow(aura::Window* client_window); | 111 FrameView* GetFrameViewForClientWindow(aura::Window* client_window); |
| 110 | 112 |
| 111 void OnWindowListViewItemActivated(aura::Window* index); | 113 void OnWindowListViewItemActivated(aura::Window* index); |
| 112 | 114 |
| (...skipping 14 matching lines...) Expand all Loading... |
| 127 std::unique_ptr<WorkspaceLayoutManager> workspace_layout_manager_; | 129 std::unique_ptr<WorkspaceLayoutManager> workspace_layout_manager_; |
| 128 | 130 |
| 129 bool started_ = false; | 131 bool started_ = false; |
| 130 | 132 |
| 131 DISALLOW_COPY_AND_ASSIGN(SimpleWM); | 133 DISALLOW_COPY_AND_ASSIGN(SimpleWM); |
| 132 }; | 134 }; |
| 133 | 135 |
| 134 } // namespace simple_wm | 136 } // namespace simple_wm |
| 135 | 137 |
| 136 #endif // MASH_SIMPLE_WM_SIMPLE_WM_H_ | 138 #endif // MASH_SIMPLE_WM_SIMPLE_WM_H_ |
| OLD | NEW |