| 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 "components/mus/ws/client_connection.h" | 5 #include "components/mus/ws/client_connection.h" |
| 6 | 6 |
| 7 #include "components/mus/ws/connection_manager.h" | 7 #include "components/mus/ws/connection_manager.h" |
| 8 #include "components/mus/ws/window_tree_impl.h" | 8 #include "components/mus/ws/window_tree_impl.h" |
| 9 | 9 |
| 10 namespace mus { | 10 namespace mus { |
| (...skipping 21 matching lines...) Expand all Loading... |
| 32 DefaultClientConnection::~DefaultClientConnection() {} | 32 DefaultClientConnection::~DefaultClientConnection() {} |
| 33 | 33 |
| 34 void DefaultClientConnection::SetIncomingMethodCallProcessingPaused( | 34 void DefaultClientConnection::SetIncomingMethodCallProcessingPaused( |
| 35 bool paused) { | 35 bool paused) { |
| 36 if (paused) | 36 if (paused) |
| 37 binding_.PauseIncomingMethodCallProcessing(); | 37 binding_.PauseIncomingMethodCallProcessing(); |
| 38 else | 38 else |
| 39 binding_.ResumeIncomingMethodCallProcessing(); | 39 binding_.ResumeIncomingMethodCallProcessing(); |
| 40 } | 40 } |
| 41 | 41 |
| 42 mojom::WindowManagerInternal* | 42 mojom::WindowManager* DefaultClientConnection::GetWindowManager() { |
| 43 DefaultClientConnection::GetWindowManagerInternal() { | 43 client_->GetWindowManager( |
| 44 client_->GetWindowManagerInternal( | |
| 45 GetProxy(&window_manager_internal_, client_.associated_group())); | 44 GetProxy(&window_manager_internal_, client_.associated_group())); |
| 46 return window_manager_internal_.get(); | 45 return window_manager_internal_.get(); |
| 47 } | 46 } |
| 48 | 47 |
| 49 } // namespace ws | 48 } // namespace ws |
| 50 } // namespace mus | 49 } // namespace mus |
| OLD | NEW |