OLD | NEW |
1 // Copyright 2014 The Chromium Authors. All rights reserved. | 1 // Copyright 2014 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_RENDERER_RENDER_FRAME_PROXY_H_ | 5 #ifndef CONTENT_RENDERER_RENDER_FRAME_PROXY_H_ |
6 #define CONTENT_RENDERER_RENDER_FRAME_PROXY_H_ | 6 #define CONTENT_RENDERER_RENDER_FRAME_PROXY_H_ |
7 | 7 |
8 #include "base/macros.h" | 8 #include "base/macros.h" |
9 #include "base/memory/ref_counted.h" | 9 #include "base/memory/ref_counted.h" |
10 #include "content/common/content_export.h" | 10 #include "content/common/content_export.h" |
(...skipping 86 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
97 | 97 |
98 // Returns the RenderFrameProxy given a WebFrame. | 98 // Returns the RenderFrameProxy given a WebFrame. |
99 static RenderFrameProxy* FromWebFrame(blink::WebFrame* web_frame); | 99 static RenderFrameProxy* FromWebFrame(blink::WebFrame* web_frame); |
100 | 100 |
101 ~RenderFrameProxy() override; | 101 ~RenderFrameProxy() override; |
102 | 102 |
103 // IPC::Sender | 103 // IPC::Sender |
104 bool Send(IPC::Message* msg) override; | 104 bool Send(IPC::Message* msg) override; |
105 | 105 |
106 // Out-of-process child frames receive a signal from RenderWidgetCompositor | 106 // Out-of-process child frames receive a signal from RenderWidgetCompositor |
| 107 // when a compositor frame will begin. |
| 108 void WillBeginCompositorFrame(); |
| 109 |
| 110 // Out-of-process child frames receive a signal from RenderWidgetCompositor |
107 // when a compositor frame has committed. | 111 // when a compositor frame has committed. |
108 void DidCommitCompositorFrame(); | 112 void DidCommitCompositorFrame(); |
109 | 113 |
110 // Pass replicated information, such as security origin, to this | 114 // Pass replicated information, such as security origin, to this |
111 // RenderFrameProxy's WebRemoteFrame. | 115 // RenderFrameProxy's WebRemoteFrame. |
112 void SetReplicatedState(const FrameReplicationState& state); | 116 void SetReplicatedState(const FrameReplicationState& state); |
113 | 117 |
114 // Navigating a top-level frame cross-process does not swap the WebLocalFrame | 118 // Navigating a top-level frame cross-process does not swap the WebLocalFrame |
115 // for a WebRemoteFrame in the frame tree. In this case, this WebRemoteFrame | 119 // for a WebRemoteFrame in the frame tree. In this case, this WebRemoteFrame |
116 // is not attached to the frame tree and there is no blink::Frame associated | 120 // is not attached to the frame tree and there is no blink::Frame associated |
(...skipping 67 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
184 | 188 |
185 RenderViewImpl* render_view_; | 189 RenderViewImpl* render_view_; |
186 RenderWidget* render_widget_; | 190 RenderWidget* render_widget_; |
187 | 191 |
188 DISALLOW_COPY_AND_ASSIGN(RenderFrameProxy); | 192 DISALLOW_COPY_AND_ASSIGN(RenderFrameProxy); |
189 }; | 193 }; |
190 | 194 |
191 } // namespace | 195 } // namespace |
192 | 196 |
193 #endif // CONTENT_RENDERER_RENDER_FRAME_PROXY_H_ | 197 #endif // CONTENT_RENDERER_RENDER_FRAME_PROXY_H_ |
OLD | NEW |