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

Side by Side Diff: cc/layer_impl.h

Issue 11465007: Move LayerSorter to exist locally only in layer_tree_host_common (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: rebase Created 8 years 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/damage_tracker_unittest.cc ('k') | cc/layer_impl.cc » ('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 CC_LAYER_IMPL_H_ 5 #ifndef CC_LAYER_IMPL_H_
6 #define CC_LAYER_IMPL_H_ 6 #define CC_LAYER_IMPL_H_
7 7
8 #include <public/WebFilterOperations.h> 8 #include <public/WebFilterOperations.h>
9 #include <string> 9 #include <string>
10 10
(...skipping 11 matching lines...) Expand all
22 #include "cc/shared_quad_state.h" 22 #include "cc/shared_quad_state.h"
23 #include "skia/ext/refptr.h" 23 #include "skia/ext/refptr.h"
24 #include "third_party/skia/include/core/SkColor.h" 24 #include "third_party/skia/include/core/SkColor.h"
25 #include "third_party/skia/include/core/SkImageFilter.h" 25 #include "third_party/skia/include/core/SkImageFilter.h"
26 #include "ui/gfx/rect.h" 26 #include "ui/gfx/rect.h"
27 #include "ui/gfx/rect_f.h" 27 #include "ui/gfx/rect_f.h"
28 #include "ui/gfx/transform.h" 28 #include "ui/gfx/transform.h"
29 29
30 namespace cc { 30 namespace cc {
31 31
32 class LayerSorter;
33 class LayerTreeHostImpl; 32 class LayerTreeHostImpl;
34 class QuadSink; 33 class QuadSink;
35 class Renderer; 34 class Renderer;
36 class ScrollbarAnimationController; 35 class ScrollbarAnimationController;
37 class ScrollbarLayerImpl; 36 class ScrollbarLayerImpl;
38 class Layer; 37 class Layer;
39 38
40 struct AppendQuadsData; 39 struct AppendQuadsData;
41 40
42 class CC_EXPORT LayerImpl : public LayerAnimationControllerClient { 41 class CC_EXPORT LayerImpl : public LayerAnimationControllerClient {
(...skipping 349 matching lines...) Expand 10 before | Expand all | Expand 10 after
392 // Manages scrollbars for this layer 391 // Manages scrollbars for this layer
393 scoped_ptr<ScrollbarAnimationController> m_scrollbarAnimationController; 392 scoped_ptr<ScrollbarAnimationController> m_scrollbarAnimationController;
394 393
395 // Group of properties that need to be computed based on the layer tree 394 // Group of properties that need to be computed based on the layer tree
396 // hierarchy before layers can be drawn. 395 // hierarchy before layers can be drawn.
397 DrawProperties<LayerImpl, RenderSurfaceImpl> m_drawProperties; 396 DrawProperties<LayerImpl, RenderSurfaceImpl> m_drawProperties;
398 397
399 DISALLOW_COPY_AND_ASSIGN(LayerImpl); 398 DISALLOW_COPY_AND_ASSIGN(LayerImpl);
400 }; 399 };
401 400
402 void sortLayers(std::vector<LayerImpl*>::iterator first, std::vector<LayerImpl*> ::iterator end, LayerSorter*);
403
404 } 401 }
405 402
406 #endif // CC_LAYER_IMPL_H_ 403 #endif // CC_LAYER_IMPL_H_
OLDNEW
« no previous file with comments | « cc/damage_tracker_unittest.cc ('k') | cc/layer_impl.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698