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

Side by Side Diff: cc/CCLayerTreeHostImpl.h

Issue 11035071: [cc] Remove all WTF #includes from CCLayerTreeHost (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Rebased 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 23 matching lines...) Expand all
34 34
35 // CCLayerTreeHost->CCProxy callback interface. 35 // CCLayerTreeHost->CCProxy callback interface.
36 class CCLayerTreeHostImplClient { 36 class CCLayerTreeHostImplClient {
37 public: 37 public:
38 virtual void didLoseContextOnImplThread() = 0; 38 virtual void didLoseContextOnImplThread() = 0;
39 virtual void onSwapBuffersCompleteOnImplThread() = 0; 39 virtual void onSwapBuffersCompleteOnImplThread() = 0;
40 virtual void onVSyncParametersChanged(double monotonicTimebase, double inter valInSeconds) = 0; 40 virtual void onVSyncParametersChanged(double monotonicTimebase, double inter valInSeconds) = 0;
41 virtual void onCanDrawStateChanged(bool canDraw) = 0; 41 virtual void onCanDrawStateChanged(bool canDraw) = 0;
42 virtual void setNeedsRedrawOnImplThread() = 0; 42 virtual void setNeedsRedrawOnImplThread() = 0;
43 virtual void setNeedsCommitOnImplThread() = 0; 43 virtual void setNeedsCommitOnImplThread() = 0;
44 virtual void postAnimationEventsToMainThreadOnImplThread(PassOwnPtr<CCAnimat ionEventsVector>, double wallClockTime) = 0; 44 virtual void postAnimationEventsToMainThreadOnImplThread(scoped_ptr<CCAnimat ionEventsVector>, double wallClockTime) = 0;
45 virtual void releaseContentsTexturesOnImplThread() = 0; 45 virtual void releaseContentsTexturesOnImplThread() = 0;
46 }; 46 };
47 47
48 // CCLayerTreeHostImpl owns the CCLayerImpl tree as well as associated rendering state 48 // CCLayerTreeHostImpl owns the CCLayerImpl tree as well as associated rendering state
49 class CCLayerTreeHostImpl : public CCInputHandlerClient, 49 class CCLayerTreeHostImpl : public CCInputHandlerClient,
50 public CCRendererClient, 50 public CCRendererClient,
51 public WebKit::WebCompositorOutputSurfaceClient { 51 public WebKit::WebCompositorOutputSurfaceClient {
52 typedef std::vector<CCLayerImpl*> CCLayerList; 52 typedef std::vector<CCLayerImpl*> CCLayerList;
53 53
54 public: 54 public:
(...skipping 241 matching lines...) Expand 10 before | Expand all | Expand 10 after
296 296
297 size_t m_numImplThreadScrolls; 297 size_t m_numImplThreadScrolls;
298 size_t m_numMainThreadScrolls; 298 size_t m_numMainThreadScrolls;
299 299
300 DISALLOW_COPY_AND_ASSIGN(CCLayerTreeHostImpl); 300 DISALLOW_COPY_AND_ASSIGN(CCLayerTreeHostImpl);
301 }; 301 };
302 302
303 }; 303 };
304 304
305 #endif 305 #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