OLD | NEW |
1 // Copyright (c) 2012 The Chromium Authors. All rights reserved. | 1 // Copyright (c) 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 CONTENT_COMMON_GPU_CLIENT_GL_HELPER_H_ | 5 #ifndef CONTENT_COMMON_GPU_CLIENT_GL_HELPER_H_ |
6 #define CONTENT_COMMON_GPU_CLIENT_GL_HELPER_H_ | 6 #define CONTENT_COMMON_GPU_CLIENT_GL_HELPER_H_ |
7 #pragma once | |
8 | 7 |
9 #include "base/atomicops.h" | 8 #include "base/atomicops.h" |
10 #include "base/basictypes.h" | 9 #include "base/basictypes.h" |
11 #include "base/callback.h" | 10 #include "base/callback.h" |
12 #include "base/memory/scoped_ptr.h" | 11 #include "base/memory/scoped_ptr.h" |
13 #include "third_party/WebKit/Source/WebKit/chromium/public/platform/WebGraphicsC
ontext3D.h" | 12 #include "third_party/WebKit/Source/WebKit/chromium/public/platform/WebGraphicsC
ontext3D.h" |
14 | 13 |
15 namespace gfx { | 14 namespace gfx { |
16 class Size; | 15 class Size; |
17 } | 16 } |
(...skipping 33 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
51 | 50 |
52 // The number of all GLHelper instances. | 51 // The number of all GLHelper instances. |
53 static base::subtle::Atomic32 count_; | 52 static base::subtle::Atomic32 count_; |
54 | 53 |
55 DISALLOW_COPY_AND_ASSIGN(GLHelper); | 54 DISALLOW_COPY_AND_ASSIGN(GLHelper); |
56 }; | 55 }; |
57 | 56 |
58 } // namespace content | 57 } // namespace content |
59 | 58 |
60 #endif // CONTENT_COMMON_GPU_CLIENT_GL_HELPER_H_ | 59 #endif // CONTENT_COMMON_GPU_CLIENT_GL_HELPER_H_ |
OLD | NEW |