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

Side by Side Diff: cc/ImageLayerChromium.h

Issue 10914268: Change cc files from namespace WebCore to cc (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Rebased Created 8 years, 3 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/IOSurfaceLayerChromium.cpp ('k') | cc/ImageLayerChromium.cpp » ('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 2010 The Chromium Authors. All rights reserved. 1 // Copyright 2010 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 5
6 #ifndef ImageLayerChromium_h 6 #ifndef ImageLayerChromium_h
7 #define ImageLayerChromium_h 7 #define ImageLayerChromium_h
8 8
9 #if USE(ACCELERATED_COMPOSITING) 9 #if USE(ACCELERATED_COMPOSITING)
10 10
11 #include "ContentLayerChromium.h" 11 #include "ContentLayerChromium.h"
12 #include "SkBitmap.h" 12 #include "SkBitmap.h"
13 13
14 namespace WebCore { 14 namespace cc {
15 15
16 class ImageLayerTextureUpdater; 16 class ImageLayerTextureUpdater;
17 17
18 // A Layer that contains only an Image element. 18 // A Layer that contains only an Image element.
19 class ImageLayerChromium : public TiledLayerChromium { 19 class ImageLayerChromium : public TiledLayerChromium {
20 public: 20 public:
21 static PassRefPtr<ImageLayerChromium> create(); 21 static PassRefPtr<ImageLayerChromium> create();
22 virtual ~ImageLayerChromium(); 22 virtual ~ImageLayerChromium();
23 23
24 virtual bool drawsContent() const OVERRIDE; 24 virtual bool drawsContent() const OVERRIDE;
(...skipping 14 matching lines...) Expand all
39 39
40 SkBitmap m_bitmap; 40 SkBitmap m_bitmap;
41 41
42 RefPtr<ImageLayerTextureUpdater> m_textureUpdater; 42 RefPtr<ImageLayerTextureUpdater> m_textureUpdater;
43 }; 43 };
44 44
45 } 45 }
46 #endif // USE(ACCELERATED_COMPOSITING) 46 #endif // USE(ACCELERATED_COMPOSITING)
47 47
48 #endif 48 #endif
OLDNEW
« no previous file with comments | « cc/IOSurfaceLayerChromium.cpp ('k') | cc/ImageLayerChromium.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698