blob: d95348b5a2d4fb5675238a14de1671cdf01b6bea [file] [log] [blame]
Avi Drissman8ba1bad2022-09-13 19:22:361// Copyright 2018 The Chromium Authors
Illia Martyniukf688acd62018-04-02 19:26:072// 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
Sorin Jianu64e6e7592024-10-09 14:15:2613OverlayAgent::~OverlayAgent() = default;
Illia Martyniukf688acd62018-04-02 19:26:0714
15protocol::Response OverlayAgent::setInspectMode(
Pavel Feldman6026fe02019-02-08 07:19:1616 const protocol::String& in_mode,
Alex Rudenko23ebe5022024-11-27 22:33:0717 std::unique_ptr<protocol::Overlay::HighlightConfig> in_highlightConfig) {
Peter Boström77d21352024-11-13 22:26:1118 NOTREACHED();
Illia Martyniukf688acd62018-04-02 19:26:0719}
20
21protocol::Response OverlayAgent::highlightNode(
22 std::unique_ptr<protocol::Overlay::HighlightConfig> highlight_config,
Alex Rudenko23ebe5022024-11-27 22:33:0723 std::optional<int> node_id) {
Peter Boström77d21352024-11-13 22:26:1124 NOTREACHED();
Illia Martyniukf688acd62018-04-02 19:26:0725}
26
27protocol::Response OverlayAgent::hideHighlight() {
Johannes Henkeld5fead72020-03-20 02:09:0128 return protocol::Response::Success();
Illia Martyniukf688acd62018-04-02 19:26:0729}
30
31} // namespace ui_devtools