Chromium Code Reviews| 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 390 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
| 401 | 401 |
| 402 // Update the frame's opener in the renderer process in response to the | 402 // Update the frame's opener in the renderer process in response to the |
| 403 // opener being modified (e.g., with window.open or being set to null) in | 403 // opener being modified (e.g., with window.open or being set to null) in |
| 404 // another renderer process. | 404 // another renderer process. |
| 405 void UpdateOpener(); | 405 void UpdateOpener(); |
| 406 | 406 |
| 407 // Set this frame as focused in the renderer process. This supports | 407 // Set this frame as focused in the renderer process. This supports |
| 408 // cross-process window.focus() calls. | 408 // cross-process window.focus() calls. |
| 409 void SetFocusedFrame(); | 409 void SetFocusedFrame(); |
| 410 | 410 |
| 411 void OnTriedDisplayingInsecureContent(const GURL& origin, const GURL& url); | |
|
alexmos
2016/01/09 01:39:02
Let's keep these private and along with the other
| |
| 412 void OnTriedRunningInsecureContent(const GURL& origin, const GURL& url); | |
| 413 | |
| 411 // Deletes the current selection plus the specified number of characters | 414 // Deletes the current selection plus the specified number of characters |
| 412 // before and after the selection or caret. | 415 // before and after the selection or caret. |
| 413 void ExtendSelectionAndDelete(size_t before, size_t after); | 416 void ExtendSelectionAndDelete(size_t before, size_t after); |
| 414 | 417 |
| 415 // Notifies the RenderFrame that the JavaScript message that was shown was | 418 // Notifies the RenderFrame that the JavaScript message that was shown was |
| 416 // closed by the user. | 419 // closed by the user. |
| 417 void JavaScriptDialogClosed(IPC::Message* reply_msg, | 420 void JavaScriptDialogClosed(IPC::Message* reply_msg, |
| 418 bool success, | 421 bool success, |
| 419 const base::string16& user_input, | 422 const base::string16& user_input, |
| 420 bool dialog_was_suppressed); | 423 bool dialog_was_suppressed); |
| (...skipping 468 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
| 889 | 892 |
| 890 // NOTE: This must be the last member. | 893 // NOTE: This must be the last member. |
| 891 base::WeakPtrFactory<RenderFrameHostImpl> weak_ptr_factory_; | 894 base::WeakPtrFactory<RenderFrameHostImpl> weak_ptr_factory_; |
| 892 | 895 |
| 893 DISALLOW_COPY_AND_ASSIGN(RenderFrameHostImpl); | 896 DISALLOW_COPY_AND_ASSIGN(RenderFrameHostImpl); |
| 894 }; | 897 }; |
| 895 | 898 |
| 896 } // namespace content | 899 } // namespace content |
| 897 | 900 |
| 898 #endif // CONTENT_BROWSER_FRAME_HOST_RENDER_FRAME_HOST_IMPL_H_ | 901 #endif // CONTENT_BROWSER_FRAME_HOST_RENDER_FRAME_HOST_IMPL_H_ |
| OLD | NEW |