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 UI_GL_GL_IMAGE_STUB_H_ | 5 #ifndef UI_GL_GL_IMAGE_STUB_H_ |
6 #define UI_GL_GL_IMAGE_STUB_H_ | 6 #define UI_GL_GL_IMAGE_STUB_H_ |
7 | 7 |
8 #include <stdint.h> | 8 #include <stdint.h> |
9 | 9 |
| 10 #include "ui/gl/gl_export.h" |
10 #include "ui/gl/gl_image.h" | 11 #include "ui/gl/gl_image.h" |
11 | 12 |
12 namespace gl { | 13 namespace gl { |
13 | 14 |
14 // A GLImage that does nothing for unit tests. | 15 // A GLImage that does nothing for unit tests. |
15 class GL_EXPORT GLImageStub : public GLImage { | 16 class GL_EXPORT GLImageStub : public GLImage { |
16 public: | 17 public: |
17 GLImageStub(); | 18 GLImageStub(); |
18 | 19 |
19 // Overridden from GLImage: | 20 // Overridden from GLImage: |
(...skipping 15 matching lines...) Expand all Loading... |
35 uint64_t process_tracing_id, | 36 uint64_t process_tracing_id, |
36 const std::string& dump_name) override {} | 37 const std::string& dump_name) override {} |
37 | 38 |
38 protected: | 39 protected: |
39 ~GLImageStub() override; | 40 ~GLImageStub() override; |
40 }; | 41 }; |
41 | 42 |
42 } // namespace gl | 43 } // namespace gl |
43 | 44 |
44 #endif // UI_GL_GL_IMAGE_STUB_H_ | 45 #endif // UI_GL_GL_IMAGE_STUB_H_ |
OLD | NEW |