OLD | NEW |
1 // Copyright 2014 The Chromium Authors. All rights reserved. | 1 // Copyright 2014 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 UI_GL_GL_VERSION_INFO_H_ | 5 #ifndef UI_GL_GL_VERSION_INFO_H_ |
6 #define UI_GL_GL_VERSION_INFO_H_ | 6 #define UI_GL_GL_VERSION_INFO_H_ |
7 | 7 |
8 #include <set> | 8 #include <set> |
9 #include <string> | 9 #include <string> |
10 #include "base/basictypes.h" | 10 #include "base/macros.h" |
| 11 #include "build/build_config.h" |
11 #include "ui/gl/gl_export.h" | 12 #include "ui/gl/gl_export.h" |
12 | 13 |
13 namespace gfx { | 14 namespace gfx { |
14 | 15 |
15 struct GL_EXPORT GLVersionInfo { | 16 struct GL_EXPORT GLVersionInfo { |
16 GLVersionInfo(const char* version_str, const char* renderer_str, | 17 GLVersionInfo(const char* version_str, const char* renderer_str, |
17 const char* extensions_str); | 18 const char* extensions_str); |
18 | 19 |
19 GLVersionInfo(const char* version_str, const char* renderer_str, | 20 GLVersionInfo(const char* version_str, const char* renderer_str, |
20 const std::set<std::string>& exts); | 21 const std::set<std::string>& exts); |
(...skipping 44 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
65 | 66 |
66 private: | 67 private: |
67 GLVersionInfo(const char* version_str, const char* renderer_str); | 68 GLVersionInfo(const char* version_str, const char* renderer_str); |
68 | 69 |
69 DISALLOW_COPY_AND_ASSIGN(GLVersionInfo); | 70 DISALLOW_COPY_AND_ASSIGN(GLVersionInfo); |
70 }; | 71 }; |
71 | 72 |
72 } // namespace gfx | 73 } // namespace gfx |
73 | 74 |
74 #endif // UI_GL_GL_VERSION_INFO_H_ | 75 #endif // UI_GL_GL_VERSION_INFO_H_ |
OLD | NEW |