#ifndef UI_GFX_OZONE_SURFACE_OZONE_BASE_H_
#define UI_GFX_OZONE_SURFACE_OZONE_BASE_H_
#include "base/basictypes.h"
#include "base/memory/scoped_ptr.h"
#include "skia/ext/refptr.h"
#include "ui/gfx/gfx_export.h"
#include "ui/gfx/ozone/surface_ozone.h"
namespace gfx {
class GFX_EXPORT SurfaceOzoneBase : public SurfaceOzone {
public:
SurfaceOzoneBase();
virtual ~SurfaceOzoneBase() OVERRIDE;
virtual bool InitializeEGL() OVERRIDE;
virtual intptr_t GetEGLNativeWindow() OVERRIDE;
virtual bool InitializeCanvas() OVERRIDE;
virtual skia::RefPtr<SkCanvas> GetCanvas() OVERRIDE;
virtual bool ResizeCanvas(const gfx::Size& viewport_size) OVERRIDE;
virtual bool PresentCanvas() OVERRIDE;
virtual scoped_ptr<gfx::VSyncProvider> CreateVSyncProvider() OVERRIDE;
};
}
#endif