// Copyright 2014 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. #ifndef PicturePattern_h #define PicturePattern_h #include "platform/graphics/Pattern.h" namespace blink { class PLATFORM_EXPORT PicturePattern final : public Pattern { public: static PassRefPtr create(PassRefPtr, RepeatMode); ~PicturePattern() override; protected: PassRefPtr createShader() override; private: PicturePattern(PassRefPtr, RepeatMode); RefPtr m_tilePicture; }; } // namespace blink #endif