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

Side by Side Diff: cc/caching_bitmap_canvas_layer_texture_updater.cc

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
« no previous file with comments | « cc/caching_bitmap_canvas_layer_texture_updater.h ('k') | cc/canvas_layer_texture_updater.h » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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 #include "config.h" 5 #include "config.h"
6 6
7 #include "caching_bitmap_canvas_layer_texture_updater.h" 7 #include "caching_bitmap_canvas_layer_texture_updater.h"
8 8
9 #include "LayerPainterChromium.h" 9 #include "cc/layer_painter.h"
10 #include "skia/ext/platform_canvas.h" 10 #include "skia/ext/platform_canvas.h"
11 11
12 namespace cc { 12 namespace cc {
13 13
14 PassRefPtr<CachingBitmapCanvasLayerTextureUpdater> 14 PassRefPtr<CachingBitmapCanvasLayerTextureUpdater>
15 CachingBitmapCanvasLayerTextureUpdater::Create( 15 CachingBitmapCanvasLayerTextureUpdater::Create(
16 scoped_ptr<LayerPainterChromium> painter) { 16 scoped_ptr<LayerPainterChromium> painter) {
17 return adoptRef(new CachingBitmapCanvasLayerTextureUpdater(painter.Pass())); 17 return adoptRef(new CachingBitmapCanvasLayerTextureUpdater(painter.Pass()));
18 } 18 }
19 19
(...skipping 30 matching lines...) Expand all
50 if (pixels_did_change_) 50 if (pixels_did_change_)
51 new_bitmap.deepCopyTo(&cached_bitmap_, new_bitmap.config()); 51 new_bitmap.deepCopyTo(&cached_bitmap_, new_bitmap.config());
52 } 52 }
53 53
54 bool CachingBitmapCanvasLayerTextureUpdater::pixelsDidChange() const 54 bool CachingBitmapCanvasLayerTextureUpdater::pixelsDidChange() const
55 { 55 {
56 return pixels_did_change_; 56 return pixels_did_change_;
57 } 57 }
58 58
59 } // namespace cc 59 } // namespace cc
OLDNEW
« no previous file with comments | « cc/caching_bitmap_canvas_layer_texture_updater.h ('k') | cc/canvas_layer_texture_updater.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698