#include "content/shell/browser/protocol/browser_handler.h"
#include "base/functional/bind.h"
#include "content/public/browser/browser_task_traits.h"
#include "content/public/browser/browser_thread.h"
#include "content/public/browser/devtools_agent_host.h"
#include "content/public/browser/web_contents.h"
namespace content::shell::protocol {
namespace {
std::unique_ptr<Browser::Bounds> CreateBrowserBounds(
WebContents* web_contents) { … }
}
BrowserHandler::BrowserHandler(
const raw_ref<const BrowserContext> browser_context,
std::string target_id)
: … { … }
BrowserHandler::~BrowserHandler() = default;
void BrowserHandler::Wire(UberDispatcher* dispatcher) { … }
Response BrowserHandler::Disable() { … }
Response BrowserHandler::GetWindowForTarget(
Maybe<std::string> target_id,
int* out_window_id,
std::unique_ptr<Browser::Bounds>* out_bounds) { … }
}