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

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

Issue 1895873006: compositor-worker: Initialize CW machinery plumbing to compositor and fire CW rAF callbacks. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Include WebCompositorMutatorClient from WebLayerTreeView to allow unique_ptr usage. Created 4 years, 6 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 16 matching lines...) Expand all
27 ProxyMain* proxy_main, 27 ProxyMain* proxy_main,
28 TaskRunnerProvider* task_runner_provider); 28 TaskRunnerProvider* task_runner_provider);
29 29
30 ~RemoteChannelMain() override; 30 ~RemoteChannelMain() override;
31 31
32 // ChannelMain implementation 32 // ChannelMain implementation
33 void UpdateTopControlsStateOnImpl(TopControlsState constraints, 33 void UpdateTopControlsStateOnImpl(TopControlsState constraints,
34 TopControlsState current, 34 TopControlsState current,
35 bool animate) override; 35 bool animate) override;
36 void InitializeOutputSurfaceOnImpl(OutputSurface* output_surface) override; 36 void InitializeOutputSurfaceOnImpl(OutputSurface* output_surface) override;
37 void InitializeMutatorOnImpl(
38 std::unique_ptr<LayerTreeMutator> mutator) override;
37 void MainThreadHasStoppedFlingingOnImpl() override; 39 void MainThreadHasStoppedFlingingOnImpl() override;
38 void SetInputThrottledUntilCommitOnImpl(bool is_throttled) override; 40 void SetInputThrottledUntilCommitOnImpl(bool is_throttled) override;
39 void SetDeferCommitsOnImpl(bool defer_commits) override; 41 void SetDeferCommitsOnImpl(bool defer_commits) override;
40 void FinishAllRenderingOnImpl(CompletionEvent* completion) override; 42 void FinishAllRenderingOnImpl(CompletionEvent* completion) override;
41 void SetVisibleOnImpl(bool visible) override; 43 void SetVisibleOnImpl(bool visible) override;
42 void ReleaseOutputSurfaceOnImpl(CompletionEvent* completion) override; 44 void ReleaseOutputSurfaceOnImpl(CompletionEvent* completion) override;
43 void MainFrameWillHappenOnImplForTesting( 45 void MainFrameWillHappenOnImplForTesting(
44 CompletionEvent* completion, 46 CompletionEvent* completion,
45 bool* main_frame_will_happen) override; 47 bool* main_frame_will_happen) override;
46 void SetNeedsRedrawOnImpl(const gfx::Rect& damage_rect) override; 48 void SetNeedsRedrawOnImpl(const gfx::Rect& damage_rect) override;
(...skipping 34 matching lines...) Expand 10 before | Expand all | Expand 10 after
81 bool initialized_; 83 bool initialized_;
82 84
83 base::WeakPtrFactory<RemoteChannelMain> weak_factory_; 85 base::WeakPtrFactory<RemoteChannelMain> weak_factory_;
84 86
85 DISALLOW_COPY_AND_ASSIGN(RemoteChannelMain); 87 DISALLOW_COPY_AND_ASSIGN(RemoteChannelMain);
86 }; 88 };
87 89
88 } // namespace cc 90 } // namespace cc
89 91
90 #endif // CC_TREES_REMOTE_CHANNEL_MAIN_H_ 92 #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