Illia Martyniuk | f688acd6 | 2018-04-02 19:26:07 | [diff] [blame] | 1 | // 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 | |
| 7 | namespace ui_devtools { |
| 8 | |
| 9 | OverlayAgent::OverlayAgent(DOMAgent* dom_agent) : dom_agent_(dom_agent) { |
| 10 | DCHECK(dom_agent_); |
| 11 | } |
| 12 | |
| 13 | OverlayAgent::~OverlayAgent() {} |
| 14 | |
| 15 | protocol::Response OverlayAgent::setInspectMode( |
Pavel Feldman | 6026fe0 | 2019-02-08 07:19:16 | [diff] [blame] | 16 | const protocol::String& in_mode, |
Illia Martyniuk | f688acd6 | 2018-04-02 19:26:07 | [diff] [blame] | 17 | protocol::Maybe<protocol::Overlay::HighlightConfig> in_highlightConfig) { |
| 18 | NOTREACHED(); |
Johannes Henkel | d5fead7 | 2020-03-20 02:09:01 | [diff] [blame^] | 19 | return protocol::Response::Success(); |
Illia Martyniuk | f688acd6 | 2018-04-02 19:26:07 | [diff] [blame] | 20 | } |
| 21 | |
| 22 | protocol::Response OverlayAgent::highlightNode( |
| 23 | std::unique_ptr<protocol::Overlay::HighlightConfig> highlight_config, |
| 24 | protocol::Maybe<int> node_id) { |
| 25 | NOTREACHED(); |
Johannes Henkel | d5fead7 | 2020-03-20 02:09:01 | [diff] [blame^] | 26 | return protocol::Response::Success(); |
Illia Martyniuk | f688acd6 | 2018-04-02 19:26:07 | [diff] [blame] | 27 | } |
| 28 | |
| 29 | protocol::Response OverlayAgent::hideHighlight() { |
Johannes Henkel | d5fead7 | 2020-03-20 02:09:01 | [diff] [blame^] | 30 | return protocol::Response::Success(); |
Illia Martyniuk | f688acd6 | 2018-04-02 19:26:07 | [diff] [blame] | 31 | } |
| 32 | |
| 33 | } // namespace ui_devtools |