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

Side by Side Diff: mash/wm/accelerator_registrar_impl.h

Issue 1735583002: Rename WeakBindingSet/WeakInterfacePtrSet to BindingSet/InterfacePtrSet. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 4 years, 10 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 unified diff | Download patch
« no previous file with comments | « mash/shell/shell_application_delegate.h ('k') | mash/wm/window_manager_application.h » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 // Copyright 2015 The Chromium Authors. All rights reserved. 1 // Copyright 2015 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 #ifndef MASH_WM_ACCELERATOR_REGISTRAR_IMPL_H_ 5 #ifndef MASH_WM_ACCELERATOR_REGISTRAR_IMPL_H_
6 #define MASH_WM_ACCELERATOR_REGISTRAR_IMPL_H_ 6 #define MASH_WM_ACCELERATOR_REGISTRAR_IMPL_H_
7 7
8 #include <stdint.h> 8 #include <stdint.h>
9 9
10 #include <map> 10 #include <map>
11 11
12 #include "base/callback.h" 12 #include "base/callback.h"
13 #include "base/macros.h" 13 #include "base/macros.h"
14 #include "components/mus/public/interfaces/accelerator_registrar.mojom.h" 14 #include "components/mus/public/interfaces/accelerator_registrar.mojom.h"
15 #include "mash/wm/root_windows_observer.h" 15 #include "mash/wm/root_windows_observer.h"
16 #include "mojo/public/cpp/bindings/binding_set.h"
16 #include "mojo/public/cpp/bindings/strong_binding.h" 17 #include "mojo/public/cpp/bindings/strong_binding.h"
17 #include "mojo/public/cpp/bindings/weak_binding_set.h"
18 18
19 namespace mash { 19 namespace mash {
20 namespace wm { 20 namespace wm {
21 21
22 class WindowManagerApplication; 22 class WindowManagerApplication;
23 23
24 // Manages AcceleratorHandlers from a particular AcceleratorRegistrar 24 // Manages AcceleratorHandlers from a particular AcceleratorRegistrar
25 // connection. This manages its own lifetime, and destroys itself when the 25 // connection. This manages its own lifetime, and destroys itself when the
26 // AcceleratorRegistrar and all its AcceleratorHandlers are disconnected. Upon 26 // AcceleratorRegistrar and all its AcceleratorHandlers are disconnected. Upon
27 // destruction, it calls the DestroyCallback. 27 // destruction, it calls the DestroyCallback.
(...skipping 45 matching lines...) Expand 10 before | Expand all | Expand 10 after
73 std::map<uint32_t, Accelerator> accelerators_; 73 std::map<uint32_t, Accelerator> accelerators_;
74 DestroyCallback destroy_callback_; 74 DestroyCallback destroy_callback_;
75 75
76 DISALLOW_COPY_AND_ASSIGN(AcceleratorRegistrarImpl); 76 DISALLOW_COPY_AND_ASSIGN(AcceleratorRegistrarImpl);
77 }; 77 };
78 78
79 } // namespace wm 79 } // namespace wm
80 } // namespace mash 80 } // namespace mash
81 81
82 #endif // MASH_WM_ACCELERATOR_REGISTRAR_IMPL_H_ 82 #endif // MASH_WM_ACCELERATOR_REGISTRAR_IMPL_H_
OLDNEW
« no previous file with comments | « mash/shell/shell_application_delegate.h ('k') | mash/wm/window_manager_application.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698