| 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 // This file contains the mock GLES2Decoder class. | 5 // This file contains the mock GLES2Decoder class. |
| 6 | 6 |
| 7 #ifndef GPU_COMMAND_BUFFER_SERVICE_GLES2_CMD_DECODER_MOCK_H_ | 7 #ifndef GPU_COMMAND_BUFFER_SERVICE_GLES2_CMD_DECODER_MOCK_H_ |
| 8 #define GPU_COMMAND_BUFFER_SERVICE_GLES2_CMD_DECODER_MOCK_H_ | 8 #define GPU_COMMAND_BUFFER_SERVICE_GLES2_CMD_DECODER_MOCK_H_ |
| 9 | 9 |
| 10 #include <vector> | 10 #include <vector> |
| 11 | 11 |
| 12 #include "base/callback_forward.h" |
| 12 #include "gpu/command_buffer/common/mailbox.h" | 13 #include "gpu/command_buffer/common/mailbox.h" |
| 13 #include "gpu/command_buffer/service/gles2_cmd_decoder.h" | 14 #include "gpu/command_buffer/service/gles2_cmd_decoder.h" |
| 14 #include "base/callback_forward.h" | |
| 15 #include "testing/gmock/include/gmock/gmock.h" | 15 #include "testing/gmock/include/gmock/gmock.h" |
| 16 #include "ui/gfx/size.h" | 16 #include "ui/gfx/geometry/size.h" |
| 17 | 17 |
| 18 namespace gfx { | 18 namespace gfx { |
| 19 class GLContext; | 19 class GLContext; |
| 20 class GLSurface; | 20 class GLSurface; |
| 21 } | 21 } |
| 22 | 22 |
| 23 namespace gpu { | 23 namespace gpu { |
| 24 namespace gles2 { | 24 namespace gles2 { |
| 25 | 25 |
| 26 class ContextGroup; | 26 class ContextGroup; |
| (...skipping 102 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 129 MOCK_METHOD0(WasContextLostByRobustnessExtension, bool()); | 129 MOCK_METHOD0(WasContextLostByRobustnessExtension, bool()); |
| 130 MOCK_METHOD1(LoseContext, void(uint32 reset_status)); | 130 MOCK_METHOD1(LoseContext, void(uint32 reset_status)); |
| 131 | 131 |
| 132 DISALLOW_COPY_AND_ASSIGN(MockGLES2Decoder); | 132 DISALLOW_COPY_AND_ASSIGN(MockGLES2Decoder); |
| 133 }; | 133 }; |
| 134 | 134 |
| 135 } // namespace gles2 | 135 } // namespace gles2 |
| 136 } // namespace gpu | 136 } // namespace gpu |
| 137 | 137 |
| 138 #endif // GPU_COMMAND_BUFFER_SERVICE_GLES2_CMD_DECODER_MOCK_H_ | 138 #endif // GPU_COMMAND_BUFFER_SERVICE_GLES2_CMD_DECODER_MOCK_H_ |
| OLD | NEW |