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

Side by Side Diff: components/exo/surface.h

Issue 1868363002: Replace scoped_ptr with std::unique_ptr in //ui (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@scopedptrcc
Patch Set: scopedptrui: rebase-make_scoped_ptr 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 | « chrome/test/base/view_event_test_base.h ('k') | components/history/core/test/thumbnail.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 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 COMPONENTS_EXO_SURFACE_H_ 5 #ifndef COMPONENTS_EXO_SURFACE_H_
6 #define COMPONENTS_EXO_SURFACE_H_ 6 #define COMPONENTS_EXO_SURFACE_H_
7 7
8 #include <list> 8 #include <list>
9 #include <utility> 9 #include <utility>
10 10
11 #include "base/callback.h" 11 #include "base/callback.h"
12 #include "base/macros.h" 12 #include "base/macros.h"
13 #include "base/memory/scoped_ptr.h"
13 #include "base/memory/weak_ptr.h" 14 #include "base/memory/weak_ptr.h"
14 #include "base/observer_list.h" 15 #include "base/observer_list.h"
15 #include "third_party/skia/include/core/SkRegion.h" 16 #include "third_party/skia/include/core/SkRegion.h"
16 #include "ui/aura/window.h" 17 #include "ui/aura/window.h"
17 #include "ui/aura/window_observer.h" 18 #include "ui/aura/window_observer.h"
18 #include "ui/compositor/compositor_observer.h" 19 #include "ui/compositor/compositor_observer.h"
19 #include "ui/gfx/geometry/rect.h" 20 #include "ui/gfx/geometry/rect.h"
20 21
21 namespace base { 22 namespace base {
22 namespace trace_event { 23 namespace trace_event {
(...skipping 202 matching lines...) Expand 10 before | Expand all | Expand 10 after
225 226
226 // Surface observer list. Surface does not own the observers. 227 // Surface observer list. Surface does not own the observers.
227 base::ObserverList<SurfaceObserver, true> observers_; 228 base::ObserverList<SurfaceObserver, true> observers_;
228 229
229 DISALLOW_COPY_AND_ASSIGN(Surface); 230 DISALLOW_COPY_AND_ASSIGN(Surface);
230 }; 231 };
231 232
232 } // namespace exo 233 } // namespace exo
233 234
234 #endif // COMPONENTS_EXO_SURFACE_H_ 235 #endif // COMPONENTS_EXO_SURFACE_H_
OLDNEW
« no previous file with comments | « chrome/test/base/view_event_test_base.h ('k') | components/history/core/test/thumbnail.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698