| OLD | NEW |
| 1 // Copyright 2014 The Chromium Authors. All rights reserved. | 1 // Copyright 2014 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 #include "services/kiosk_wm/kiosk_wm.h" | 5 #include "services/kiosk_wm/kiosk_wm.h" |
| 6 | 6 |
| 7 #include "mojo/services/window_manager/public/interfaces/window_manager.mojom.h" | 7 #include "mojo/services/window_manager/interfaces/window_manager.mojom.h" |
| 8 #include "services/kiosk_wm/kiosk_wm_controller.h" | 8 #include "services/kiosk_wm/kiosk_wm_controller.h" |
| 9 #include "services/window_manager/window_manager_delegate.h" | 9 #include "services/window_manager/window_manager_delegate.h" |
| 10 | 10 |
| 11 namespace kiosk_wm { | 11 namespace kiosk_wm { |
| 12 | 12 |
| 13 KioskWM::KioskWM() | 13 KioskWM::KioskWM() |
| 14 : window_manager_app_(new window_manager::WindowManagerApp(this)) {} | 14 : window_manager_app_(new window_manager::WindowManagerApp(this)) {} |
| 15 | 15 |
| 16 KioskWM::~KioskWM() {} | 16 KioskWM::~KioskWM() {} |
| 17 | 17 |
| (...skipping 17 matching lines...) Expand all Loading... |
| 35 new KioskWMController(wm_root)); | 35 new KioskWMController(wm_root)); |
| 36 } | 36 } |
| 37 | 37 |
| 38 bool KioskWM::ConfigureIncomingConnection( | 38 bool KioskWM::ConfigureIncomingConnection( |
| 39 mojo::ApplicationConnection* connection) { | 39 mojo::ApplicationConnection* connection) { |
| 40 window_manager_app_->ConfigureIncomingConnection(connection); | 40 window_manager_app_->ConfigureIncomingConnection(connection); |
| 41 return true; | 41 return true; |
| 42 } | 42 } |
| 43 | 43 |
| 44 } // namespace kiosk_wm | 44 } // namespace kiosk_wm |
| OLD | NEW |