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

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

Issue 1547893003: WIP - compositor worker mega patch. Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: . Created 4 years, 11 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/proxy_main.cc ('k') | cc/trees/threaded_channel.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 2011 The Chromium Authors. All rights reserved. 1 // Copyright 2011 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_SINGLE_THREAD_PROXY_H_ 5 #ifndef CC_TREES_SINGLE_THREAD_PROXY_H_
6 #define CC_TREES_SINGLE_THREAD_PROXY_H_ 6 #define CC_TREES_SINGLE_THREAD_PROXY_H_
7 7
8 #include <limits> 8 #include <limits>
9 9
10 #include "base/cancelable_callback.h" 10 #include "base/cancelable_callback.h"
(...skipping 37 matching lines...) Expand 10 before | Expand all | Expand 10 after
48 void SetNeedsCommit() override; 48 void SetNeedsCommit() override;
49 void SetNeedsRedraw(const gfx::Rect& damage_rect) override; 49 void SetNeedsRedraw(const gfx::Rect& damage_rect) override;
50 void SetNextCommitWaitsForActivation() override; 50 void SetNextCommitWaitsForActivation() override;
51 void NotifyInputThrottledUntilCommit() override {} 51 void NotifyInputThrottledUntilCommit() override {}
52 void SetDeferCommits(bool defer_commits) override; 52 void SetDeferCommits(bool defer_commits) override;
53 bool CommitRequested() const override; 53 bool CommitRequested() const override;
54 bool BeginMainFrameRequested() const override; 54 bool BeginMainFrameRequested() const override;
55 void MainThreadHasStoppedFlinging() override {} 55 void MainThreadHasStoppedFlinging() override {}
56 void Start(scoped_ptr<BeginFrameSource> external_begin_frame_source) override; 56 void Start(scoped_ptr<BeginFrameSource> external_begin_frame_source) override;
57 void Stop() override; 57 void Stop() override;
58 void SetMutator(LayerTreeMutator* mutator) override {}
58 bool SupportsImplScrolling() const override; 59 bool SupportsImplScrolling() const override;
59 bool MainFrameWillHappenForTesting() override; 60 bool MainFrameWillHappenForTesting() override;
60 void SetChildrenNeedBeginFrames(bool children_need_begin_frames) override; 61 void SetChildrenNeedBeginFrames(bool children_need_begin_frames) override;
61 void SetAuthoritativeVSyncInterval(const base::TimeDelta& interval) override; 62 void SetAuthoritativeVSyncInterval(const base::TimeDelta& interval) override;
62 void UpdateTopControlsState(TopControlsState constraints, 63 void UpdateTopControlsState(TopControlsState constraints,
63 TopControlsState current, 64 TopControlsState current,
64 bool animate) override; 65 bool animate) override;
65 66
66 // SchedulerClient implementation 67 // SchedulerClient implementation
67 void WillBeginImplFrame(const BeginFrameArgs& args) override; 68 void WillBeginImplFrame(const BeginFrameArgs& args) override;
(...skipping 165 matching lines...) Expand 10 before | Expand all | Expand 10 after
233 private: 234 private:
234 DebugScopedSetImplThread impl_thread_; 235 DebugScopedSetImplThread impl_thread_;
235 DebugScopedSetMainThreadBlocked main_thread_blocked_; 236 DebugScopedSetMainThreadBlocked main_thread_blocked_;
236 237
237 DISALLOW_COPY_AND_ASSIGN(DebugScopedSetImplThreadAndMainThreadBlocked); 238 DISALLOW_COPY_AND_ASSIGN(DebugScopedSetImplThreadAndMainThreadBlocked);
238 }; 239 };
239 240
240 } // namespace cc 241 } // namespace cc
241 242
242 #endif // CC_TREES_SINGLE_THREAD_PROXY_H_ 243 #endif // CC_TREES_SINGLE_THREAD_PROXY_H_
OLDNEW
« no previous file with comments | « cc/trees/proxy_main.cc ('k') | cc/trees/threaded_channel.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698