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

Side by Side Diff: cc/CCLayerTreeHostImpl.h

Issue 10915298: Add CCDelegatingRenderer, and corresponding IPCs (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: fix clang Created 8 years, 2 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/CCLayerTreeHost.cpp ('k') | cc/CCLayerTreeHostImpl.cpp » ('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 CCLayerTreeHostImpl_h 5 #ifndef CCLayerTreeHostImpl_h
6 #define CCLayerTreeHostImpl_h 6 #define CCLayerTreeHostImpl_h
7 7
8 #include "base/basictypes.h" 8 #include "base/basictypes.h"
9 #include "base/time.h" 9 #include "base/time.h"
10 #include "CCAnimationEvents.h" 10 #include "CCAnimationEvents.h"
(...skipping 137 matching lines...) Expand 10 before | Expand all | Expand 10 after
148 virtual const IntSize& deviceViewportSize() const OVERRIDE; 148 virtual const IntSize& deviceViewportSize() const OVERRIDE;
149 virtual const CCLayerTreeSettings& settings() const OVERRIDE; 149 virtual const CCLayerTreeSettings& settings() const OVERRIDE;
150 virtual void didLoseContext() OVERRIDE; 150 virtual void didLoseContext() OVERRIDE;
151 virtual void onSwapBuffersComplete() OVERRIDE; 151 virtual void onSwapBuffersComplete() OVERRIDE;
152 virtual void setFullRootLayerDamage() OVERRIDE; 152 virtual void setFullRootLayerDamage() OVERRIDE;
153 virtual void releaseContentsTextures() OVERRIDE; 153 virtual void releaseContentsTextures() OVERRIDE;
154 virtual void setMemoryAllocationLimitBytes(size_t) OVERRIDE; 154 virtual void setMemoryAllocationLimitBytes(size_t) OVERRIDE;
155 155
156 // WebCompositorOutputSurfaceClient implementation. 156 // WebCompositorOutputSurfaceClient implementation.
157 virtual void onVSyncParametersChanged(double monotonicTimebase, double inter valInSeconds) OVERRIDE; 157 virtual void onVSyncParametersChanged(double monotonicTimebase, double inter valInSeconds) OVERRIDE;
158 virtual void onSendFrameToParentCompositorAck(const WebKit::WebCompositorFra meAck&) OVERRIDE;
158 159
159 // Implementation 160 // Implementation
160 bool canDraw(); 161 bool canDraw();
161 CCGraphicsContext* context() const; 162 CCGraphicsContext* context() const;
162 163
163 std::string layerTreeAsText() const; 164 std::string layerTreeAsText() const;
164 165
165 void finishAllRendering(); 166 void finishAllRendering();
166 int sourceAnimationFrameNumber() const; 167 int sourceAnimationFrameNumber() const;
167 168
(...skipping 179 matching lines...) Expand 10 before | Expand all | Expand 10 after
347 348
348 size_t m_numImplThreadScrolls; 349 size_t m_numImplThreadScrolls;
349 size_t m_numMainThreadScrolls; 350 size_t m_numMainThreadScrolls;
350 351
351 DISALLOW_COPY_AND_ASSIGN(CCLayerTreeHostImpl); 352 DISALLOW_COPY_AND_ASSIGN(CCLayerTreeHostImpl);
352 }; 353 };
353 354
354 }; 355 };
355 356
356 #endif 357 #endif
OLDNEW
« no previous file with comments | « cc/CCLayerTreeHost.cpp ('k') | cc/CCLayerTreeHostImpl.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698