Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(505)

Unified Diff: components/mus/ws/client_connection.cc

Issue 1567623003: Adds remainder of support for multiple roots to WS (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: fix comment Created 4 years, 11 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « components/mus/ws/client_connection.h ('k') | components/mus/ws/connection_manager.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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
« no previous file with comments | « components/mus/ws/client_connection.h ('k') | components/mus/ws/connection_manager.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698