blob: ab9a84890944379d47ee546978250e259cf1cec5 [file] [log] [blame]
// Copyright 2018 The Chromium Authors. All rights reserved.
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
#ifndef COMPONENTS_UI_DEVTOOLS_VIEWS_DEVTOOLS_SERVER_UTIL_H_
#define COMPONENTS_UI_DEVTOOLS_VIEWS_DEVTOOLS_SERVER_UTIL_H_
#include <memory>
#include <vector>
#include "components/ui_devtools/devtools_server.h"
namespace aura {
class Window;
}
namespace ui_devtools {
// A factory helper to construct a UiDevToolsServer for Views.
std::unique_ptr<UiDevToolsServer> CreateUiDevToolsServerForViews(
network::mojom::NetworkContext* network_context);
// Register additional root windows and wire up their Aura Env.
void RegisterAdditionalRootWindowsAndEnv(std::vector<aura::Window*> roots);
} // namespace ui_devtools
#endif // COMPONENTS_UI_DEVTOOLS_VIEWS_DEVTOOLS_SERVER_UTIL_H_