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

Side by Side Diff: cc/resources/bitmap_skpicture_content_layer_updater.h

Issue 12471007: Part 8 of cc/ directory shuffles: resources (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 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_BITMAP_SKPICTURE_CONTENT_LAYER_UPDATER_H_ 5 #ifndef CC_RESOURCES_BITMAP_SKPICTURE_CONTENT_LAYER_UPDATER_H_
6 #define CC_BITMAP_SKPICTURE_CONTENT_LAYER_UPDATER_H_ 6 #define CC_RESOURCES_BITMAP_SKPICTURE_CONTENT_LAYER_UPDATER_H_
7 7
8 #include "cc/skpicture_content_layer_updater.h" 8 #include "cc/resources/skpicture_content_layer_updater.h"
9 #include "third_party/skia/include/core/SkBitmap.h" 9 #include "third_party/skia/include/core/SkBitmap.h"
10 10
11 namespace cc { 11 namespace cc {
12 12
13 // This class records the contentRect into an SkPicture, then software 13 // This class records the contentRect into an SkPicture, then software
14 // rasterizes the SkPicture into bitmaps for each tile. This implements 14 // rasterizes the SkPicture into bitmaps for each tile. This implements
15 // Settings::perTilePainting. 15 // Settings::perTilePainting.
16 class BitmapSkPictureContentLayerUpdater : public SkPictureContentLayerUpdater { 16 class BitmapSkPictureContentLayerUpdater : public SkPictureContentLayerUpdater {
17 public: 17 public:
18 class Resource : public ContentLayerUpdater::Resource { 18 class Resource : public ContentLayerUpdater::Resource {
(...skipping 25 matching lines...) Expand all
44 44
45 private: 45 private:
46 explicit BitmapSkPictureContentLayerUpdater(scoped_ptr<LayerPainter> painter); 46 explicit BitmapSkPictureContentLayerUpdater(scoped_ptr<LayerPainter> painter);
47 virtual ~BitmapSkPictureContentLayerUpdater(); 47 virtual ~BitmapSkPictureContentLayerUpdater();
48 48
49 DISALLOW_COPY_AND_ASSIGN(BitmapSkPictureContentLayerUpdater); 49 DISALLOW_COPY_AND_ASSIGN(BitmapSkPictureContentLayerUpdater);
50 }; 50 };
51 51
52 } // namespace cc 52 } // namespace cc
53 53
54 #endif // CC_BITMAP_SKPICTURE_CONTENT_LAYER_UPDATER_H_ 54 #endif // CC_RESOURCES_BITMAP_SKPICTURE_CONTENT_LAYER_UPDATER_H_
OLDNEW
« no previous file with comments | « cc/resources/bitmap_content_layer_updater.cc ('k') | cc/resources/bitmap_skpicture_content_layer_updater.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698