#include "third_party/blink/renderer/core/html/html_frame_set_element.h"
#include "third_party/blink/renderer/bindings/core/v8/js_event_handler_for_content_attribute.h"
#include "third_party/blink/renderer/core/css/css_property_names.h"
#include "third_party/blink/renderer/core/css/style_change_reason.h"
#include "third_party/blink/renderer/core/dom/document.h"
#include "third_party/blink/renderer/core/dom/element_traversal.h"
#include "third_party/blink/renderer/core/dom/events/event.h"
#include "third_party/blink/renderer/core/events/mouse_event.h"
#include "third_party/blink/renderer/core/frame/local_frame.h"
#include "third_party/blink/renderer/core/frame/local_frame_client.h"
#include "third_party/blink/renderer/core/html/frame_edge_info.h"
#include "third_party/blink/renderer/core/html/html_collection.h"
#include "third_party/blink/renderer/core/html/html_frame_element.h"
#include "third_party/blink/renderer/core/html_names.h"
#include "third_party/blink/renderer/core/input/event_handler.h"
#include "third_party/blink/renderer/core/layout/frame_set_layout_data.h"
#include "third_party/blink/renderer/core/layout/layout_frame_set.h"
#include "third_party/blink/renderer/core/layout/physical_box_fragment.h"
#include "third_party/blink/renderer/platform/instrumentation/use_counter.h"
namespace blink {
namespace {
constexpr int kDefaultBorderThicknessPx = …;
const Vector<LayoutUnit>& ColumnSizes(const LayoutBox& box) { … }
const Vector<LayoutUnit>& RowSizes(const LayoutBox& box) { … }
}
HTMLFrameSetElement::HTMLFrameSetElement(Document& document)
: … { … }
bool HTMLFrameSetElement::IsPresentationAttribute(
const QualifiedName& name) const { … }
void HTMLFrameSetElement::CollectStyleForPresentationAttribute(
const QualifiedName& name,
const AtomicString& value,
MutableCSSPropertyValueSet* style) { … }
void HTMLFrameSetElement::ParseAttribute(
const AttributeModificationParams& params) { … }
bool HTMLFrameSetElement::HasFrameBorder() const { … }
bool HTMLFrameSetElement::NoResize() const { … }
int HTMLFrameSetElement::Border(const ComputedStyle& style) const { … }
bool HTMLFrameSetElement::HasBorderColor() const { … }
FrameEdgeInfo HTMLFrameSetElement::EdgeInfo() const { … }
void HTMLFrameSetElement::FillFromEdgeInfo(const FrameEdgeInfo& edge_info,
wtf_size_t r,
wtf_size_t c) { … }
void HTMLFrameSetElement::CollectEdgeInfoIfDirty() { … }
void HTMLFrameSetElement::DirtyEdgeInfo() { … }
void HTMLFrameSetElement::DirtyEdgeInfoAndFullPaintInvalidation() { … }
const Vector<bool>& HTMLFrameSetElement::AllowBorderRows() const { … }
const Vector<bool>& HTMLFrameSetElement::AllowBorderColumns() const { … }
bool HTMLFrameSetElement::LayoutObjectIsNeeded(
const DisplayStyle& style) const { … }
LayoutObject* HTMLFrameSetElement::CreateLayoutObject(
const ComputedStyle& style) { … }
void HTMLFrameSetElement::AttachLayoutTree(AttachContext& context) { … }
void HTMLFrameSetElement::DefaultEventHandler(Event& evt) { … }
Node::InsertionNotificationRequest HTMLFrameSetElement::InsertedInto(
ContainerNode& insertion_point) { … }
void HTMLFrameSetElement::WillRecalcStyle(const StyleRecalcChange) { … }
bool HTMLFrameSetElement::UserResize(const MouseEvent& event) { … }
void HTMLFrameSetElement::SetIsResizing(bool is_resizing) { … }
void HTMLFrameSetElement::StartResizing(const Vector<LayoutUnit>& sizes,
int position,
ResizeAxis& resize_axis) { … }
void HTMLFrameSetElement::ContinueResizing(const Vector<LayoutUnit>& sizes,
int position,
ResizeAxis& resize_axis) { … }
int HTMLFrameSetElement::SplitPosition(const Vector<LayoutUnit>& sizes,
int split) const { … }
bool HTMLFrameSetElement::CanResizeRow(const gfx::Point& p) const { … }
bool HTMLFrameSetElement::CanResizeColumn(const gfx::Point& p) const { … }
int HTMLFrameSetElement::HitTestSplit(const Vector<LayoutUnit>& sizes,
int position) const { … }
void HTMLFrameSetElement::ResizeChildrenData() { … }
void HTMLFrameSetElement::ResizeAxis::Resize(wtf_size_t number_of_frames) { … }
bool HTMLFrameSetElement::ResizeAxis::CanResizeSplitAt(int split_index) const { … }
}