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 GPU_COMMAND_BUFFER_SERVICE_GL_SURFACE_MOCK_H_ | 5 #ifndef GPU_COMMAND_BUFFER_SERVICE_GL_SURFACE_MOCK_H_ |
6 #define GPU_COMMAND_BUFFER_SERVICE_GL_SURFACE_MOCK_H_ | 6 #define GPU_COMMAND_BUFFER_SERVICE_GL_SURFACE_MOCK_H_ |
7 | 7 |
| 8 #include "base/macros.h" |
8 #include "testing/gmock/include/gmock/gmock.h" | 9 #include "testing/gmock/include/gmock/gmock.h" |
9 #include "ui/gfx/swap_result.h" | 10 #include "ui/gfx/swap_result.h" |
10 #include "ui/gl/gl_surface.h" | 11 #include "ui/gl/gl_surface.h" |
11 | 12 |
12 namespace gpu { | 13 namespace gpu { |
13 | 14 |
14 class GLSurfaceMock : public gfx::GLSurface { | 15 class GLSurfaceMock : public gfx::GLSurface { |
15 public: | 16 public: |
16 GLSurfaceMock(); | 17 GLSurfaceMock(); |
17 | 18 |
(...skipping 20 matching lines...) Expand all Loading... |
38 protected: | 39 protected: |
39 virtual ~GLSurfaceMock(); | 40 virtual ~GLSurfaceMock(); |
40 | 41 |
41 private: | 42 private: |
42 DISALLOW_COPY_AND_ASSIGN(GLSurfaceMock); | 43 DISALLOW_COPY_AND_ASSIGN(GLSurfaceMock); |
43 }; | 44 }; |
44 | 45 |
45 } // namespace gpu | 46 } // namespace gpu |
46 | 47 |
47 #endif // GPU_COMMAND_BUFFER_SERVICE_GL_SURFACE_MOCK_H_ | 48 #endif // GPU_COMMAND_BUFFER_SERVICE_GL_SURFACE_MOCK_H_ |
OLD | NEW |