blob: ec265cee06df75727773a58b217b2fd6da279ac3 [file] [log] [blame]
Avi Drissman8ba1bad2022-09-13 19:22:361// Copyright 2018 The Chromium Authors
Leonard Greye4ae34d2018-02-16 17:34:292// Use of this source code is governed by a BSD-style license that can be
3// found in the LICENSE file.
4
Illia Martyniukf688acd62018-04-02 19:26:075#include "components/ui_devtools/root_element.h"
Leonard Greye4ae34d2018-02-16 17:34:296
Hans Wennborgdf87046c2020-04-28 11:06:247#include "base/notreached.h"
Andrey Kosyakov103b8f2a2021-11-16 08:06:268#include "components/ui_devtools/protocol.h"
Illia Martyniukf688acd62018-04-02 19:26:079#include "components/ui_devtools/ui_element_delegate.h"
Leonard Greye4ae34d2018-02-16 17:34:2910
11namespace ui_devtools {
12
13RootElement::RootElement(UIElementDelegate* ui_element_delegate)
14 : UIElement(UIElementType::ROOT, ui_element_delegate, nullptr) {}
15
Sorin Jianu64e6e7592024-10-09 14:15:2616RootElement::~RootElement() = default;
Leonard Greye4ae34d2018-02-16 17:34:2917
Leonard Greye4ae34d2018-02-16 17:34:2918void RootElement::GetBounds(gfx::Rect* bounds) const {
Peter Boströmaaf19db2024-05-14 22:08:09