| 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 | 9 |
| 10 #include "base/basictypes.h" | 10 #include "base/basictypes.h" |
| (...skipping 87 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 98 void DidAttachInterstitialPage() override; | 98 void DidAttachInterstitialPage() override; |
| 99 void DidDetachInterstitialPage() override; | 99 void DidDetachInterstitialPage() override; |
| 100 void DidCommitProvisionalLoadForFrame( | 100 void DidCommitProvisionalLoadForFrame( |
| 101 RenderFrameHost* render_frame_host, | 101 RenderFrameHost* render_frame_host, |
| 102 const GURL& url, | 102 const GURL& url, |
| 103 ui::PageTransition transition_type) override; | 103 ui::PageTransition transition_type) override; |
| 104 void DidFailProvisionalLoad( | 104 void DidFailProvisionalLoad( |
| 105 RenderFrameHost* render_frame_host, | 105 RenderFrameHost* render_frame_host, |
| 106 const GURL& validated_url, | 106 const GURL& validated_url, |
| 107 int error_code, | 107 int error_code, |
| 108 const base::string16& error_description) override; | 108 const base::string16& error_description, |
| 109 bool was_ignored_by_handler) override; |
| 109 | 110 |
| 110 void SetPending(RenderFrameHostImpl* host); | 111 void SetPending(RenderFrameHostImpl* host); |
| 111 void CommitPending(); | 112 void CommitPending(); |
| 112 void DiscardPending(); | 113 void DiscardPending(); |
| 113 void UpdateProtocolHandlers(RenderFrameHostImpl* host); | 114 void UpdateProtocolHandlers(RenderFrameHostImpl* host); |
| 114 | 115 |
| 115 bool IsChildFrame(); | 116 bool IsChildFrame(); |
| 116 | 117 |
| 117 void OnClientAttached(); | 118 void OnClientAttached(); |
| 118 void OnClientDetached(); | 119 void OnClientDetached(); |
| (...skipping 24 matching lines...) Expand all Loading... |
| 143 #endif | 144 #endif |
| 144 scoped_ptr<DevToolsProtocolHandler> protocol_handler_; | 145 scoped_ptr<DevToolsProtocolHandler> protocol_handler_; |
| 145 bool current_frame_crashed_; | 146 bool current_frame_crashed_; |
| 146 | 147 |
| 147 DISALLOW_COPY_AND_ASSIGN(RenderFrameDevToolsAgentHost); | 148 DISALLOW_COPY_AND_ASSIGN(RenderFrameDevToolsAgentHost); |
| 148 }; | 149 }; |
| 149 | 150 |
| 150 } // namespace content | 151 } // namespace content |
| 151 | 152 |
| 152 #endif // CONTENT_BROWSER_DEVTOOLS_RENDER_FRAME_DEVTOOLS_AGENT_HOST_H_ | 153 #endif // CONTENT_BROWSER_DEVTOOLS_RENDER_FRAME_DEVTOOLS_AGENT_HOST_H_ |
| OLD | NEW |