Index: components/mus/ws/client_connection.cc |
diff --git a/components/mus/ws/client_connection.cc b/components/mus/ws/client_connection.cc |
index c9142c562189bbb118f3f623b740405016807e82..812067688c9eaee8c681f01cf25fbaccac256a8b 100644 |
--- a/components/mus/ws/client_connection.cc |
+++ b/components/mus/ws/client_connection.cc |
@@ -8,7 +8,6 @@ |
#include "components/mus/ws/window_tree_impl.h" |
namespace mus { |
- |
namespace ws { |
ClientConnection::ClientConnection(scoped_ptr<WindowTreeImpl> service, |
@@ -32,6 +31,14 @@ DefaultClientConnection::DefaultClientConnection( |
DefaultClientConnection::~DefaultClientConnection() {} |
+void DefaultClientConnection::SetIncomingMethodCallProcessingPaused( |
+ bool paused) { |
+ if (paused) |
+ binding_.PauseIncomingMethodCallProcessing(); |
+ else |
+ binding_.ResumeIncomingMethodCallProcessing(); |
+} |
+ |
mojom::WindowManagerInternal* |
DefaultClientConnection::GetWindowManagerInternal() { |
client_->GetWindowManagerInternal( |
@@ -40,5 +47,4 @@ DefaultClientConnection::GetWindowManagerInternal() { |
} |
} // namespace ws |
- |
} // namespace mus |