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

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

Issue 2231093003: cc: Remove FinishAllRendering, as it doesn't do anything anymore. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: finishallrendering: . Created 4 years, 4 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_main.cc ('k') | cc/trees/single_thread_proxy.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 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 18 matching lines...) Expand all
29 NON_EXPORTED_BASE(LayerTreeHostImplClient), 29 NON_EXPORTED_BASE(LayerTreeHostImplClient),
30 SchedulerClient { 30 SchedulerClient {
31 public: 31 public:
32 static std::unique_ptr<Proxy> Create( 32 static std::unique_ptr<Proxy> Create(
33 LayerTreeHost* layer_tree_host, 33 LayerTreeHost* layer_tree_host,
34 LayerTreeHostSingleThreadClient* client, 34 LayerTreeHostSingleThreadClient* client,
35 TaskRunnerProvider* task_runner_provider_); 35 TaskRunnerProvider* task_runner_provider_);
36 ~SingleThreadProxy() override; 36 ~SingleThreadProxy() override;
37 37
38 // Proxy implementation 38 // Proxy implementation
39 void FinishAllRendering() override;
40 bool IsStarted() const override; 39 bool IsStarted() const override;
41 bool CommitToActiveTree() const override; 40 bool CommitToActiveTree() const override;
42 void SetOutputSurface(OutputSurface* output_surface) override; 41 void SetOutputSurface(OutputSurface* output_surface) override;
43 void ReleaseOutputSurface() override; 42 void ReleaseOutputSurface() override;
44 void SetVisible(bool visible) override; 43 void SetVisible(bool visible) override;
45 const RendererCapabilities& GetRendererCapabilities() const override; 44 const RendererCapabilities& GetRendererCapabilities() const override;
46 void SetNeedsAnimate() override; 45 void SetNeedsAnimate() override;
47 void SetNeedsUpdateLayers() override; 46 void SetNeedsUpdateLayers() override;
48 void SetNeedsCommit() override; 47 void SetNeedsCommit() override;
49 void SetNeedsRedraw(const gfx::Rect& damage_rect) override; 48 void SetNeedsRedraw(const gfx::Rect& damage_rect) override;
(...skipping 191 matching lines...) Expand 10 before | Expand all | Expand 10 after
241 private: 240 private:
242 DebugScopedSetImplThread impl_thread_; 241 DebugScopedSetImplThread impl_thread_;
243 DebugScopedSetMainThreadBlocked main_thread_blocked_; 242 DebugScopedSetMainThreadBlocked main_thread_blocked_;
244 243
245 DISALLOW_COPY_AND_ASSIGN(DebugScopedSetImplThreadAndMainThreadBlocked); 244 DISALLOW_COPY_AND_ASSIGN(DebugScopedSetImplThreadAndMainThreadBlocked);
246 }; 245 };
247 246
248 } // namespace cc 247 } // namespace cc
249 248
250 #endif // CC_TREES_SINGLE_THREAD_PROXY_H_ 249 #endif // CC_TREES_SINGLE_THREAD_PROXY_H_
OLDNEW
« no previous file with comments | « cc/trees/remote_channel_main.cc ('k') | cc/trees/single_thread_proxy.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698