| 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 40 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 51 | 51 |
| 52 // service_manager::Service: | 52 // service_manager::Service: |
| 53 void OnStart() override; | 53 void OnStart() override; |
| 54 bool OnConnect(const service_manager::ServiceInfo& remote_info, | 54 bool OnConnect(const service_manager::ServiceInfo& remote_info, |
| 55 service_manager::InterfaceRegistry* registry) override; | 55 service_manager::InterfaceRegistry* registry) override; |
| 56 | 56 |
| 57 // aura::WindowTreeClientDelegate: | 57 // aura::WindowTreeClientDelegate: |
| 58 void OnEmbed( | 58 void OnEmbed( |
| 59 std::unique_ptr<aura::WindowTreeHostMus> window_tree_host) override; | 59 std::unique_ptr<aura::WindowTreeHostMus> window_tree_host) override; |
| 60 void OnLostConnection(aura::WindowTreeClient* client) override; | 60 void OnLostConnection(aura::WindowTreeClient* client) override; |
| 61 void OnEmbedRootDestroyed(aura::Window* root) override; | 61 void OnEmbedRootDestroyed(aura::WindowTreeHostMus* window_tree_host) override; |
| 62 void OnPointerEventObserved(const ui::PointerEvent& event, | 62 void OnPointerEventObserved(const ui::PointerEvent& event, |
| 63 aura::Window* target) override; | 63 aura::Window* target) override; |
| 64 aura::client::CaptureClient* GetCaptureClient() override; | 64 aura::client::CaptureClient* GetCaptureClient() override; |
| 65 aura::PropertyConverter* GetPropertyConverter() override; | 65 aura::PropertyConverter* GetPropertyConverter() override; |
| 66 | 66 |
| 67 // aura::WindowManagerDelegate: | 67 // aura::WindowManagerDelegate: |
| 68 void SetWindowManagerClient(aura::WindowManagerClient* client) override; | 68 void SetWindowManagerClient(aura::WindowManagerClient* client) override; |
| 69 bool OnWmSetBounds(aura::Window* window, gfx::Rect* bounds) override; | 69 bool OnWmSetBounds(aura::Window* window, gfx::Rect* bounds) override; |
| 70 bool OnWmSetProperty( | 70 bool OnWmSetProperty( |
| 71 aura::Window* window, | 71 aura::Window* window, |
| (...skipping 35 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 107 std::map<aura::Window*, FrameView*> client_window_to_frame_view_; | 107 std::map<aura::Window*, FrameView*> client_window_to_frame_view_; |
| 108 | 108 |
| 109 bool started_ = false; | 109 bool started_ = false; |
| 110 | 110 |
| 111 DISALLOW_COPY_AND_ASSIGN(SimpleWM); | 111 DISALLOW_COPY_AND_ASSIGN(SimpleWM); |
| 112 }; | 112 }; |
| 113 | 113 |
| 114 } // namespace simple_wm | 114 } // namespace simple_wm |
| 115 | 115 |
| 116 #endif // MASH_SIMPLE_WM_SIMPLE_WM_H_ | 116 #endif // MASH_SIMPLE_WM_SIMPLE_WM_H_ |
| OLD | NEW |