chromium/components/ui_devtools/views/ui_element_with_metadata.cc

// Copyright 2021 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/views/ui_element_with_metadata.h"

#include "base/containers/contains.h"
#include "base/logging.h"
#include "base/notreached.h"
#include "base/strings/string_split.h"
#include "base/strings/string_util.h"
#include "base/strings/utf_string_conversions.h"
#include "components/ui_devtools/views/element_utility.h"
#include "ui/base/metadata/metadata_types.h"

namespace ui_devtools {

namespace {

// Remove any custom editor "prefixes" from the property name. The prefixes must
// not be valid identifier characters.
void StripPrefix(std::string& property_name) {}

}  // namespace

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

UIElementWithMetaData::~UIElementWithMetaData() = default;

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

void UIElementWithMetaData::GetVisible(bool* visible) const {}

void UIElementWithMetaData::SetVisible(bool visible) {}

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

void UIElementWithMetaData::InitSources() {}

ui::Layer* UIElementWithMetaData::GetLayer() const {}

}  // namespace ui_devtools