Update headers for InspectableWebContentsImpl
This commit is contained in:
parent
157f3abe64
commit
40c98381ab
2 changed files with 10 additions and 10 deletions
|
@ -573,7 +573,7 @@ void InspectableWebContentsImpl::AgentHostClosed(
|
||||||
content::DevToolsAgentHost* agent_host, bool replaced) {
|
content::DevToolsAgentHost* agent_host, bool replaced) {
|
||||||
}
|
}
|
||||||
|
|
||||||
void InspectableWebContentsImpl::AboutToNavigateRenderFrame(
|
void InspectableWebContentsImpl::RenderFrameHostChanged(
|
||||||
content::RenderFrameHost* old_host,
|
content::RenderFrameHost* old_host,
|
||||||
content::RenderFrameHost* new_host) {
|
content::RenderFrameHost* new_host) {
|
||||||
if (new_host->GetParent())
|
if (new_host->GetParent())
|
||||||
|
@ -603,8 +603,9 @@ bool InspectableWebContentsImpl::AddMessageToConsole(
|
||||||
|
|
||||||
bool InspectableWebContentsImpl::ShouldCreateWebContents(
|
bool InspectableWebContentsImpl::ShouldCreateWebContents(
|
||||||
content::WebContents* web_contents,
|
content::WebContents* web_contents,
|
||||||
int route_id,
|
int32_t route_id,
|
||||||
int main_frame_route_id,
|
int32_t main_frame_route_id,
|
||||||
|
int32_t main_frame_widget_route_id,
|
||||||
WindowContainerType window_container_type,
|
WindowContainerType window_container_type,
|
||||||
const std::string& frame_name,
|
const std::string& frame_name,
|
||||||
const GURL& target_url,
|
const GURL& target_url,
|
||||||
|
|
|
@ -33,7 +33,6 @@ class InspectableWebContentsView;
|
||||||
|
|
||||||
class InspectableWebContentsImpl :
|
class InspectableWebContentsImpl :
|
||||||
public InspectableWebContents,
|
public InspectableWebContents,
|
||||||
public content::DevToolsFrontendHost::Delegate,
|
|
||||||
public content::DevToolsAgentHostClient,
|
public content::DevToolsAgentHostClient,
|
||||||
public content::WebContentsObserver,
|
public content::WebContentsObserver,
|
||||||
public content::WebContentsDelegate,
|
public content::WebContentsDelegate,
|
||||||
|
@ -117,8 +116,7 @@ class InspectableWebContentsImpl :
|
||||||
void ClearPreferences() override;
|
void ClearPreferences() override;
|
||||||
|
|
||||||
// content::DevToolsFrontendHostDelegate:
|
// content::DevToolsFrontendHostDelegate:
|
||||||
void HandleMessageFromDevToolsFrontend(const std::string& message) override;
|
void HandleMessageFromDevToolsFrontend(const std::string& message);
|
||||||
void HandleMessageFromDevToolsFrontendToBackend(const std::string& message) override;
|
|
||||||
|
|
||||||
// content::DevToolsAgentHostClient:
|
// content::DevToolsAgentHostClient:
|
||||||
void DispatchProtocolMessage(content::DevToolsAgentHost* agent_host,
|
void DispatchProtocolMessage(content::DevToolsAgentHost* agent_host,
|
||||||
|
@ -127,8 +125,8 @@ class InspectableWebContentsImpl :
|
||||||
bool replaced) override;
|
bool replaced) override;
|
||||||
|
|
||||||
// content::WebContentsObserver:
|
// content::WebContentsObserver:
|
||||||
void AboutToNavigateRenderFrame(content::RenderFrameHost* old_host,
|
void RenderFrameHostChanged(content::RenderFrameHost* old_host,
|
||||||
content::RenderFrameHost* new_host) override;
|
content::RenderFrameHost* new_host) override;
|
||||||
void WebContentsDestroyed() override;
|
void WebContentsDestroyed() override;
|
||||||
void OnWebContentsFocused() override;
|
void OnWebContentsFocused() override;
|
||||||
|
|
||||||
|
@ -140,8 +138,9 @@ class InspectableWebContentsImpl :
|
||||||
const base::string16& source_id) override;
|
const base::string16& source_id) override;
|
||||||
bool ShouldCreateWebContents(
|
bool ShouldCreateWebContents(
|
||||||
content::WebContents* web_contents,
|
content::WebContents* web_contents,
|
||||||
int route_id,
|
int32_t route_id,
|
||||||
int main_frame_route_id,
|
int32_t main_frame_route_id,
|
||||||
|
int32_t main_frame_widget_route_id,
|
||||||
WindowContainerType window_container_type,
|
WindowContainerType window_container_type,
|
||||||
const std::string& frame_name,
|
const std::string& frame_name,
|
||||||
const GURL& target_url,
|
const GURL& target_url,
|
||||||
|
|
Loading…
Reference in a new issue