#include "third_party/blink/renderer/core/page/validation_message_overlay_delegate.h"
#include <memory>
#include "base/memory/ptr_util.h"
#include "mojo/public/cpp/bindings/pending_remote.h"
#include "third_party/blink/public/common/storage_key/storage_key.h"
#include "third_party/blink/public/common/tokens/tokens.h"
#include "third_party/blink/public/resources/grit/blink_resources.h"
#include "third_party/blink/renderer/core/dom/dom_token_list.h"
#include "third_party/blink/renderer/core/dom/element.h"
#include "third_party/blink/renderer/core/dom/events/event_dispatch_forbidden_scope.h"
#include "third_party/blink/renderer/core/frame/local_frame.h"
#include "third_party/blink/renderer/core/frame/settings.h"
#include "third_party/blink/renderer/core/frame/visual_viewport.h"
#include "third_party/blink/renderer/core/layout/layout_view.h"
#include "third_party/blink/renderer/core/loader/empty_clients.h"
#include "third_party/blink/renderer/core/page/page.h"
#include "third_party/blink/renderer/core/page/page_animator.h"
#include "third_party/blink/renderer/core/page/page_popup_client.h"
#include "third_party/blink/renderer/platform/data_resource_helper.h"
#include "third_party/blink/renderer/platform/graphics/paint/cull_rect.h"
#include "third_party/blink/renderer/platform/graphics/paint/drawing_recorder.h"
#include "third_party/blink/renderer/platform/graphics/paint/paint_record_builder.h"
#include "third_party/blink/renderer/platform/heap/garbage_collected.h"
#include "third_party/blink/renderer/platform/text/platform_locale.h"
#include "third_party/blink/renderer/platform/web_test_support.h"
namespace blink {
class ValidationMessageChromeClient : public EmptyChromeClient { … };
ValidationMessageOverlayDelegate::ValidationMessageOverlayDelegate(
Page& main_page,
const Element& anchor,
const String& message,
TextDirection message_dir,
const String& sub_message,
TextDirection sub_message_dir)
: … { … }
ValidationMessageOverlayDelegate::~ValidationMessageOverlayDelegate() { … }
LocalFrameView& ValidationMessageOverlayDelegate::FrameView() const { … }
void ValidationMessageOverlayDelegate::PaintFrameOverlay(
const FrameOverlay& overlay,
GraphicsContext& context,
const gfx::Size& view_size) const { … }
void ValidationMessageOverlayDelegate::ServiceScriptedAnimations(
base::TimeTicks monotonic_frame_begin_time) { … }
void ValidationMessageOverlayDelegate::UpdateFrameViewState(
const FrameOverlay& overlay) { … }
void ValidationMessageOverlayDelegate::CreatePage(const FrameOverlay& overlay) { … }
void ValidationMessageOverlayDelegate::WriteDocument(SegmentedBuffer& data) { … }
Element& ValidationMessageOverlayDelegate::GetElementById(
const AtomicString& id) const { … }
void ValidationMessageOverlayDelegate::AdjustBubblePosition(
const gfx::Rect& view_rect) { … }
void ValidationMessageOverlayDelegate::StartToHide() { … }
bool ValidationMessageOverlayDelegate::IsHiding() const { … }
}