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