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

Side by Side Diff: components/mus/common/window_tracker.h

Issue 1755003002: Remove MOJO_DISALLOW_COPY_AND_ASSIGN and MOJO_ALLOW_UNUSED_LOCAL. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Rebase Created 4 years, 9 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 | « no previous file | components/mus/public/cpp/lib/window.cc » ('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_COMMON_WINDOW_TRACKER_H_ 5 #ifndef COMPONENTS_MUS_COMMON_WINDOW_TRACKER_H_
6 #define COMPONENTS_MUS_COMMON_WINDOW_TRACKER_H_ 6 #define COMPONENTS_MUS_COMMON_WINDOW_TRACKER_H_
7 7
8 #include <vector> 8 #include <vector>
9 9
10 #include "base/stl_util.h" 10 #include "base/stl_util.h"
(...skipping 42 matching lines...) Expand 10 before | Expand all | Expand 10 after
53 53
54 // Observer overrides: 54 // Observer overrides:
55 void OnWindowDestroying(T* window) override { 55 void OnWindowDestroying(T* window) override {
56 DCHECK(Contains(window)); 56 DCHECK(Contains(window));
57 Remove(window); 57 Remove(window);
58 } 58 }
59 59
60 private: 60 private:
61 WindowList windows_; 61 WindowList windows_;
62 62
63 MOJO_DISALLOW_COPY_AND_ASSIGN(WindowTrackerTemplate); 63 DISALLOW_COPY_AND_ASSIGN(WindowTrackerTemplate);
64 }; 64 };
65 65
66 } // namespace mus 66 } // namespace mus
67 67
68 #endif // COMPONENTS_MUS_COMMON_WINDOW_TRACKER_H_ 68 #endif // COMPONENTS_MUS_COMMON_WINDOW_TRACKER_H_
OLDNEW
« no previous file with comments | « no previous file | components/mus/public/cpp/lib/window.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698