summaryrefslogtreecommitdiff
path: root/chromium/components/ui_devtools/root_element.cc
blob: 1a412884577216c4efeb322fd7b2462557aedd88 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
// Copyright 2018 The Chromium Authors. All rights reserved.
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.

#include "components/ui_devtools/root_element.h"

#include "components/ui_devtools/Protocol.h"
#include "components/ui_devtools/ui_element_delegate.h"

namespace ui_devtools {

RootElement::RootElement(UIElementDelegate* ui_element_delegate)
    : UIElement(UIElementType::ROOT, ui_element_delegate, nullptr) {}

RootElement::~RootElement() {}

std::vector<std::pair<std::string, std::string>>
RootElement::GetCustomProperties() const {
  NOTREACHED();
  return {};
}

void RootElement::GetBounds(gfx::Rect* bounds) const {
  NOTREACHED();
}

void RootElement::SetBounds(const gfx::Rect& bounds) {
  NOTREACHED();
}

void RootElement::GetVisible(bool* visible) const {
  NOTREACHED();
}

void RootElement::SetVisible(bool visible) {
  NOTREACHED();
}
std::unique_ptr<protocol::Array<std::string>> RootElement::GetAttributes()
    const {
  NOTREACHED();
  return nullptr;
}

std::pair<gfx::NativeWindow, gfx::Rect> RootElement::GetNodeWindowAndBounds()
    const {
  NOTREACHED();
  return {};
}

}  // namespace ui_devtools