Supervised user whitelists: Cleanup
[chromium-blink-merge.git] / ui / gl / gl_surface_stub.cc
bloba27d2af6aba688565304b6b4a009f8d4c159f4de
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 #include "ui/gl/gl_surface_stub.h"
7 namespace gfx {
9 void GLSurfaceStub::Destroy() {
12 bool GLSurfaceStub::IsOffscreen() {
13 return false;
16 bool GLSurfaceStub::SwapBuffers() {
17 return true;
20 gfx::Size GLSurfaceStub::GetSize() {
21 return size_;
24 void* GLSurfaceStub::GetHandle() {
25 return NULL;
28 GLSurfaceStub::~GLSurfaceStub() {}
30 } // namespace gfx