#include "content/shell/browser/shell_devtools_frontend.h"
#include "base/strings/string_number_conversions.h"
#include "base/strings/stringprintf.h"
#include "base/strings/utf_string_conversions.h"
#include "content/public/browser/web_contents.h"
#include "content/public/browser/web_contents_observer.h"
#include "content/shell/browser/shell.h"
#include "content/shell/browser/shell_browser_context.h"
#include "content/shell/browser/shell_devtools_bindings.h"
#include "content/shell/browser/shell_devtools_manager_delegate.h"
#if !BUILDFLAG(IS_ANDROID) && !BUILDFLAG(IS_IOS)
#include "base/command_line.h"
#include "content/shell/common/shell_switches.h"
#endif
namespace content {
namespace {
static GURL GetFrontendURL() { … }
}
ShellDevToolsFrontend* ShellDevToolsFrontend::Show(
WebContents* inspected_contents) { … }
void ShellDevToolsFrontend::Activate() { … }
void ShellDevToolsFrontend::InspectElementAt(int x, int y) { … }
void ShellDevToolsFrontend::Close() { … }
void ShellDevToolsFrontend::PrimaryMainDocumentElementAvailable() { … }
void ShellDevToolsFrontend::WebContentsDestroyed() { … }
ShellDevToolsFrontend::ShellDevToolsFrontend(Shell* frontend_shell,
WebContents* inspected_contents)
: … { … }
ShellDevToolsFrontend::~ShellDevToolsFrontend() { … }
base::WeakPtr<ShellDevToolsFrontend> ShellDevToolsFrontend::GetWeakPtr() { … }
}