blob: 5cd89fbee4337c41ef33f76c8de4e4c22fd3ca54 [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();
Andrey Kosyakovd8d217c22020-03-13 23:20:3519 return protocol::Response::OK();
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();
Andrey Kosyakovd8d217c22020-03-13 23:20:3526 return protocol::Response::OK();
Illia Martyniukf688acd62018-04-02 19:26:0727}
28
29protocol::Response OverlayAgent::hideHighlight() {
Andrey Kosyakovd8d217c22020-03-13 23:20:3530 return protocol::Response::OK();
Illia Martyniukf688acd62018-04-02 19:26:0731}
32
33} // namespace ui_devtools