#include "third_party/blink/renderer/core/page/scrolling/element_fragment_anchor.h"
#include "base/trace_event/typed_macros.h"
#include "third_party/blink/renderer/bindings/core/v8/v8_scroll_into_view_options.h"
#include "third_party/blink/renderer/core/accessibility/ax_object_cache.h"
#include "third_party/blink/renderer/core/display_lock/display_lock_context.h"
#include "third_party/blink/renderer/core/display_lock/display_lock_utilities.h"
#include "third_party/blink/renderer/core/dom/document.h"
#include "third_party/blink/renderer/core/dom/element.h"
#include "third_party/blink/renderer/core/dom/focus_params.h"
#include "third_party/blink/renderer/core/dom/node.h"
#include "third_party/blink/renderer/core/editing/frame_selection.h"
#include "third_party/blink/renderer/core/execution_context/execution_context.h"
#include "third_party/blink/renderer/core/frame/local_frame.h"
#include "third_party/blink/renderer/core/html/html_details_element.h"
#include "third_party/blink/renderer/core/svg/svg_svg_element.h"
#include "third_party/blink/renderer/platform/bindings/script_forbidden_scope.h"
#include "third_party/blink/renderer/platform/weborigin/kurl.h"
namespace blink {
namespace {
String RemoveFragmentDirectives(const String& url_fragment) { … }
}
ElementFragmentAnchor* ElementFragmentAnchor::TryCreate(const KURL& url,
LocalFrame& frame,
bool should_scroll) { … }
ElementFragmentAnchor::ElementFragmentAnchor(Node& anchor_node,
LocalFrame& frame)
: … { … }
bool ElementFragmentAnchor::Invoke() { … }
void ElementFragmentAnchor::Installed() { … }
void ElementFragmentAnchor::DidScroll(mojom::blink::ScrollType type) { … }
void ElementFragmentAnchor::Trace(Visitor* visitor) const { … }
void ElementFragmentAnchor::ApplyFocusIfNeeded() { … }
}