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_RENDERER_RENDER_FRAME_IMPL_H_ | 5 #ifndef CONTENT_RENDERER_RENDER_FRAME_IMPL_H_ |
6 #define CONTENT_RENDERER_RENDER_FRAME_IMPL_H_ | 6 #define CONTENT_RENDERER_RENDER_FRAME_IMPL_H_ |
7 | 7 |
8 #include <vector> | 8 #include <vector> |
9 | 9 |
10 #include "base/basictypes.h" | 10 #include "base/basictypes.h" |
(...skipping 185 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
196 bool is_swapped_out() const { | 196 bool is_swapped_out() const { |
197 return is_swapped_out_; | 197 return is_swapped_out_; |
198 } | 198 } |
199 | 199 |
200 // TODO(nasko): This can be removed once we don't have a swapped out state on | 200 // TODO(nasko): This can be removed once we don't have a swapped out state on |
201 // RenderFrames. See https://crbug.com/357747. | 201 // RenderFrames. See https://crbug.com/357747. |
202 void set_render_frame_proxy(RenderFrameProxy* proxy) { | 202 void set_render_frame_proxy(RenderFrameProxy* proxy) { |
203 render_frame_proxy_ = proxy; | 203 render_frame_proxy_ = proxy; |
204 } | 204 } |
205 | 205 |
| 206 // Called by RenderWidget when meaningful layout has happened. |
| 207 // See RenderFrameObserver::DidMeaningfulLayout declaration for details. |
| 208 void DidMeaningfulLayout(blink::WebMeaningfulLayout layout_type); |
| 209 |
206 // Out-of-process child frames receive a signal from RenderWidgetCompositor | 210 // Out-of-process child frames receive a signal from RenderWidgetCompositor |
207 // when a compositor frame has committed. | 211 // when a compositor frame has committed. |
208 void DidCommitCompositorFrame(); | 212 void DidCommitCompositorFrame(); |
209 | 213 |
210 // TODO(jam): this is a temporary getter until all the code is transitioned | 214 // TODO(jam): this is a temporary getter until all the code is transitioned |
211 // to using RenderFrame instead of RenderView. | 215 // to using RenderFrame instead of RenderView. |
212 RenderViewImpl* render_view() { return render_view_.get(); } | 216 RenderViewImpl* render_view() { return render_view_.get(); } |
213 | 217 |
214 RendererWebCookieJarImpl* cookie_jar() { return &cookie_jar_; } | 218 RendererWebCookieJarImpl* cookie_jar() { return &cookie_jar_; } |
215 | 219 |
(...skipping 846 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
1062 #endif | 1066 #endif |
1063 | 1067 |
1064 base::WeakPtrFactory<RenderFrameImpl> weak_factory_; | 1068 base::WeakPtrFactory<RenderFrameImpl> weak_factory_; |
1065 | 1069 |
1066 DISALLOW_COPY_AND_ASSIGN(RenderFrameImpl); | 1070 DISALLOW_COPY_AND_ASSIGN(RenderFrameImpl); |
1067 }; | 1071 }; |
1068 | 1072 |
1069 } // namespace content | 1073 } // namespace content |
1070 | 1074 |
1071 #endif // CONTENT_RENDERER_RENDER_FRAME_IMPL_H_ | 1075 #endif // CONTENT_RENDERER_RENDER_FRAME_IMPL_H_ |
OLD | NEW |