| 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 440 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 451 // Deletes text before and after the current cursor position, excluding the | 451 // Deletes text before and after the current cursor position, excluding the |
| 452 // selection. The lengths are supplied in code points, not in Java chars | 452 // selection. The lengths are supplied in code points, not in Java chars |
| 453 // (UTF-16 Code Unit) or in glyphs. Do nothing if there are one or more | 453 // (UTF-16 Code Unit) or in glyphs. Do nothing if there are one or more |
| 454 // invalid surrogate pairs in the requested range. | 454 // invalid surrogate pairs in the requested range. |
| 455 void DeleteSurroundingTextInCodePoints(int before, int after); | 455 void DeleteSurroundingTextInCodePoints(int before, int after); |
| 456 | 456 |
| 457 // Notifies the RenderFrame that the JavaScript message that was shown was | 457 // Notifies the RenderFrame that the JavaScript message that was shown was |
| 458 // closed by the user. | 458 // closed by the user. |
| 459 void JavaScriptDialogClosed(IPC::Message* reply_msg, | 459 void JavaScriptDialogClosed(IPC::Message* reply_msg, |
| 460 bool success, | 460 bool success, |
| 461 const base::string16& user_input, | 461 const base::string16& user_input); |
| 462 bool dialog_was_suppressed); | |
| 463 | 462 |
| 464 // Get the accessibility mode from the delegate and Send a message to the | 463 // Get the accessibility mode from the delegate and Send a message to the |
| 465 // renderer process to change the accessibility mode. | 464 // renderer process to change the accessibility mode. |
| 466 void UpdateAccessibilityMode(); | 465 void UpdateAccessibilityMode(); |
| 467 | 466 |
| 468 // Samsung Galaxy Note-specific "smart clip" stylus text getter. | 467 // Samsung Galaxy Note-specific "smart clip" stylus text getter. |
| 469 void RequestSmartClipExtract(SmartClipCallback callback, gfx::Rect rect); | 468 void RequestSmartClipExtract(SmartClipCallback callback, gfx::Rect rect); |
| 470 | 469 |
| 471 // Request a one-time snapshot of the accessibility tree without changing | 470 // Request a one-time snapshot of the accessibility tree without changing |
| 472 // the accessibility mode. | 471 // the accessibility mode. |
| (...skipping 714 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 1187 | 1186 |
| 1188 // NOTE: This must be the last member. | 1187 // NOTE: This must be the last member. |
| 1189 base::WeakPtrFactory<RenderFrameHostImpl> weak_ptr_factory_; | 1188 base::WeakPtrFactory<RenderFrameHostImpl> weak_ptr_factory_; |
| 1190 | 1189 |
| 1191 DISALLOW_COPY_AND_ASSIGN(RenderFrameHostImpl); | 1190 DISALLOW_COPY_AND_ASSIGN(RenderFrameHostImpl); |
| 1192 }; | 1191 }; |
| 1193 | 1192 |
| 1194 } // namespace content | 1193 } // namespace content |
| 1195 | 1194 |
| 1196 #endif // CONTENT_BROWSER_FRAME_HOST_RENDER_FRAME_HOST_IMPL_H_ | 1195 #endif // CONTENT_BROWSER_FRAME_HOST_RENDER_FRAME_HOST_IMPL_H_ |
| OLD | NEW |