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.
5 #ifndef UI_GL_GL_IMAGE_STUB_H_
6 #define UI_GL_GL_IMAGE_STUB_H_
8 #include "ui/gl/gl_image.h"
12 // A GLImage that does nothing for unit tests.
13 class GL_EXPORT GLImageStub
: public GLImage
{
16 virtual void Destroy() OVERRIDE
;
17 virtual gfx::Size
GetSize() OVERRIDE
;
18 virtual bool BindTexImage() OVERRIDE
;
19 virtual void ReleaseTexImage() OVERRIDE
;
22 virtual ~GLImageStub();
27 #endif // UI_GL_GL_IMAGE_STUB_H_