| Index: ui/gl/gl_context_mock_version.cc
|
| diff --git a/ui/gl/gl_context_mock_version.cc b/ui/gl/gl_context_mock_version.cc
|
| new file mode 100644
|
| index 0000000000000000000000000000000000000000..ba16e46febdde58ce383c4bdebb49a53a421084c
|
| --- /dev/null
|
| +++ b/ui/gl/gl_context_mock_version.cc
|
| @@ -0,0 +1,21 @@
|
| +// Copyright (c) 2013 The Chromium Authors. All rights reserved.
|
| +// Use of this source code is governed by a BSD-style license that can be
|
| +// found in the LICENSE file.
|
| +
|
| +#include "ui/gl/gl_context_mock_version.h"
|
| +#include "ui/gl/gl_version_info.h"
|
| +
|
| +namespace gfx {
|
| +
|
| +GLContextMockVersion::GLContextMockVersion(const char* version_str)
|
| + : GLContextStub()
|
| + , version_str_(version_str)
|
| +{}
|
| +
|
| +std::string GLContextMockVersion::GetGLVersion() {
|
| + return std::string(version_str_);
|
| +}
|
| +
|
| +GLContextMockVersion::~GLContextMockVersion() {}
|
| +
|
| +} // namespace gfx
|
|
|