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

Side by Side Diff: cc/bitmap_skpicture_content_layer_updater.h

Issue 11368063: cc: Fix header include guards of our header files. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: fix completion_event.h and settings.h Created 8 years, 1 month 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 BitmapSkPictureContentLayerUpdater_h 5 #ifndef CC_BITMAP_SKPICTURE_CONTENT_LAYER_UPDATER_H_
6 #define BitmapSkPictureContentLayerUpdater_h 6 #define CC_BITMAP_SKPICTURE_CONTENT_LAYER_UPDATER_H_
7 7
8 #include "cc/skpicture_content_layer_updater.h" 8 #include "cc/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 rasterize s 13 // This class records the contentRect into an SkPicture, then software rasterize s
14 // the SkPicture into bitmaps for each tile. This implements Settings::perTilePa inting. 14 // the SkPicture into bitmaps for each tile. This implements Settings::perTilePa inting.
15 class BitmapSkPictureContentLayerUpdater : public SkPictureContentLayerUpdater { 15 class BitmapSkPictureContentLayerUpdater : public SkPictureContentLayerUpdater {
16 public: 16 public:
(...skipping 15 matching lines...) Expand all
32 virtual scoped_ptr<LayerUpdater::Resource> createResource(PrioritizedTexture Manager*) OVERRIDE; 32 virtual scoped_ptr<LayerUpdater::Resource> createResource(PrioritizedTexture Manager*) OVERRIDE;
33 void paintContentsRect(SkCanvas*, const gfx::Rect& sourceRect, RenderingStat s&); 33 void paintContentsRect(SkCanvas*, const gfx::Rect& sourceRect, RenderingStat s&);
34 34
35 private: 35 private:
36 explicit BitmapSkPictureContentLayerUpdater(scoped_ptr<LayerPainter>); 36 explicit BitmapSkPictureContentLayerUpdater(scoped_ptr<LayerPainter>);
37 virtual ~BitmapSkPictureContentLayerUpdater(); 37 virtual ~BitmapSkPictureContentLayerUpdater();
38 }; 38 };
39 39
40 } // namespace cc 40 } // namespace cc
41 41
42 #endif // BitmapSkPictureContentLayerUpdater_h 42 #endif // CC_BITMAP_SKPICTURE_CONTENT_LAYER_UPDATER_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698