blob: 53d95e22a12f149e1963ae0812c379070697893b [file] [log] [blame]
// 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 FileUploadControlPainter_h
#define FileUploadControlPainter_h
#include "platform/wtf/Allocator.h"
namespace blink {
struct PaintInfo;
class LayoutPoint;
class LayoutFileUploadControl;
class FileUploadControlPainter {
STACK_ALLOCATED();
public:
FileUploadControlPainter(
const LayoutFileUploadControl& layout_file_upload_control)
: layout_file_upload_control_(layout_file_upload_control) {}
void PaintObject(const PaintInfo&, const LayoutPoint&);
private:
const LayoutFileUploadControl& layout_file_upload_control_;
};
} // namespace blink
#endif // FileUploadControlPainter_h