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 <stddef.h> | 8 #include <stddef.h> |
9 #include <stdint.h> | 9 #include <stdint.h> |
10 | 10 |
(...skipping 441 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
452 void UpdateOpener(); | 452 void UpdateOpener(); |
453 | 453 |
454 // Set this frame as focused in the renderer process. This supports | 454 // Set this frame as focused in the renderer process. This supports |
455 // cross-process window.focus() calls. | 455 // cross-process window.focus() calls. |
456 void SetFocusedFrame(); | 456 void SetFocusedFrame(); |
457 | 457 |
458 // This is used to clear focus inside an inner WebContents when focus shifts | 458 // This is used to clear focus inside an inner WebContents when focus shifts |
459 // to a frame in the outer WebContents or a sibling WebContents. | 459 // to a frame in the outer WebContents or a sibling WebContents. |
460 void ClearFocusedFrame(); | 460 void ClearFocusedFrame(); |
461 | 461 |
462 // Deletes the current selection plus the specified number of characters | |
463 // before and after the selection or caret. | |
464 void ExtendSelectionAndDelete(size_t before, size_t after); | |
465 | |
466 // Notifies the RenderFrame that the JavaScript message that was shown was | 462 // Notifies the RenderFrame that the JavaScript message that was shown was |
467 // closed by the user. | 463 // closed by the user. |
468 void JavaScriptDialogClosed(IPC::Message* reply_msg, | 464 void JavaScriptDialogClosed(IPC::Message* reply_msg, |
469 bool success, | 465 bool success, |
470 const base::string16& user_input, | 466 const base::string16& user_input, |
471 bool dialog_was_suppressed); | 467 bool dialog_was_suppressed); |
472 | 468 |
473 // Send a message to the renderer process to change the accessibility mode. | 469 // Send a message to the renderer process to change the accessibility mode. |
474 void SetAccessibilityMode(AccessibilityMode AccessibilityMode); | 470 void SetAccessibilityMode(AccessibilityMode AccessibilityMode); |
475 | 471 |
(...skipping 581 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
1057 | 1053 |
1058 // NOTE: This must be the last member. | 1054 // NOTE: This must be the last member. |
1059 base::WeakPtrFactory<RenderFrameHostImpl> weak_ptr_factory_; | 1055 base::WeakPtrFactory<RenderFrameHostImpl> weak_ptr_factory_; |
1060 | 1056 |
1061 DISALLOW_COPY_AND_ASSIGN(RenderFrameHostImpl); | 1057 DISALLOW_COPY_AND_ASSIGN(RenderFrameHostImpl); |
1062 }; | 1058 }; |
1063 | 1059 |
1064 } // namespace content | 1060 } // namespace content |
1065 | 1061 |
1066 #endif // CONTENT_BROWSER_FRAME_HOST_RENDER_FRAME_HOST_IMPL_H_ | 1062 #endif // CONTENT_BROWSER_FRAME_HOST_RENDER_FRAME_HOST_IMPL_H_ |
OLD | NEW |