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 OverlayAgent(DOMAgent * dom_agent)9OverlayAgent::OverlayAgent(DOMAgent* dom_agent) : dom_agent_(dom_agent) { 10 DCHECK(dom_agent_); 11 } 12 ~OverlayAgent()13OverlayAgent::~OverlayAgent() {} 14 setInspectMode(const protocol::String & in_mode,protocol::Maybe<protocol::Overlay::HighlightConfig> in_highlightConfig)15protocol::Response OverlayAgent::setInspectMode( 16 const protocol::String& in_mode, 17 protocol::Maybe<protocol::Overlay::HighlightConfig> in_highlightConfig) { 18 NOTREACHED(); 19 return protocol::Response::Success(); 20 } 21 highlightNode(std::unique_ptr<protocol::Overlay::HighlightConfig> highlight_config,protocol::Maybe<int> node_id)22protocol::Response OverlayAgent::highlightNode( 23 std::unique_ptr<protocol::Overlay::HighlightConfig> highlight_config, 24 protocol::Maybe<int> node_id) { 25 NOTREACHED(); 26 return protocol::Response::Success(); 27 } 28 hideHighlight()29protocol::Response OverlayAgent::hideHighlight() { 30 return protocol::Response::Success(); 31 } 32 33 } // namespace ui_devtools 34