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

Side by Side Diff: cc/picture_pile_base.h

Issue 12472028: Part 1 of cc/ directory shuffles: base (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 7 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 | Annotate | Revision Log
OLDNEW
1 // Copyright 2013 The Chromium Authors. All rights reserved. 1 // Copyright 2013 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_PICTURE_PILE_BASE_H_ 5 #ifndef CC_PICTURE_PILE_BASE_H_
6 #define CC_PICTURE_PILE_BASE_H_ 6 #define CC_PICTURE_PILE_BASE_H_
7 7
8 #include <list> 8 #include <list>
9 9
10 #include "base/hash_tables.h" 10 #include "base/hash_tables.h"
11 #include "base/memory/ref_counted.h" 11 #include "base/memory/ref_counted.h"
12 #include "cc/cc_export.h" 12 #include "cc/base/cc_export.h"
13 #include "cc/hash_pair.h" 13 #include "cc/base/hash_pair.h"
14 #include "cc/base/region.h"
15 #include "cc/base/tiling_data.h"
14 #include "cc/picture.h" 16 #include "cc/picture.h"
15 #include "cc/region.h"
16 #include "cc/tiling_data.h"
17 #include "ui/gfx/size.h" 17 #include "ui/gfx/size.h"
18 18
19 namespace cc { 19 namespace cc {
20 20
21 class CC_EXPORT PicturePileBase : public base::RefCounted<PicturePileBase> { 21 class CC_EXPORT PicturePileBase : public base::RefCounted<PicturePileBase> {
22 public: 22 public:
23 PicturePileBase(); 23 PicturePileBase();
24 24
25 void Resize(gfx::Size size); 25 void Resize(gfx::Size size);
26 gfx::Size size() const { return tiling_.total_size(); } 26 gfx::Size size() const { return tiling_.total_size(); }
(...skipping 35 matching lines...) Expand 10 before | Expand all | Expand 10 after
62 private: 62 private:
63 void SetBufferPixels(int buffer_pixels); 63 void SetBufferPixels(int buffer_pixels);
64 64
65 friend class base::RefCounted<PicturePileBase>; 65 friend class base::RefCounted<PicturePileBase>;
66 DISALLOW_COPY_AND_ASSIGN(PicturePileBase); 66 DISALLOW_COPY_AND_ASSIGN(PicturePileBase);
67 }; 67 };
68 68
69 } // namespace cc 69 } // namespace cc
70 70
71 #endif // CC_PICTURE_PILE_H_ 71 #endif // CC_PICTURE_PILE_H_
OLDNEW
« cc/cc.gyp ('K') | « cc/picture_pile.cc ('k') | cc/picture_pile_impl.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698