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

Side by Side Diff: cc/CCLayerImpl.h

Issue 11078009: [cc] Use base ptr types for cc's CSS animation classes (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Rebase 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 368 matching lines...) Expand 10 before | Expand all | Expand 10 after
379 // Hierarchical bounding rect containing the layer and its descendants. 379 // Hierarchical bounding rect containing the layer and its descendants.
380 // Uses target surface's space. 380 // Uses target surface's space.
381 IntRect m_drawableContentRect; 381 IntRect m_drawableContentRect;
382 382
383 // Rect indicating what was repainted/updated during update. 383 // Rect indicating what was repainted/updated during update.
384 // Note that plugin layers bypass this and leave it empty. 384 // Note that plugin layers bypass this and leave it empty.
385 // Uses layer's content space. 385 // Uses layer's content space.
386 FloatRect m_updateRect; 386 FloatRect m_updateRect;
387 387
388 // Manages animations for this layer. 388 // Manages animations for this layer.
389 OwnPtr<CCLayerAnimationController> m_layerAnimationController; 389 scoped_ptr<CCLayerAnimationController> m_layerAnimationController;
390 390
391 // Manages scrollbars for this layer 391 // Manages scrollbars for this layer
392 OwnPtr<CCScrollbarAnimationController> m_scrollbarAnimationController; 392 OwnPtr<CCScrollbarAnimationController> m_scrollbarAnimationController;
393 }; 393 };
394 394
395 void sortLayers(std::vector<CCLayerImpl*>::iterator first, std::vector<CCLayerIm pl*>::iterator end, CCLayerSorter*); 395 void sortLayers(std::vector<CCLayerImpl*>::iterator first, std::vector<CCLayerIm pl*>::iterator end, CCLayerSorter*);
396 396
397 } 397 }
398 398
399 #endif // CCLayerImpl_h 399 #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