| OLD | NEW |
| 1 // Copyright (c) 2012 The Chromium Authors. All rights reserved. | 1 // Copyright (c) 2012 The Chromium Authors. All rights reserved. |
| 2 // Use of this source code is governed by a BSD-style license that can be | 2 // Use of this source code is governed by a BSD-style license that can be |
| 3 // found in the LICENSE file. | 3 // found in the LICENSE file. |
| 4 | 4 |
| 5 #ifndef CONTENT_BROWSER_DEVTOOLS_RENDER_FRAME_DEVTOOLS_AGENT_HOST_H_ | 5 #ifndef CONTENT_BROWSER_DEVTOOLS_RENDER_FRAME_DEVTOOLS_AGENT_HOST_H_ |
| 6 #define CONTENT_BROWSER_DEVTOOLS_RENDER_FRAME_DEVTOOLS_AGENT_HOST_H_ | 6 #define CONTENT_BROWSER_DEVTOOLS_RENDER_FRAME_DEVTOOLS_AGENT_HOST_H_ |
| 7 | 7 |
| 8 #include <map> | 8 #include <map> |
| 9 #include <memory> | 9 #include <memory> |
| 10 | 10 |
| (...skipping 98 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 109 void DidCommitProvisionalLoadForFrame( | 109 void DidCommitProvisionalLoadForFrame( |
| 110 RenderFrameHost* render_frame_host, | 110 RenderFrameHost* render_frame_host, |
| 111 const GURL& url, | 111 const GURL& url, |
| 112 ui::PageTransition transition_type) override; | 112 ui::PageTransition transition_type) override; |
| 113 void DidFailProvisionalLoad( | 113 void DidFailProvisionalLoad( |
| 114 RenderFrameHost* render_frame_host, | 114 RenderFrameHost* render_frame_host, |
| 115 const GURL& validated_url, | 115 const GURL& validated_url, |
| 116 int error_code, | 116 int error_code, |
| 117 const base::string16& error_description, | 117 const base::string16& error_description, |
| 118 bool was_ignored_by_handler) override; | 118 bool was_ignored_by_handler) override; |
| 119 void WebContentsDestroyed() override; |
| 119 | 120 |
| 120 void AboutToNavigateRenderFrame(RenderFrameHost* old_host, | 121 void AboutToNavigateRenderFrame(RenderFrameHost* old_host, |
| 121 RenderFrameHost* new_host); | 122 RenderFrameHost* new_host); |
| 122 void AboutToNavigate(NavigationHandle* navigation_handle); | 123 void AboutToNavigate(NavigationHandle* navigation_handle); |
| 123 | 124 |
| 124 void DispatchBufferedProtocolMessagesIfNecessary(); | 125 void DispatchBufferedProtocolMessagesIfNecessary(); |
| 125 | 126 |
| 126 void SetPending(RenderFrameHostImpl* host); | 127 void SetPending(RenderFrameHostImpl* host); |
| 127 void CommitPending(); | 128 void CommitPending(); |
| 128 void DiscardPending(); | 129 void DiscardPending(); |
| (...skipping 58 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 187 | 188 |
| 188 // The FrameTreeNode associated with this agent. | 189 // The FrameTreeNode associated with this agent. |
| 189 FrameTreeNode* frame_tree_node_; | 190 FrameTreeNode* frame_tree_node_; |
| 190 | 191 |
| 191 DISALLOW_COPY_AND_ASSIGN(RenderFrameDevToolsAgentHost); | 192 DISALLOW_COPY_AND_ASSIGN(RenderFrameDevToolsAgentHost); |
| 192 }; | 193 }; |
| 193 | 194 |
| 194 } // namespace content | 195 } // namespace content |
| 195 | 196 |
| 196 #endif // CONTENT_BROWSER_DEVTOOLS_RENDER_FRAME_DEVTOOLS_AGENT_HOST_H_ | 197 #endif // CONTENT_BROWSER_DEVTOOLS_RENDER_FRAME_DEVTOOLS_AGENT_HOST_H_ |
| OLD | NEW |