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

Side by Side Diff: components/mus/ws/accelerator.h

Issue 1906623003: Convert //components/mus from scoped_ptr to std::unique_ptr (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 4 years, 8 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 | « components/mus/public/cpp/window_tree_host_factory.h ('k') | components/mus/ws/display.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 2016 The Chromium Authors. All rights reserved. 1 // Copyright 2016 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 COMPONENTS_MUS_WS_ACCELERATOR_H_ 5 #ifndef COMPONENTS_MUS_WS_ACCELERATOR_H_
6 #define COMPONENTS_MUS_WS_ACCELERATOR_H_ 6 #define COMPONENTS_MUS_WS_ACCELERATOR_H_
7 7
8 #include <memory>
9
8 #include "base/macros.h" 10 #include "base/macros.h"
9 #include "base/memory/scoped_ptr.h"
10 #include "base/memory/weak_ptr.h" 11 #include "base/memory/weak_ptr.h"
11 #include "components/mus/public/interfaces/input_event_matcher.mojom.h" 12 #include "components/mus/public/interfaces/input_event_matcher.mojom.h"
12 #include "ui/events/event.h" 13 #include "ui/events/event.h"
13 #include "ui/gfx/geometry/rect_f.h" 14 #include "ui/gfx/geometry/rect_f.h"
14 15
15 namespace mus { 16 namespace mus {
16 namespace ws { 17 namespace ws {
17 18
18 // An Accelerator encompasses an id defined by the client, along with a unique 19 // An Accelerator encompasses an id defined by the client, along with a unique
19 // mojom::EventMatcher. See WindowManagerClient. 20 // mojom::EventMatcher. See WindowManagerClient.
(...skipping 42 matching lines...) Expand 10 before | Expand all | Expand 10 after
62 63
63 base::WeakPtrFactory<Accelerator> weak_factory_; 64 base::WeakPtrFactory<Accelerator> weak_factory_;
64 65
65 DISALLOW_COPY_AND_ASSIGN(Accelerator); 66 DISALLOW_COPY_AND_ASSIGN(Accelerator);
66 }; 67 };
67 68
68 } // namespace ws 69 } // namespace ws
69 } // namespace mus 70 } // namespace mus
70 71
71 #endif // COMPONENTS_MUS_WS_ACCELERATOR_H_ 72 #endif // COMPONENTS_MUS_WS_ACCELERATOR_H_
OLDNEW
« no previous file with comments | « components/mus/public/cpp/window_tree_host_factory.h ('k') | components/mus/ws/display.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698