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

Side by Side Diff: cc/scoped_texture.h

Issue 11189076: cc: Remove CC*.h temporary includes, part 1/4. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: f...k 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/resource_provider_unittest.cc ('k') | cc/scoped_texture_unittest.cc » ('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 #ifndef CCScopedTexture_h 5 #ifndef CCScopedTexture_h
6 #define CCScopedTexture_h 6 #define CCScopedTexture_h
7 7
8 #include "base/basictypes.h" 8 #include "base/basictypes.h"
9 #include "base/logging.h"
9 #include "base/memory/scoped_ptr.h" 10 #include "base/memory/scoped_ptr.h"
10 #include "base/logging.h" 11 #include "cc/texture.h"
11 #include "CCTexture.h"
12 12
13 #ifndef NDEBUG 13 #ifndef NDEBUG
14 #include "base/threading/platform_thread.h" 14 #include "base/threading/platform_thread.h"
15 #endif 15 #endif
16 16
17 namespace cc { 17 namespace cc {
18 18
19 class CCScopedTexture : protected CCTexture { 19 class CCScopedTexture : protected CCTexture {
20 public: 20 public:
21 static scoped_ptr<CCScopedTexture> create(CCResourceProvider* resourceProvid er) { return make_scoped_ptr(new CCScopedTexture(resourceProvider)); } 21 static scoped_ptr<CCScopedTexture> create(CCResourceProvider* resourceProvid er) { return make_scoped_ptr(new CCScopedTexture(resourceProvider)); }
(...skipping 17 matching lines...) Expand all
39 #ifndef NDEBUG 39 #ifndef NDEBUG
40 base::PlatformThreadId m_allocateThreadIdentifier; 40 base::PlatformThreadId m_allocateThreadIdentifier;
41 #endif 41 #endif
42 42
43 DISALLOW_COPY_AND_ASSIGN(CCScopedTexture); 43 DISALLOW_COPY_AND_ASSIGN(CCScopedTexture);
44 }; 44 };
45 45
46 } 46 }
47 47
48 #endif 48 #endif
OLDNEW
« no previous file with comments | « cc/resource_provider_unittest.cc ('k') | cc/scoped_texture_unittest.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698