summaryrefslogtreecommitdiff
path: root/chromium/components/ui_devtools/overlay_agent.cc
blob: 59907c5bfe843303ce9ec0107ae88c435de31b8b (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
// 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/overlay_agent.h"

namespace ui_devtools {

OverlayAgent::OverlayAgent(DOMAgent* dom_agent) : dom_agent_(dom_agent) {
  DCHECK(dom_agent_);
}

OverlayAgent::~OverlayAgent() {}

protocol::Response OverlayAgent::setInspectMode(
    const protocol::String& in_mode,
    protocol::Maybe<protocol::Overlay::HighlightConfig> in_highlightConfig) {
  NOTREACHED();
  return protocol::Response::Success();
}

protocol::Response OverlayAgent::highlightNode(
    std::unique_ptr<protocol::Overlay::HighlightConfig> highlight_config,
    protocol::Maybe<int> node_id) {
  NOTREACHED();
  return protocol::Response::Success();
}

protocol::Response OverlayAgent::hideHighlight() {
  return protocol::Response::Success();
}

}  // namespace ui_devtools