#include "components/ui_devtools/views/widget_element.h"
#include <memory>
#include "base/memory/raw_ptr.h"
#include "components/ui_devtools/protocol.h"
#include "components/ui_devtools/root_element.h"
#include "components/ui_devtools/ui_devtools_unittest_utils.h"
#include "components/ui_devtools/views/view_element.h"
#include "ui/views/test/views_test_base.h"
namespace ui_devtools {
_;
namespace {
const std::string kWidgetName = …;
}
class MockWidgetElementDelegate : public MockUIElementDelegate { … };
class WidgetElementTest : public views::ViewsTestBase { … };
TEST_F(WidgetElementTest, SettingsBoundsOnWidgetCallsDelegate) { … }
TEST_F(WidgetElementTest, SettingsBoundsOnElementSetsOnWidget) { … }
TEST_F(WidgetElementTest, SettingVisibleOnElementSetsOnWidget) { … }
TEST_F(WidgetElementTest, GetBounds) { … }
TEST_F(WidgetElementTest, GetVisible) { … }
TEST_F(WidgetElementTest, GetAttributes) { … }
TEST_F(WidgetElementTest, GetNodeWindowAndScreenBounds) { … }
TEST_F(WidgetElementTest, TrackNonParentedElementLifetime) { … }
TEST_F(WidgetElementTest, TrackParentedElementLifetime) { … }
}