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

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

Issue 22824009: Remove StreamTextureManager (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 7 years, 4 months 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 | Annotate | Revision Log
OLDNEW
(Empty)
1 // Copyright (c) 2011 The Chromium Authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file.
4
5 #ifndef GPU_COMMAND_BUFFER_SERVICE_STREAM_TEXTURE_MOCK_H_
6 #define GPU_COMMAND_BUFFER_SERVICE_STREAM_TEXTURE_MOCK_H_
7
8 #include "base/memory/ref_counted.h"
9 #include "gpu/command_buffer/service/stream_texture.h"
10 #include "testing/gmock/include/gmock/gmock.h"
11
12 namespace gpu {
13
14 class MockStreamTexture : public StreamTexture {
15 public:
16 MockStreamTexture();
17 virtual ~MockStreamTexture();
18
19 MOCK_METHOD0(Update, void());
20 MOCK_METHOD0(GetSize, gfx::Size(void));
21
22 private:
23 DISALLOW_COPY_AND_ASSIGN(MockStreamTexture);
24 };
25
26 } // namespace gpu
27
28 #endif // GPU_COMMAND_BUFFER_SERVICE_STREAM_TEXTURE_MOCK_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698