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

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

Issue 12676029: cc: Fix capitalization style in chromified files. (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 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_RESOURCES_PICTURE_H_ 5 #ifndef CC_RESOURCES_PICTURE_H_
6 #define CC_RESOURCES_PICTURE_H_ 6 #define CC_RESOURCES_PICTURE_H_
7 7
8 #include <list> 8 #include <list>
9 #include <vector> 9 #include <vector>
10 10
(...skipping 26 matching lines...) Expand all
37 // Get thread-safe clone for rasterizing with on a specific thread. 37 // Get thread-safe clone for rasterizing with on a specific thread.
38 scoped_refptr<Picture> GetCloneForDrawingOnThread( 38 scoped_refptr<Picture> GetCloneForDrawingOnThread(
39 unsigned thread_index) const; 39 unsigned thread_index) const;
40 40
41 // Make thread-safe clones for rasterizing with. 41 // Make thread-safe clones for rasterizing with.
42 void CloneForDrawing(int num_threads); 42 void CloneForDrawing(int num_threads);
43 43
44 // Record a paint operation. To be able to safely use this SkPicture for 44 // Record a paint operation. To be able to safely use this SkPicture for
45 // playback on a different thread this can only be called once. 45 // playback on a different thread this can only be called once.
46 void Record(ContentLayerClient*, RenderingStats*, 46 void Record(ContentLayerClient*, RenderingStats*,
47 const SkTileGridPicture::TileGridInfo& tileGridInfo); 47 const SkTileGridPicture::TileGridInfo& tile_grid_info);
48 48
49 // Has Record() been called yet? 49 // Has Record() been called yet?
50 bool HasRecording() const { return picture_.get() != NULL; } 50 bool HasRecording() const { return picture_.get() != NULL; }
51 51
52 // Apply this contents scale and raster the content rect into the canvas. 52 // Apply this contents scale and raster the content rect into the canvas.
53 void Raster(SkCanvas* canvas, gfx::Rect content_rect, float contents_scale); 53 void Raster(SkCanvas* canvas, gfx::Rect content_rect, float contents_scale);
54 54
55 void GatherPixelRefs( 55 void GatherPixelRefs(
56 const gfx::Rect& layer_rect, 56 const gfx::Rect& layer_rect,
57 std::list<skia::LazyPixelRef*>& pixel_ref_list); 57 std::list<skia::LazyPixelRef*>& pixel_ref_list);
(...skipping 14 matching lines...) Expand all
72 typedef std::vector<scoped_refptr<Picture> > PictureVector; 72 typedef std::vector<scoped_refptr<Picture> > PictureVector;
73 PictureVector clones_; 73 PictureVector clones_;
74 74
75 friend class base::RefCountedThreadSafe<Picture>; 75 friend class base::RefCountedThreadSafe<Picture>;
76 DISALLOW_COPY_AND_ASSIGN(Picture); 76 DISALLOW_COPY_AND_ASSIGN(Picture);
77 }; 77 };
78 78
79 } // namespace cc 79 } // namespace cc
80 80
81 #endif // CC_RESOURCES_PICTURE_H_ 81 #endif // CC_RESOURCES_PICTURE_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698