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

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

Issue 286293002: cc: Remove CreateAndInitializeOutputSurface from the Proxy interface. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: createandinitos: mojo Created 6 years, 7 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 | Annotate | Revision Log
« no previous file with comments | « cc/trees/layer_tree_host_unittest.cc ('k') | cc/trees/single_thread_proxy.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 <string> 8 #include <string>
9 9
10 #include "base/basictypes.h" 10 #include "base/basictypes.h"
(...skipping 39 matching lines...) Expand 10 before | Expand all | Expand 10 after
50 virtual void FinishAllRendering() = 0; 50 virtual void FinishAllRendering() = 0;
51 51
52 virtual bool IsStarted() const = 0; 52 virtual bool IsStarted() const = 0;
53 53
54 // Indicates that the compositing surface associated with our context is 54 // Indicates that the compositing surface associated with our context is
55 // ready to use. 55 // ready to use.
56 virtual void SetLayerTreeHostClientReady() = 0; 56 virtual void SetLayerTreeHostClientReady() = 0;
57 57
58 virtual void SetVisible(bool visible) = 0; 58 virtual void SetVisible(bool visible) = 0;
59 59
60 // Attempts to recreate the context and renderer synchronously after the
61 // output surface is lost. Calls
62 // LayerTreeHost::OnCreateAndInitializeOutputSurfaceAttempted with the result.
63 virtual void CreateAndInitializeOutputSurface() = 0;
64
65 virtual const RendererCapabilities& GetRendererCapabilities() const = 0; 60 virtual const RendererCapabilities& GetRendererCapabilities() const = 0;
66 61
67 virtual void SetNeedsAnimate() = 0; 62 virtual void SetNeedsAnimate() = 0;
68 virtual void SetNeedsUpdateLayers() = 0; 63 virtual void SetNeedsUpdateLayers() = 0;
69 virtual void SetNeedsCommit() = 0; 64 virtual void SetNeedsCommit() = 0;
70 virtual void SetNeedsRedraw(const gfx::Rect& damage_rect) = 0; 65 virtual void SetNeedsRedraw(const gfx::Rect& damage_rect) = 0;
71 virtual void SetNextCommitWaitsForActivation() = 0; 66 virtual void SetNextCommitWaitsForActivation() = 0;
72 67
73 virtual void NotifyInputThrottledUntilCommit() = 0; 68 virtual void NotifyInputThrottledUntilCommit() = 0;
74 69
(...skipping 65 matching lines...) Expand 10 before | Expand all | Expand 10 after
140 explicit DebugScopedSetMainThreadBlocked(Proxy* proxy) {} 135 explicit DebugScopedSetMainThreadBlocked(Proxy* proxy) {}
141 ~DebugScopedSetMainThreadBlocked() {} 136 ~DebugScopedSetMainThreadBlocked() {}
142 private: 137 private:
143 DISALLOW_COPY_AND_ASSIGN(DebugScopedSetMainThreadBlocked); 138 DISALLOW_COPY_AND_ASSIGN(DebugScopedSetMainThreadBlocked);
144 }; 139 };
145 #endif 140 #endif
146 141
147 } // namespace cc 142 } // namespace cc
148 143
149 #endif // CC_TREES_PROXY_H_ 144 #endif // CC_TREES_PROXY_H_
OLDNEW
« no previous file with comments | « cc/trees/layer_tree_host_unittest.cc ('k') | cc/trees/single_thread_proxy.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698