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

Side by Side Diff: cc/caching_bitmap_canvas_layer_texture_updater.h

Issue 11189011: cc: Remove the temporary header files that aren't prefixed with CC* (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 8 years, 2 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 CACHING_BITMAP_CANVAS_LAYER_TEXTURE_UPDATER_H_ 5 #ifndef CACHING_BITMAP_CANVAS_LAYER_TEXTURE_UPDATER_H_
6 #define CACHING_BITMAP_CANVAS_LAYER_TEXTURE_UPDATER_H_ 6 #define CACHING_BITMAP_CANVAS_LAYER_TEXTURE_UPDATER_H_
7 7
8 #include "base/compiler_specific.h" 8 #include "base/compiler_specific.h"
9 #include "BitmapCanvasLayerTextureUpdater.h" 9 #include "cc/bitmap_canvas_layer_texture_updater.h"
10 10
11 namespace cc { 11 namespace cc {
12 12
13 class CachingBitmapCanvasLayerTextureUpdater 13 class CachingBitmapCanvasLayerTextureUpdater
14 : public BitmapCanvasLayerTextureUpdater { 14 : public BitmapCanvasLayerTextureUpdater {
15 public: 15 public:
16 static PassRefPtr<CachingBitmapCanvasLayerTextureUpdater> Create( 16 static PassRefPtr<CachingBitmapCanvasLayerTextureUpdater> Create(
17 scoped_ptr<LayerPainterChromium>); 17 scoped_ptr<LayerPainterChromium>);
18 18
19 virtual void prepareToUpdate(const IntRect& content_rect, 19 virtual void prepareToUpdate(const IntRect& content_rect,
20 const IntSize& tile_size, 20 const IntSize& tile_size,
21 float contents_width_scale, 21 float contents_width_scale,
22 float contents_height_scale, 22 float contents_height_scale,
23 IntRect& resulting_opaque_rect, 23 IntRect& resulting_opaque_rect,
24 CCRenderingStats&) OVERRIDE; 24 CCRenderingStats&) OVERRIDE;
25 25
26 bool pixelsDidChange() const; 26 bool pixelsDidChange() const;
27 27
28 private: 28 private:
29 explicit CachingBitmapCanvasLayerTextureUpdater( 29 explicit CachingBitmapCanvasLayerTextureUpdater(
30 scoped_ptr<LayerPainterChromium> painter); 30 scoped_ptr<LayerPainterChromium> painter);
31 31
32 bool pixels_did_change_; 32 bool pixels_did_change_;
33 SkBitmap cached_bitmap_; 33 SkBitmap cached_bitmap_;
34 }; 34 };
35 35
36 } // namespace cc 36 } // namespace cc
37 37
38 #endif // CACHING_BITMAP_CANVAS_LAYER_TEXTURE_UPDATER_H_ 38 #endif // CACHING_BITMAP_CANVAS_LAYER_TEXTURE_UPDATER_H_
OLDNEW
« no previous file with comments | « cc/bitmap_skpicture_canvas_layer_texture_updater.cc ('k') | cc/caching_bitmap_canvas_layer_texture_updater.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698