// Copyright 2014 The Chromium Authors // Use of this source code is governed by a BSD-style license that can be // found in the LICENSE file. #ifndef UI_OZONE_PUBLIC_SURFACE_OZONE_CANVAS_H_ #define UI_OZONE_PUBLIC_SURFACE_OZONE_CANVAS_H_ #include <memory> #include "base/component_export.h" #include "base/functional/callback.h" #include "third_party/skia/include/core/SkRefCnt.h" #include "ui/gfx/frame_data.h" class SkCanvas; namespace gfx { class Rect; class Size; class VSyncProvider; } // namespace gfx namespace ui { // The platform-specific part of an software output. The class is intended // for use when no EGL/GLES2 acceleration is possible. // This class owns any bits that the ozone implementation needs freed when // the software output is destroyed. class COMPONENT_EXPORT(OZONE_BASE) SurfaceOzoneCanvas { … }; } // namespace ui #endif // UI_OZONE_PUBLIC_SURFACE_OZONE_CANVAS_H_