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 203 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
214 // Clears any suspended navigation state after a cross-site navigation is | 214 // Clears any suspended navigation state after a cross-site navigation is |
215 // canceled or suspended. This is important if we later return to this | 215 // canceled or suspended. This is important if we later return to this |
216 // RenderFrameHost. | 216 // RenderFrameHost. |
217 void CancelSuspendedNavigations(); | 217 void CancelSuspendedNavigations(); |
218 | 218 |
219 // Runs the beforeunload handler for this frame. |for_cross_site_transition| | 219 // Runs the beforeunload handler for this frame. |for_cross_site_transition| |
220 // indicates whether this call is for the current frame during a cross-process | 220 // indicates whether this call is for the current frame during a cross-process |
221 // navigation. False means we're closing the entire tab. | 221 // navigation. False means we're closing the entire tab. |
222 void DispatchBeforeUnload(bool for_cross_site_transition); | 222 void DispatchBeforeUnload(bool for_cross_site_transition); |
223 | 223 |
| 224 // Set the frame's opener to null in the renderer process in response to an |
| 225 // action in another renderer process. |
| 226 void DisownOpener(); |
| 227 |
224 // Deletes the current selection plus the specified number of characters | 228 // Deletes the current selection plus the specified number of characters |
225 // before and after the selection or caret. | 229 // before and after the selection or caret. |
226 void ExtendSelectionAndDelete(size_t before, size_t after); | 230 void ExtendSelectionAndDelete(size_t before, size_t after); |
227 | 231 |
228 // Notifies the RenderFrame that the JavaScript message that was shown was | 232 // Notifies the RenderFrame that the JavaScript message that was shown was |
229 // closed by the user. | 233 // closed by the user. |
230 void JavaScriptDialogClosed(IPC::Message* reply_msg, | 234 void JavaScriptDialogClosed(IPC::Message* reply_msg, |
231 bool success, | 235 bool success, |
232 const base::string16& user_input, | 236 const base::string16& user_input, |
233 bool dialog_was_suppressed); | 237 bool dialog_was_suppressed); |
(...skipping 193 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
427 base::Callback<void(ui::AXEvent, int)> accessibility_testing_callback_; | 431 base::Callback<void(ui::AXEvent, int)> accessibility_testing_callback_; |
428 // The most recently received accessibility tree - for testing only. | 432 // The most recently received accessibility tree - for testing only. |
429 scoped_ptr<ui::AXTree> ax_tree_for_testing_; | 433 scoped_ptr<ui::AXTree> ax_tree_for_testing_; |
430 | 434 |
431 DISALLOW_COPY_AND_ASSIGN(RenderFrameHostImpl); | 435 DISALLOW_COPY_AND_ASSIGN(RenderFrameHostImpl); |
432 }; | 436 }; |
433 | 437 |
434 } // namespace content | 438 } // namespace content |
435 | 439 |
436 #endif // CONTENT_BROWSER_FRAME_HOST_RENDER_FRAME_HOST_IMPL_H_ | 440 #endif // CONTENT_BROWSER_FRAME_HOST_RENDER_FRAME_HOST_IMPL_H_ |
OLD | NEW |