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

Side by Side Diff: cc/animation/animation_timeline.h

Issue 1866203004: Convert //cc from scoped_ptr to std::unique_ptr. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: scopedptrcc: rebase 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 | « cc/animation/animation_registrar.cc ('k') | cc/animation/animation_timeline_unittest.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 CC_ANIMATION_ANIMATION_TIMELINE_H_ 5 #ifndef CC_ANIMATION_ANIMATION_TIMELINE_H_
6 #define CC_ANIMATION_ANIMATION_TIMELINE_H_ 6 #define CC_ANIMATION_ANIMATION_TIMELINE_H_
7 7
8 #include <memory>
8 #include <unordered_map> 9 #include <unordered_map>
9 10
10 #include "base/macros.h" 11 #include "base/macros.h"
11 #include "base/memory/ref_counted.h" 12 #include "base/memory/ref_counted.h"
12 #include "base/memory/scoped_ptr.h"
13 #include "cc/base/cc_export.h" 13 #include "cc/base/cc_export.h"
14 14
15 namespace cc { 15 namespace cc {
16 16
17 class AnimationHost; 17 class AnimationHost;
18 class AnimationPlayer; 18 class AnimationPlayer;
19 19
20 // An AnimationTimeline owns a group of AnimationPlayers. 20 // An AnimationTimeline owns a group of AnimationPlayers.
21 // This is a cc counterpart for blink::AnimationTimeline (in 1:1 relationship). 21 // This is a cc counterpart for blink::AnimationTimeline (in 1:1 relationship).
22 // Each AnimationTimeline and its AnimationPlayers have their copies on 22 // Each AnimationTimeline and its AnimationPlayers have their copies on
(...skipping 45 matching lines...) Expand 10 before | Expand all | Expand 10 after
68 // Impl-only AnimationTimeline has no main thread instance and lives on 68 // Impl-only AnimationTimeline has no main thread instance and lives on
69 // it's own. 69 // it's own.
70 bool is_impl_only_; 70 bool is_impl_only_;
71 71
72 DISALLOW_COPY_AND_ASSIGN(AnimationTimeline); 72 DISALLOW_COPY_AND_ASSIGN(AnimationTimeline);
73 }; 73 };
74 74
75 } // namespace cc 75 } // namespace cc
76 76
77 #endif // CC_ANIMATION_ANIMATION_TIMELINE_H_ 77 #endif // CC_ANIMATION_ANIMATION_TIMELINE_H_
OLDNEW
« no previous file with comments | « cc/animation/animation_registrar.cc ('k') | cc/animation/animation_timeline_unittest.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698