blob: 59907c5bfe843303ce9ec0107ae88c435de31b8b [file] [log] [blame]
Illia Martyniukf688acd62018-04-02 19:26:071// Copyright 2018 The Chromium Authors. All rights reserved.
2// Use of this source code is governed by a BSD-style license that can be
3// found in the LICENSE file.
4
5#include "components/ui_devtools/overlay_agent.h"
6
7namespace ui_devtools {
8
9OverlayAgent::OverlayAgent(DOMAgent* dom_agent) : dom_agent_(dom_agent) {
10 DCHECK(dom_agent_);
11}
12
13OverlayAgent::~OverlayAgent() {}
14
15protocol::Response OverlayAgent::setInspectMode(
Pavel Feldman6026fe02019-02-08 07:19:1616 const protocol::String& in_mode,
Illia Martyniukf688acd62018-04-02 19:26:0717 protocol::Maybe<protocol::Overlay::HighlightConfig> in_highlightConfig) {
18 NOTREACHED();
Johannes Henkeld5fead72020-03-20 02:09:0119 return protocol::Response::Success();
Illia Martyniukf688acd62018-04-02 19:26:0720}
21
22protocol::Response OverlayAgent::highlightNode(
23 std::unique_ptr<protocol::Overlay::HighlightConfig> highlight_config,
24 protocol::Maybe<int> node_id) {
25 NOTREACHED();
Johannes Henkeld5fead72020-03-20 02:09:0126 return protocol::Response::Success();
Illia Martyniukf688acd62018-04-02 19:26:0727}
28
29protocol::Response OverlayAgent::hideHighlight() {
Johannes Henkeld5fead72020-03-20 02:09:0130 return protocol::Response::Success();
Illia Martyniukf688acd62018-04-02 19:26:0731}
32
33} // namespace ui_devtools