#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 {
void StripPrefix(std::string& property_name) { … }
}
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 { … }
}