Simple Cache: a few tests for rare corner cases with CRC check missing.
[chromium-blink-merge.git] / ui / gl / gl_image_stub.h
blob8b473585b62bee53703e180d1b8dd2a38705abe1
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"
10 namespace gfx {
12 // A GLImage that does nothing for unit tests.
13 class GL_EXPORT GLImageStub : public GLImage {
14 public:
15 // Implement GLImage.
16 virtual void Destroy() OVERRIDE;
17 virtual gfx::Size GetSize() OVERRIDE;
18 virtual bool BindTexImage() OVERRIDE;
19 virtual void ReleaseTexImage() OVERRIDE;
21 protected:
22 virtual ~GLImageStub();
25 } // namespace gfx
27 #endif // UI_GL_GL_IMAGE_STUB_H_