Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(1185)

Side by Side Diff: gpu/command_buffer/service/gles2_cmd_decoder_mock.h

Issue 2532763002: gpu: Cleanup class/struct forward declarations (Closed)
Patch Set: Created 4 years ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
OLDNEW
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 <stdint.h> 10 #include <stdint.h>
11 11
12 #include <vector> 12 #include <vector>
13 13
14 #include "base/callback.h" 14 #include "base/callback.h"
15 #include "base/macros.h" 15 #include "base/macros.h"
16 #include "gpu/command_buffer/common/gles2_cmd_utils.h" 16 #include "gpu/command_buffer/common/gles2_cmd_utils.h"
17 #include "gpu/command_buffer/common/mailbox.h" 17 #include "gpu/command_buffer/common/mailbox.h"
18 #include "gpu/command_buffer/service/gles2_cmd_decoder.h" 18 #include "gpu/command_buffer/service/gles2_cmd_decoder.h"
19 #include "gpu/command_buffer/service/shader_translator.h" 19 #include "gpu/command_buffer/service/shader_translator.h"
20 #include "testing/gmock/include/gmock/gmock.h" 20 #include "testing/gmock/include/gmock/gmock.h"
21 #include "ui/gfx/geometry/size.h" 21 #include "ui/gfx/geometry/size.h"
22 22
23 namespace gl { 23 namespace gl {
24 class GLContext; 24 class GLContext;
25 class GLSurface; 25 class GLSurface;
26 } 26 }
27 27
28 namespace gpu { 28 namespace gpu {
29 class AsyncPixelTransferDelegate;
30 29
31 namespace gles2 { 30 namespace gles2 {
32 31
33 class ContextGroup; 32 class ContextGroup;
34 class ErrorState; 33 class ErrorState;
35 class QueryManager; 34 class QueryManager;
36 struct ContextState; 35 struct ContextState;
37 36
38 class MockGLES2Decoder : public GLES2Decoder { 37 class MockGLES2Decoder : public GLES2Decoder {
39 public: 38 public:
(...skipping 126 matching lines...) Expand 10 before | Expand all | Expand 10 after
166 MOCK_CONST_METHOD0(WasContextLostByRobustnessExtension, bool()); 165 MOCK_CONST_METHOD0(WasContextLostByRobustnessExtension, bool());
167 MOCK_METHOD1(MarkContextLost, void(gpu::error::ContextLostReason reason)); 166 MOCK_METHOD1(MarkContextLost, void(gpu::error::ContextLostReason reason));
168 167
169 DISALLOW_COPY_AND_ASSIGN(MockGLES2Decoder); 168 DISALLOW_COPY_AND_ASSIGN(MockGLES2Decoder);
170 }; 169 };
171 170
172 } // namespace gles2 171 } // namespace gles2
173 } // namespace gpu 172 } // namespace gpu
174 173
175 #endif // GPU_COMMAND_BUFFER_SERVICE_GLES2_CMD_DECODER_MOCK_H_ 174 #endif // GPU_COMMAND_BUFFER_SERVICE_GLES2_CMD_DECODER_MOCK_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698