#ifndef PDF_PARSED_PARAMS_H_
#define PDF_PARSED_PARAMS_H_
#include <string>
#include "pdf/pdfium/pdfium_form_filler.h"
#include "third_party/abseil-cpp/absl/types/optional.h"
#include "third_party/skia/include/core/SkColor.h"
namespace blink {
struct WebPluginParams;
}
namespace chrome_pdf {
struct ParsedParams {
ParsedParams();
ParsedParams(const ParsedParams& other);
ParsedParams& operator=(const ParsedParams& other);
ParsedParams(ParsedParams&& other);
ParsedParams& operator=(ParsedParams&& other);
~ParsedParams();
std::string src_url;
std::string original_url;
std::string top_level_url;
bool full_frame = false;
SkColor background_color = SK_ColorTRANSPARENT;
PDFiumFormFiller::ScriptOption script_option =
PDFiumFormFiller::DefaultScriptOption();
bool has_edits = false;
};
absl::optional<ParsedParams> ParseWebPluginParams(
const blink::WebPluginParams& params);
}
#endif