| 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 58 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 69 aura::Window* target) override; | 69 aura::Window* target) override; |
| 70 aura::PropertyConverter* GetPropertyConverter() override; | 70 aura::PropertyConverter* GetPropertyConverter() override; |
| 71 | 71 |
| 72 // aura::WindowManagerDelegate: | 72 // aura::WindowManagerDelegate: |
| 73 void SetWindowManagerClient(aura::WindowManagerClient* client) override; | 73 void SetWindowManagerClient(aura::WindowManagerClient* client) override; |
| 74 bool OnWmSetBounds(aura::Window* window, gfx::Rect* bounds) override; | 74 bool OnWmSetBounds(aura::Window* window, gfx::Rect* bounds) override; |
| 75 bool OnWmSetProperty( | 75 bool OnWmSetProperty( |
| 76 aura::Window* window, | 76 aura::Window* window, |
| 77 const std::string& name, | 77 const std::string& name, |
| 78 std::unique_ptr<std::vector<uint8_t>>* new_data) override; | 78 std::unique_ptr<std::vector<uint8_t>>* new_data) override; |
| 79 void OnWmSetModalType(aura::Window* window, ui::ModalType type) override; |
| 79 void OnWmSetCanFocus(aura::Window* window, bool can_focus) override; | 80 void OnWmSetCanFocus(aura::Window* window, bool can_focus) override; |
| 80 aura::Window* OnWmCreateTopLevelWindow( | 81 aura::Window* OnWmCreateTopLevelWindow( |
| 81 ui::mojom::WindowType window_type, | 82 ui::mojom::WindowType window_type, |
| 82 std::map<std::string, std::vector<uint8_t>>* properties) override; | 83 std::map<std::string, std::vector<uint8_t>>* properties) override; |
| 83 void OnWmClientJankinessChanged(const std::set<aura::Window*>& client_windows, | 84 void OnWmClientJankinessChanged(const std::set<aura::Window*>& client_windows, |
| 84 bool janky) override; | 85 bool janky) override; |
| 85 void OnWmWillCreateDisplay(const display::Display& display) override; | 86 void OnWmWillCreateDisplay(const display::Display& display) override; |
| 86 void OnWmNewDisplay(std::unique_ptr<aura::WindowTreeHostMus> window_tree_host, | 87 void OnWmNewDisplay(std::unique_ptr<aura::WindowTreeHostMus> window_tree_host, |
| 87 const display::Display& display) override; | 88 const display::Display& display) override; |
| 88 void OnWmDisplayRemoved(aura::WindowTreeHostMus* window_tree_host) override; | 89 void OnWmDisplayRemoved(aura::WindowTreeHostMus* window_tree_host) override; |
| (...skipping 34 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 123 std::unique_ptr<WorkspaceLayoutManager> workspace_layout_manager_; | 124 std::unique_ptr<WorkspaceLayoutManager> workspace_layout_manager_; |
| 124 | 125 |
| 125 bool started_ = false; | 126 bool started_ = false; |
| 126 | 127 |
| 127 DISALLOW_COPY_AND_ASSIGN(SimpleWM); | 128 DISALLOW_COPY_AND_ASSIGN(SimpleWM); |
| 128 }; | 129 }; |
| 129 | 130 |
| 130 } // namespace simple_wm | 131 } // namespace simple_wm |
| 131 | 132 |
| 132 #endif // MASH_SIMPLE_WM_SIMPLE_WM_H_ | 133 #endif // MASH_SIMPLE_WM_SIMPLE_WM_H_ |
| OLD | NEW |