#include "chrome/browser/enterprise/watermark/watermark_view.h"
#include <math.h>
#include <algorithm>
#include <string>
#include "cc/paint/paint_canvas.h"
#include "components/enterprise/watermarking/watermark.h"
#include "ui/base/metadata/metadata_impl_macros.h"
#include "ui/compositor/layer.h"
#include "ui/gfx/canvas.h"
#include "ui/gfx/font.h"
#include "ui/gfx/render_text.h"
#include "ui/views/accessibility/view_accessibility.h"
namespace {
constexpr float kTextSize = …;
constexpr int kWatermarkBlockWidth = …;
}
namespace enterprise_watermark {
WatermarkView::WatermarkView() : … { … }
WatermarkView::WatermarkView(std::string text)
: … { … }
WatermarkView::~WatermarkView() = default;
void WatermarkView::SetString(const std::string& text) { … }
void WatermarkView::OnPaint(gfx::Canvas* canvas) { … }
void WatermarkView::SetBackgroundColor(SkColor background_color) { … }
void WatermarkView::GetAccessibleNodeData(ui::AXNodeData* node_data) { … }
BEGIN_METADATA(…)
}