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 <map> | 8 #include <map> |
9 #include <vector> | 9 #include <vector> |
10 | 10 |
(...skipping 183 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
194 // function takes ownership of the provided message pointer. | 194 // function takes ownership of the provided message pointer. |
195 // | 195 // |
196 // If a cross-site request is in progress, we may be suspended while waiting | 196 // If a cross-site request is in progress, we may be suspended while waiting |
197 // for the onbeforeunload handler, so this function might buffer the message | 197 // for the onbeforeunload handler, so this function might buffer the message |
198 // rather than sending it. | 198 // rather than sending it. |
199 void Navigate(const FrameMsg_Navigate_Params& params); | 199 void Navigate(const FrameMsg_Navigate_Params& params); |
200 | 200 |
201 // Load the specified URL; this is a shortcut for Navigate(). | 201 // Load the specified URL; this is a shortcut for Navigate(). |
202 void NavigateToURL(const GURL& url); | 202 void NavigateToURL(const GURL& url); |
203 | 203 |
204 // Treat this prospective navigation as thought it originated from the | |
205 // frame. Used, e.g., for a navigation request that originated from | |
206 // a remote frmae. | |
Charlie Reis
2014/09/18 20:22:27
nit: remote frmae -> RemoteFrame.
Nate Chapin
2014/09/18 22:39:02
Done.
| |
207 void OpenURL(const FrameHostMsg_OpenURL_Params& params); | |
208 | |
204 // Stop the load in progress. | 209 // Stop the load in progress. |
205 void Stop(); | 210 void Stop(); |
206 | 211 |
207 // Returns whether navigation messages are currently suspended for this | 212 // Returns whether navigation messages are currently suspended for this |
208 // RenderFrameHost. Only true during a cross-site navigation, while waiting | 213 // RenderFrameHost. Only true during a cross-site navigation, while waiting |
209 // for the onbeforeunload handler. | 214 // for the onbeforeunload handler. |
210 bool are_navigations_suspended() const { return navigations_suspended_; } | 215 bool are_navigations_suspended() const { return navigations_suspended_; } |
211 | 216 |
212 // Suspends (or unsuspends) any navigation messages from being sent from this | 217 // Suspends (or unsuspends) any navigation messages from being sent from this |
213 // RenderFrameHost. This is called when a pending RenderFrameHost is created | 218 // RenderFrameHost. This is called when a pending RenderFrameHost is created |
(...skipping 254 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
468 base::Callback<void(ui::AXEvent, int)> accessibility_testing_callback_; | 473 base::Callback<void(ui::AXEvent, int)> accessibility_testing_callback_; |
469 // The most recently received accessibility tree - for testing only. | 474 // The most recently received accessibility tree - for testing only. |
470 scoped_ptr<ui::AXTree> ax_tree_for_testing_; | 475 scoped_ptr<ui::AXTree> ax_tree_for_testing_; |
471 | 476 |
472 DISALLOW_COPY_AND_ASSIGN(RenderFrameHostImpl); | 477 DISALLOW_COPY_AND_ASSIGN(RenderFrameHostImpl); |
473 }; | 478 }; |
474 | 479 |
475 } // namespace content | 480 } // namespace content |
476 | 481 |
477 #endif // CONTENT_BROWSER_FRAME_HOST_RENDER_FRAME_HOST_IMPL_H_ | 482 #endif // CONTENT_BROWSER_FRAME_HOST_RENDER_FRAME_HOST_IMPL_H_ |
OLD | NEW |