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

Side by Side Diff: cc/CCLayerImpl.h

Issue 11085029: [cc] Use base ptr types for cc's CSS animation classes (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/CCLayerAnimationControllerTest.cpp ('k') | cc/CCLayerTreeHostTest.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 CCLayerImpl_h 5 #ifndef CCLayerImpl_h
6 #define CCLayerImpl_h 6 #define CCLayerImpl_h
7 7
8 #include "CCInputHandler.h" 8 #include "CCInputHandler.h"
9 #include "CCLayerAnimationController.h" 9 #include "CCLayerAnimationController.h"
10 #include "CCRenderPass.h" 10 #include "CCRenderPass.h"
(...skipping 369 matching lines...) Expand 10 before | Expand all | Expand 10 after
380 // Hierarchical bounding rect containing the layer and its descendants. 380 // Hierarchical bounding rect containing the layer and its descendants.
381 // Uses target surface's space. 381 // Uses target surface's space.
382 IntRect m_drawableContentRect; 382 IntRect m_drawableContentRect;
383 383
384 // Rect indicating what was repainted/updated during update. 384 // Rect indicating what was repainted/updated during update.
385 // Note that plugin layers bypass this and leave it empty. 385 // Note that plugin layers bypass this and leave it empty.
386 // Uses layer's content space. 386 // Uses layer's content space.
387 FloatRect m_updateRect; 387 FloatRect m_updateRect;
388 388
389 // Manages animations for this layer. 389 // Manages animations for this layer.
390 OwnPtr<CCLayerAnimationController> m_layerAnimationController; 390 scoped_ptr<CCLayerAnimationController> m_layerAnimationController;
391 391
392 // Manages scrollbars for this layer 392 // Manages scrollbars for this layer
393 OwnPtr<CCScrollbarAnimationController> m_scrollbarAnimationController; 393 OwnPtr<CCScrollbarAnimationController> m_scrollbarAnimationController;
394 }; 394 };
395 395
396 void sortLayers(std::vector<CCLayerImpl*>::iterator first, std::vector<CCLayerIm pl*>::iterator end, CCLayerSorter*); 396 void sortLayers(std::vector<CCLayerImpl*>::iterator first, std::vector<CCLayerIm pl*>::iterator end, CCLayerSorter*);
397 397
398 } 398 }
399 399
400 #endif // CCLayerImpl_h 400 #endif // CCLayerImpl_h
OLDNEW
« no previous file with comments | « cc/CCLayerAnimationControllerTest.cpp ('k') | cc/CCLayerTreeHostTest.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698