// Copyright 2018 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_GFX_IMAGE_IMAGE_SKIA_REP_DEFAULT_H_ #define UI_GFX_IMAGE_IMAGE_SKIA_REP_DEFAULT_H_ #include "build/build_config.h" #include "cc/paint/paint_image.h" #include "cc/paint/paint_op_buffer.h" #include "third_party/skia/include/core/SkBitmap.h" #include "ui/gfx/geometry/size.h" #include "ui/gfx/gfx_export.h" namespace gfx { // An ImageSkiaRep represents an image and the scale factor it is intended for. // 0.0f scale is used to indicate that this ImageSkiaRep is used for unscaled // (ImageSkia does not automatically scale the image). // TODO(malaykeshav): Support transport of PaintRecord across mojo. This would // require adding inline serialization support for PaintRecords. class GFX_EXPORT ImageSkiaRep { … }; } // namespace gfx #endif // UI_GFX_IMAGE_IMAGE_SKIA_REP_DEFAULT_H_