chromium/components/ui_devtools/ui_element.cc

// Copyright 2017 The Chromium Authors
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.

#include "components/ui_devtools/ui_element.h"

#include "base/check_op.h"
#include "base/not_fatal_until.h"
#include "base/notreached.h"
#include "base/ranges/algorithm.h"
#include "components/ui_devtools/protocol.h"
#include "components/ui_devtools/ui_element_delegate.h"

namespace ui_devtools {
namespace {

static int node_ids =;

}  // namespace

UIElement::ClassProperties::ClassProperties(
    std::string class_name,
    std::vector<UIElement::UIProperty> properties)
    :{}

UIElement::ClassProperties::ClassProperties(
    const UIElement::ClassProperties& other) = default;

UIElement::ClassProperties::~ClassProperties() = default;

UIElement::Source::Source(std::string path, int line)
    :{}

// static
void UIElement::ResetNodeId() {}

UIElement::~UIElement() {}

std::string UIElement::GetTypeName() const {}

void UIElement::AddChild(UIElement* child, UIElement* before) {}

void UIElement::AddOrderedChild(UIElement* child,
                                ElementCompare compare,
                                bool notify_delegate) {}

void UIElement::ClearChildren() {}

void UIElement::RemoveChild(UIElement* child, bool notify_delegate) {}

void UIElement::ReorderChild(UIElement* child, int index) {}

template <class T>
int UIElement::FindUIElementIdForBackendElement(T* element) const {}

std::vector<UIElement::ClassProperties>
UIElement::GetCustomPropertiesForMatchedStyle() const {}

UIElement::UIElement(const UIElementType type,
                     UIElementDelegate* delegate,
                     UIElement* parent)
    :{}

bool UIElement::SetPropertiesFromString(const std::string& text) {}

void UIElement::AddSource(std::string path, int line) {}

std::vector<UIElement::Source> UIElement::GetSources() {}

bool UIElement::FindMatchByElementID(const ui::ElementIdentifier& identifier) {}

bool UIElement::DispatchMouseEvent(protocol::DOM::MouseEvent* event) {}

bool UIElement::DispatchKeyEvent(protocol::DOM::KeyEvent* event) {}

}  // namespace ui_devtools