| 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 void OnWmDeactivateWindow(aura::Window* window) override; |
| 103 | 104 |
| 104 // wm::BaseFocusRules: | 105 // wm::BaseFocusRules: |
| 105 bool SupportsChildActivation(aura::Window* window) const override; | 106 bool SupportsChildActivation(aura::Window* window) const override; |
| 106 bool IsWindowConsideredVisibleForActivation( | 107 bool IsWindowConsideredVisibleForActivation( |
| 107 aura::Window* window) const override; | 108 aura::Window* window) const override; |
| 108 | 109 |
| 109 FrameView* GetFrameViewForClientWindow(aura::Window* client_window); | 110 FrameView* GetFrameViewForClientWindow(aura::Window* client_window); |
| 110 | 111 |
| 111 void OnWindowListViewItemActivated(aura::Window* index); | 112 void OnWindowListViewItemActivated(aura::Window* index); |
| 112 | 113 |
| (...skipping 14 matching lines...) Expand all Loading... |
| 127 std::unique_ptr<WorkspaceLayoutManager> workspace_layout_manager_; | 128 std::unique_ptr<WorkspaceLayoutManager> workspace_layout_manager_; |
| 128 | 129 |
| 129 bool started_ = false; | 130 bool started_ = false; |
| 130 | 131 |
| 131 DISALLOW_COPY_AND_ASSIGN(SimpleWM); | 132 DISALLOW_COPY_AND_ASSIGN(SimpleWM); |
| 132 }; | 133 }; |
| 133 | 134 |
| 134 } // namespace simple_wm | 135 } // namespace simple_wm |
| 135 | 136 |
| 136 #endif // MASH_SIMPLE_WM_SIMPLE_WM_H_ | 137 #endif // MASH_SIMPLE_WM_SIMPLE_WM_H_ |
| OLD | NEW |