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

Side by Side Diff: cc/trees/remote_channel_main.h

Issue 2324273002: Remove external begin frame source parameter and settings (Closed)
Patch Set: Add back comment, remove more febfs includes Created 4 years, 3 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/remote_channel_impl.cc ('k') | cc/trees/remote_channel_main.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 CC_TREES_REMOTE_CHANNEL_MAIN_H_ 5 #ifndef CC_TREES_REMOTE_CHANNEL_MAIN_H_
6 #define CC_TREES_REMOTE_CHANNEL_MAIN_H_ 6 #define CC_TREES_REMOTE_CHANNEL_MAIN_H_
7 7
8 #include "base/macros.h" 8 #include "base/macros.h"
9 #include "cc/base/cc_export.h" 9 #include "cc/base/cc_export.h"
10 #include "cc/trees/channel_main.h" 10 #include "cc/trees/channel_main.h"
(...skipping 37 matching lines...) Expand 10 before | Expand all | Expand 10 after
48 void SetNeedsCommitOnImpl() override; 48 void SetNeedsCommitOnImpl() override;
49 void BeginMainFrameAbortedOnImpl( 49 void BeginMainFrameAbortedOnImpl(
50 CommitEarlyOutReason reason, 50 CommitEarlyOutReason reason,
51 base::TimeTicks main_thread_start_time, 51 base::TimeTicks main_thread_start_time,
52 std::vector<std::unique_ptr<SwapPromise>> swap_promises) override; 52 std::vector<std::unique_ptr<SwapPromise>> swap_promises) override;
53 void NotifyReadyToCommitOnImpl(CompletionEvent* completion, 53 void NotifyReadyToCommitOnImpl(CompletionEvent* completion,
54 LayerTreeHostInProcess* layer_tree_host, 54 LayerTreeHostInProcess* layer_tree_host,
55 base::TimeTicks main_thread_start_time, 55 base::TimeTicks main_thread_start_time,
56 bool hold_commit_for_activation) override; 56 bool hold_commit_for_activation) override;
57 void SynchronouslyInitializeImpl( 57 void SynchronouslyInitializeImpl(
58 LayerTreeHostInProcess* layer_tree_host, 58 LayerTreeHostInProcess* layer_tree_host) override;
59 std::unique_ptr<BeginFrameSource> external_begin_frame_source) override;
60 void SynchronouslyCloseImpl() override; 59 void SynchronouslyCloseImpl() override;
61 60
62 // RemoteProtoChannel::ProtoReceiver implementation 61 // RemoteProtoChannel::ProtoReceiver implementation
63 void OnProtoReceived( 62 void OnProtoReceived(
64 std::unique_ptr<proto::CompositorMessage> proto) override; 63 std::unique_ptr<proto::CompositorMessage> proto) override;
65 64
66 protected: 65 protected:
67 RemoteChannelMain(RemoteProtoChannel* remote_proto_channel, 66 RemoteChannelMain(RemoteProtoChannel* remote_proto_channel,
68 ProxyMain* proxy_main, 67 ProxyMain* proxy_main,
69 TaskRunnerProvider* task_runner_provider); 68 TaskRunnerProvider* task_runner_provider);
(...skipping 13 matching lines...) Expand all
83 bool initialized_; 82 bool initialized_;
84 83
85 base::WeakPtrFactory<RemoteChannelMain> weak_factory_; 84 base::WeakPtrFactory<RemoteChannelMain> weak_factory_;
86 85
87 DISALLOW_COPY_AND_ASSIGN(RemoteChannelMain); 86 DISALLOW_COPY_AND_ASSIGN(RemoteChannelMain);
88 }; 87 };
89 88
90 } // namespace cc 89 } // namespace cc
91 90
92 #endif // CC_TREES_REMOTE_CHANNEL_MAIN_H_ 91 #endif // CC_TREES_REMOTE_CHANNEL_MAIN_H_
OLDNEW
« no previous file with comments | « cc/trees/remote_channel_impl.cc ('k') | cc/trees/remote_channel_main.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698