summaryrefslogtreecommitdiffstats
path: root/mash/wm
diff options
context:
space:
mode:
authoryzshen <yzshen@chromium.org>2016-02-24 23:29:27 -0800
committerCommit bot <commit-bot@chromium.org>2016-02-25 07:30:23 +0000
commitd414dc34a7f87a2000e09c58b9ddbb5bd6b61463 (patch)
treea9ec402cbfbef1da3acde6071d992e2ade92ca8b /mash/wm
parentd910911b407efde31709e3a766a5ee776db4c626 (diff)
downloadchromium_src-d414dc34a7f87a2000e09c58b9ddbb5bd6b61463.zip
chromium_src-d414dc34a7f87a2000e09c58b9ddbb5bd6b61463.tar.gz
chromium_src-d414dc34a7f87a2000e09c58b9ddbb5bd6b61463.tar.bz2
Rename WeakBindingSet/WeakInterfacePtrSet to BindingSet/InterfacePtrSet.
This CL also renames the element type (WeakBinding/WeakInterfacePtr) to Element and hide them in the corresonding *Set class. BUG=None CQ_INCLUDE_TRYBOTS=tryserver.chromium.linux:linux_site_isolation Committed: https://crrev.com/632d319842096e6998d174e2f251865979ce2b72 Cr-Commit-Position: refs/heads/master@{#377384} Review URL: https://codereview.chromium.org/1735583002 Cr-Commit-Position: refs/heads/master@{#377528}
Diffstat (limited to 'mash/wm')
-rw-r--r--mash/wm/accelerator_registrar_impl.h2
-rw-r--r--mash/wm/window_manager_application.h4
2 files changed, 3 insertions, 3 deletions
diff --git a/mash/wm/accelerator_registrar_impl.h b/mash/wm/accelerator_registrar_impl.h
index fe470c6..3bde90f 100644
--- a/mash/wm/accelerator_registrar_impl.h
+++ b/mash/wm/accelerator_registrar_impl.h
@@ -13,8 +13,8 @@
#include "base/macros.h"
#include "components/mus/public/interfaces/accelerator_registrar.mojom.h"
#include "mash/wm/root_windows_observer.h"
+#include "mojo/public/cpp/bindings/binding_set.h"
#include "mojo/public/cpp/bindings/strong_binding.h"
-#include "mojo/public/cpp/bindings/weak_binding_set.h"
namespace mash {
namespace wm {
diff --git a/mash/wm/window_manager_application.h b/mash/wm/window_manager_application.h
index 7699b9f..7f2806f 100644
--- a/mash/wm/window_manager_application.h
+++ b/mash/wm/window_manager_application.h
@@ -19,7 +19,7 @@
#include "components/mus/public/interfaces/window_tree_host.mojom.h"
#include "mash/wm/public/interfaces/user_window_controller.mojom.h"
#include "mojo/public/cpp/bindings/binding.h"
-#include "mojo/public/cpp/bindings/weak_binding_set.h"
+#include "mojo/public/cpp/bindings/binding_set.h"
#include "mojo/services/tracing/public/cpp/tracing_impl.h"
#include "mojo/shell/public/cpp/shell_client.h"
@@ -107,7 +107,7 @@ class WindowManagerApplication
// |user_window_controller_| is created once OnEmbed() is called. Until that
// time |user_window_controller_requests_| stores pending interface requests.
scoped_ptr<UserWindowControllerImpl> user_window_controller_;
- mojo::WeakBindingSet<mash::wm::mojom::UserWindowController>
+ mojo::BindingSet<mash::wm::mojom::UserWindowController>
user_window_controller_binding_;
std::vector<
scoped_ptr<mojo::InterfaceRequest<mash::wm::mojom::UserWindowController>>>