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

Side by Side Diff: cc/layers/nine_patch_layer.h

Issue 2748263002: Move cc::DisplayItemList and related classes into cc/paint/ (Closed)
Patch Set: Merge branch 'master' into ccpaint Created 3 years, 9 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
« no previous file with comments | « cc/layers/layer_utils.h ('k') | cc/layers/nine_patch_layer_impl.h » ('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 2012 The Chromium Authors. All rights reserved. 1 // Copyright 2012 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_LAYERS_NINE_PATCH_LAYER_H_ 5 #ifndef CC_LAYERS_NINE_PATCH_LAYER_H_
6 #define CC_LAYERS_NINE_PATCH_LAYER_H_ 6 #define CC_LAYERS_NINE_PATCH_LAYER_H_
7 7
8 #include <memory> 8 #include <memory>
9 9
10 #include "base/macros.h" 10 #include "base/macros.h"
11 #include "cc/base/cc_export.h" 11 #include "cc/cc_export.h"
12 #include "cc/layers/layer.h" 12 #include "cc/layers/layer.h"
13 #include "cc/layers/ui_resource_layer.h" 13 #include "cc/layers/ui_resource_layer.h"
14 #include "cc/resources/ui_resource_client.h" 14 #include "cc/resources/ui_resource_client.h"
15 #include "ui/gfx/geometry/rect.h" 15 #include "ui/gfx/geometry/rect.h"
16 16
17 namespace cc { 17 namespace cc {
18 18
19 class CC_EXPORT NinePatchLayer : public UIResourceLayer { 19 class CC_EXPORT NinePatchLayer : public UIResourceLayer {
20 public: 20 public:
21 static scoped_refptr<NinePatchLayer> Create(); 21 static scoped_refptr<NinePatchLayer> Create();
(...skipping 38 matching lines...) Expand 10 before | Expand all | Expand 10 after
60 // The occluded region in layer space set by SetLayerOcclusion. It is 60 // The occluded region in layer space set by SetLayerOcclusion. It is
61 // usually larger than |image_aperture_|. 61 // usually larger than |image_aperture_|.
62 gfx::Rect layer_occlusion_; 62 gfx::Rect layer_occlusion_;
63 63
64 DISALLOW_COPY_AND_ASSIGN(NinePatchLayer); 64 DISALLOW_COPY_AND_ASSIGN(NinePatchLayer);
65 }; 65 };
66 66
67 } // namespace cc 67 } // namespace cc
68 68
69 #endif // CC_LAYERS_NINE_PATCH_LAYER_H_ 69 #endif // CC_LAYERS_NINE_PATCH_LAYER_H_
OLDNEW
« no previous file with comments | « cc/layers/layer_utils.h ('k') | cc/layers/nine_patch_layer_impl.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698