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 445 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
456 // Deletes the current selection plus the specified number of characters | 456 // Deletes the current selection plus the specified number of characters |
457 // before and after the selection or caret. | 457 // before and after the selection or caret. |
458 void ExtendSelectionAndDelete(size_t before, size_t after); | 458 void ExtendSelectionAndDelete(size_t before, size_t after); |
459 | 459 |
460 // Deletes text before and after the current cursor position, excluding the | 460 // Deletes text before and after the current cursor position, excluding the |
461 // selection. | 461 // selection. |
462 void DeleteSurroundingText(size_t before, size_t after); | 462 void DeleteSurroundingText(size_t before, size_t after); |
463 | 463 |
464 // Notifies the RenderFrame that the JavaScript message that was shown was | 464 // Notifies the RenderFrame that the JavaScript message that was shown was |
465 // closed by the user. | 465 // closed by the user. |
466 void JavaScriptDialogClosed(IPC::Message* reply_msg, | 466 void JavaScriptDialogClosed(bool is_before_unload_dialog, |
Charlie Reis
2017/02/27 18:41:41
nit: I'd suggest putting this down near dialog_was
Avi (use Gerrit)
2017/02/27 19:28:49
Done.
| |
467 IPC::Message* reply_msg, | |
467 bool success, | 468 bool success, |
468 const base::string16& user_input, | 469 const base::string16& user_input, |
469 bool dialog_was_suppressed); | 470 bool dialog_was_suppressed); |
470 | 471 |
471 // Get the accessibility mode from the delegate and Send a message to the | 472 // Get the accessibility mode from the delegate and Send a message to the |
472 // renderer process to change the accessibility mode. | 473 // renderer process to change the accessibility mode. |
473 void UpdateAccessibilityMode(); | 474 void UpdateAccessibilityMode(); |
474 | 475 |
475 // Samsung Galaxy Note-specific "smart clip" stylus text getter. | 476 // Samsung Galaxy Note-specific "smart clip" stylus text getter. |
476 void RequestSmartClipExtract(SmartClipCallback callback, gfx::Rect rect); | 477 void RequestSmartClipExtract(SmartClipCallback callback, gfx::Rect rect); |
(...skipping 674 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
1151 | 1152 |
1152 // NOTE: This must be the last member. | 1153 // NOTE: This must be the last member. |
1153 base::WeakPtrFactory<RenderFrameHostImpl> weak_ptr_factory_; | 1154 base::WeakPtrFactory<RenderFrameHostImpl> weak_ptr_factory_; |
1154 | 1155 |
1155 DISALLOW_COPY_AND_ASSIGN(RenderFrameHostImpl); | 1156 DISALLOW_COPY_AND_ASSIGN(RenderFrameHostImpl); |
1156 }; | 1157 }; |
1157 | 1158 |
1158 } // namespace content | 1159 } // namespace content |
1159 | 1160 |
1160 #endif // CONTENT_BROWSER_FRAME_HOST_RENDER_FRAME_HOST_IMPL_H_ | 1161 #endif // CONTENT_BROWSER_FRAME_HOST_RENDER_FRAME_HOST_IMPL_H_ |
OLD | NEW |