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

Side by Side Diff: cc/CCLayerTreeHostImpl.h

Issue 11091028: [cc] Remove all WTF #includes from CCLayerTreeHost (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: 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 // CCPinchZoomViewport models the bounds and offset of the viewport that is used during a pinch-zoom operation. 48 // CCPinchZoomViewport models the bounds and offset of the viewport that is used during a pinch-zoom operation.
49 // It tracks the layout-space dimensions of the viewport before any applied scal e, and then tracks the layout-space 49 // It tracks the layout-space dimensions of the viewport before any applied scal e, and then tracks the layout-space
50 // coordinates of the viewport respecting the pinch settings. 50 // coordinates of the viewport respecting the pinch settings.
51 class CCPinchZoomViewport { 51 class CCPinchZoomViewport {
52 public: 52 public:
53 CCPinchZoomViewport(); 53 CCPinchZoomViewport();
54 54
(...skipping 292 matching lines...) Expand 10 before | Expand all | Expand 10 after
347 347
348 size_t m_numImplThreadScrolls; 348 size_t m_numImplThreadScrolls;
349 size_t m_numMainThreadScrolls; 349 size_t m_numMainThreadScrolls;
350 350
351 DISALLOW_COPY_AND_ASSIGN(CCLayerTreeHostImpl); 351 DISALLOW_COPY_AND_ASSIGN(CCLayerTreeHostImpl);
352 }; 352 };
353 353
354 }; 354 };
355 355
356 #endif 356 #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