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

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

Issue 133263004: Unifies LayerTreeHost::SetNeedsUpdateLayers and SetNeedsAnimate -- V2 (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: fix mojo build Created 6 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 | Annotate | Revision Log
« no previous file with comments | « cc/trees/proxy.h ('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/time/time.h" 10 #include "base/time/time.h"
(...skipping 17 matching lines...) Expand all
28 28
29 // Proxy implementation 29 // Proxy implementation
30 virtual bool CompositeAndReadback(void* pixels, 30 virtual bool CompositeAndReadback(void* pixels,
31 const gfx::Rect& rect) OVERRIDE; 31 const gfx::Rect& rect) OVERRIDE;
32 virtual void FinishAllRendering() OVERRIDE; 32 virtual void FinishAllRendering() OVERRIDE;
33 virtual bool IsStarted() const OVERRIDE; 33 virtual bool IsStarted() const OVERRIDE;
34 virtual void SetLayerTreeHostClientReady() OVERRIDE; 34 virtual void SetLayerTreeHostClientReady() OVERRIDE;
35 virtual void SetVisible(bool visible) OVERRIDE; 35 virtual void SetVisible(bool visible) OVERRIDE;
36 virtual void CreateAndInitializeOutputSurface() OVERRIDE; 36 virtual void CreateAndInitializeOutputSurface() OVERRIDE;
37 virtual const RendererCapabilities& GetRendererCapabilities() const OVERRIDE; 37 virtual const RendererCapabilities& GetRendererCapabilities() const OVERRIDE;
38 virtual void SetNeedsAnimate() OVERRIDE;
39 virtual void SetNeedsUpdateLayers() OVERRIDE; 38 virtual void SetNeedsUpdateLayers() OVERRIDE;
40 virtual void SetNeedsCommit() OVERRIDE; 39 virtual void SetNeedsCommit() OVERRIDE;
41 virtual void SetNeedsRedraw(const gfx::Rect& damage_rect) OVERRIDE; 40 virtual void SetNeedsRedraw(const gfx::Rect& damage_rect) OVERRIDE;
42 virtual void SetNextCommitWaitsForActivation() OVERRIDE; 41 virtual void SetNextCommitWaitsForActivation() OVERRIDE;
43 virtual void NotifyInputThrottledUntilCommit() OVERRIDE {} 42 virtual void NotifyInputThrottledUntilCommit() OVERRIDE {}
44 virtual void SetDeferCommits(bool defer_commits) OVERRIDE; 43 virtual void SetDeferCommits(bool defer_commits) OVERRIDE;
45 virtual bool CommitRequested() const OVERRIDE; 44 virtual bool CommitRequested() const OVERRIDE;
46 virtual bool BeginMainFrameRequested() const OVERRIDE; 45 virtual bool BeginMainFrameRequested() const OVERRIDE;
47 virtual void MainThreadHasStoppedFlinging() OVERRIDE {} 46 virtual void MainThreadHasStoppedFlinging() OVERRIDE {}
48 virtual void Start() OVERRIDE; 47 virtual void Start() OVERRIDE;
(...skipping 129 matching lines...) Expand 10 before | Expand all | Expand 10 after
178 private: 177 private:
179 DebugScopedSetImplThread impl_thread_; 178 DebugScopedSetImplThread impl_thread_;
180 DebugScopedSetMainThreadBlocked main_thread_blocked_; 179 DebugScopedSetMainThreadBlocked main_thread_blocked_;
181 180
182 DISALLOW_COPY_AND_ASSIGN(DebugScopedSetImplThreadAndMainThreadBlocked); 181 DISALLOW_COPY_AND_ASSIGN(DebugScopedSetImplThreadAndMainThreadBlocked);
183 }; 182 };
184 183
185 } // namespace cc 184 } // namespace cc
186 185
187 #endif // CC_TREES_SINGLE_THREAD_PROXY_H_ 186 #endif // CC_TREES_SINGLE_THREAD_PROXY_H_
OLDNEW
« no previous file with comments | « cc/trees/proxy.h ('k') | cc/trees/single_thread_proxy.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698