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

Side by Side Diff: ui/gl/gl_mock.h

Issue 11444028: Make more GL stuff auto-generated (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 8 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 | Annotate | Revision Log
« no previous file with comments | « ui/gl/gl_interface.h ('k') | ui/gl/gl_mock.cc » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
(Empty)
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
3 // found in the LICENSE file.
4
5 // This file implements mock GL Interface for unit testing. It has to mock
6 // Desktop GL, not GLES2 as it is used to test the service side code.
7
8 #ifndef UI_GL_GL_MOCK_H_
9 #define UI_GL_GL_MOCK_H_
10
11 #include "testing/gmock/include/gmock/gmock.h"
12 #include "ui/gl/gl_interface.h"
13
14 namespace gfx {
15
16 class MockGLInterface : public GLInterface {
17 public:
18 MockGLInterface();
19 virtual ~MockGLInterface();
20
21 // Include the auto-generated part of this class. We split this because
22 // it means we can easily edit the non-auto generated parts right here in
23 // this file instead of having to edit some template or the code generator.
24 #include "gl_mock_autogen_gl.h"
25 };
26
27 } // namespace gfx
28
29 #endif // UI_GL_GL_MOCK_H_
OLDNEW
« no previous file with comments | « ui/gl/gl_interface.h ('k') | ui/gl/gl_mock.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698