OLD | NEW |
1 // Copyright 2013 The Chromium Authors. All rights reserved. | 1 // Copyright 2013 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_FRAME_HOST_RENDER_FRAME_HOST_IMPL_H_ | 5 #ifndef CONTENT_BROWSER_FRAME_HOST_RENDER_FRAME_HOST_IMPL_H_ |
6 #define CONTENT_BROWSER_FRAME_HOST_RENDER_FRAME_HOST_IMPL_H_ | 6 #define CONTENT_BROWSER_FRAME_HOST_RENDER_FRAME_HOST_IMPL_H_ |
7 | 7 |
8 #include <string> | 8 #include <string> |
9 | 9 |
10 #include "base/callback.h" | 10 #include "base/callback.h" |
(...skipping 113 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
124 bool is_main_frame, | 124 bool is_main_frame, |
125 int error_code, | 125 int error_code, |
126 const base::string16& error_description); | 126 const base::string16& error_description); |
127 void OnDidRedirectProvisionalLoad(int32 page_id, | 127 void OnDidRedirectProvisionalLoad(int32 page_id, |
128 const GURL& source_url, | 128 const GURL& source_url, |
129 const GURL& target_url); | 129 const GURL& target_url); |
130 void OnNavigate(const IPC::Message& msg); | 130 void OnNavigate(const IPC::Message& msg); |
131 void OnDidStopLoading(); | 131 void OnDidStopLoading(); |
132 void OnSwapOutACK(); | 132 void OnSwapOutACK(); |
133 void OnContextMenu(const ContextMenuParams& params); | 133 void OnContextMenu(const ContextMenuParams& params); |
| 134 void OnDomOperationResponse(const std::string& json_string, |
| 135 int automation_id); |
134 | 136 |
135 // Returns whether the given URL is allowed to commit in the current process. | 137 // Returns whether the given URL is allowed to commit in the current process. |
136 // This is a more conservative check than RenderProcessHost::FilterURL, since | 138 // This is a more conservative check than RenderProcessHost::FilterURL, since |
137 // it will be used to kill processes that commit unauthorized URLs. | 139 // it will be used to kill processes that commit unauthorized URLs. |
138 bool CanCommitURL(const GURL& url); | 140 bool CanCommitURL(const GURL& url); |
139 | 141 |
140 // For now, RenderFrameHosts indirectly keep RenderViewHosts alive via a | 142 // For now, RenderFrameHosts indirectly keep RenderViewHosts alive via a |
141 // refcount that calls Shutdown when it reaches zero. This allows each | 143 // refcount that calls Shutdown when it reaches zero. This allows each |
142 // RenderFrameHostManager to just care about RenderFrameHosts, while ensuring | 144 // RenderFrameHostManager to just care about RenderFrameHosts, while ensuring |
143 // we have a RenderViewHost for each RenderFrameHost. | 145 // we have a RenderViewHost for each RenderFrameHost. |
(...skipping 25 matching lines...) Expand all Loading... |
169 | 171 |
170 int routing_id_; | 172 int routing_id_; |
171 bool is_swapped_out_; | 173 bool is_swapped_out_; |
172 | 174 |
173 DISALLOW_COPY_AND_ASSIGN(RenderFrameHostImpl); | 175 DISALLOW_COPY_AND_ASSIGN(RenderFrameHostImpl); |
174 }; | 176 }; |
175 | 177 |
176 } // namespace content | 178 } // namespace content |
177 | 179 |
178 #endif // CONTENT_BROWSER_FRAME_HOST_RENDER_FRAME_HOST_IMPL_H_ | 180 #endif // CONTENT_BROWSER_FRAME_HOST_RENDER_FRAME_HOST_IMPL_H_ |
OLD | NEW |