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

Side by Side Diff: cc/trees/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/layer_tree_host_impl.cc ('k') | cc/trees/proxy_impl.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_PROXY_H_ 5 #ifndef CC_TREES_PROXY_H_
6 #define CC_TREES_PROXY_H_ 6 #define CC_TREES_PROXY_H_
7 7
8 #include <memory> 8 #include <memory>
9 #include <string> 9 #include <string>
10 10
(...skipping 18 matching lines...) Expand all
29 class LayerTreeMutator; 29 class LayerTreeMutator;
30 class OutputSurface; 30 class OutputSurface;
31 struct RendererCapabilities; 31 struct RendererCapabilities;
32 32
33 // Abstract interface responsible for proxying commands from the main-thread 33 // Abstract interface responsible for proxying commands from the main-thread
34 // side of the compositor over to the compositor implementation. 34 // side of the compositor over to the compositor implementation.
35 class CC_EXPORT Proxy { 35 class CC_EXPORT Proxy {
36 public: 36 public:
37 virtual ~Proxy() {} 37 virtual ~Proxy() {}
38 38
39 virtual void FinishAllRendering() = 0;
40
41 virtual bool IsStarted() const = 0; 39 virtual bool IsStarted() const = 0;
42 virtual bool CommitToActiveTree() const = 0; 40 virtual bool CommitToActiveTree() const = 0;
43 41
44 // Will call LayerTreeHost::OnCreateAndInitializeOutputSurfaceAttempted 42 // Will call LayerTreeHost::OnCreateAndInitializeOutputSurfaceAttempted
45 // with the result of this function. 43 // with the result of this function.
46 virtual void SetOutputSurface(OutputSurface* output_surface) = 0; 44 virtual void SetOutputSurface(OutputSurface* output_surface) = 0;
47 45
48 virtual void ReleaseOutputSurface() = 0; 46 virtual void ReleaseOutputSurface() = 0;
49 47
50 virtual void SetVisible(bool visible) = 0; 48 virtual void SetVisible(bool visible) = 0;
(...skipping 30 matching lines...) Expand all
81 TopControlsState current, 79 TopControlsState current,
82 bool animate) = 0; 80 bool animate) = 0;
83 81
84 // Testing hooks 82 // Testing hooks
85 virtual bool MainFrameWillHappenForTesting() = 0; 83 virtual bool MainFrameWillHappenForTesting() = 0;
86 }; 84 };
87 85
88 } // namespace cc 86 } // namespace cc
89 87
90 #endif // CC_TREES_PROXY_H_ 88 #endif // CC_TREES_PROXY_H_
OLDNEW
« no previous file with comments | « cc/trees/layer_tree_host_impl.cc ('k') | cc/trees/proxy_impl.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698