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

Side by Side Diff: cc/trees/channel_main.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/trees/channel_impl.h ('k') | cc/trees/damage_tracker.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 CC_TREES_CHANNEL_MAIN_H_ 5 #ifndef CC_TREES_CHANNEL_MAIN_H_
6 #define CC_TREES_CHANNEL_MAIN_H_ 6 #define CC_TREES_CHANNEL_MAIN_H_
7 7
8 #include "cc/base/cc_export.h" 8 #include "cc/base/cc_export.h"
9 #include "cc/base/completion_event.h" 9 #include "cc/base/completion_event.h"
10 #include "cc/input/top_controls_state.h" 10 #include "cc/input/top_controls_state.h"
(...skipping 38 matching lines...) Expand 10 before | Expand all | Expand 10 after
49 CommitEarlyOutReason reason, 49 CommitEarlyOutReason reason,
50 base::TimeTicks main_thread_start_time) = 0; 50 base::TimeTicks main_thread_start_time) = 0;
51 virtual void StartCommitOnImpl(CompletionEvent* completion, 51 virtual void StartCommitOnImpl(CompletionEvent* completion,
52 LayerTreeHost* layer_tree_host, 52 LayerTreeHost* layer_tree_host,
53 base::TimeTicks main_thread_start_time, 53 base::TimeTicks main_thread_start_time,
54 bool hold_commit_for_activation) = 0; 54 bool hold_commit_for_activation) = 0;
55 55
56 // Must be called before using the channel. 56 // Must be called before using the channel.
57 virtual void SynchronouslyInitializeImpl( 57 virtual void SynchronouslyInitializeImpl(
58 LayerTreeHost* layer_tree_host, 58 LayerTreeHost* layer_tree_host,
59 scoped_ptr<BeginFrameSource> external_begin_frame_source) = 0; 59 std::unique_ptr<BeginFrameSource> external_begin_frame_source) = 0;
60 60
61 // Must be called before deleting the channel. 61 // Must be called before deleting the channel.
62 virtual void SynchronouslyCloseImpl() = 0; 62 virtual void SynchronouslyCloseImpl() = 0;
63 }; 63 };
64 64
65 } // namespace cc 65 } // namespace cc
66 66
67 #endif // CC_TREES_CHANNEL_MAIN_H_ 67 #endif // CC_TREES_CHANNEL_MAIN_H_
OLDNEW
« no previous file with comments | « cc/trees/channel_impl.h ('k') | cc/trees/damage_tracker.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698