overlay_agent.cc 937 B

123456789101112131415161718192021222324252627282930313233
  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. #include "components/ui_devtools/overlay_agent.h"
  5. namespace ui_devtools {
  6. OverlayAgent::OverlayAgent(DOMAgent* dom_agent) : dom_agent_(dom_agent) {
  7. DCHECK(dom_agent_);
  8. }
  9. OverlayAgent::~OverlayAgent() {}
  10. protocol::Response OverlayAgent::setInspectMode(
  11. const protocol::String& in_mode,
  12. protocol::Maybe<protocol::Overlay::HighlightConfig> in_highlightConfig) {
  13. NOTREACHED();
  14. return protocol::Response::Success();
  15. }
  16. protocol::Response OverlayAgent::highlightNode(
  17. std::unique_ptr<protocol::Overlay::HighlightConfig> highlight_config,
  18. protocol::Maybe<int> node_id) {
  19. NOTREACHED();
  20. return protocol::Response::Success();
  21. }
  22. protocol::Response OverlayAgent::hideHighlight() {
  23. return protocol::Response::Success();
  24. }
  25. } // namespace ui_devtools