| 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 <stddef.h> | 8 #include <stddef.h> |
| 9 #include <stdint.h> | 9 #include <stdint.h> |
| 10 | 10 |
| (...skipping 215 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 226 | 226 |
| 227 // Looks up and returns the WebFrame corresponding to a given opener frame | 227 // Looks up and returns the WebFrame corresponding to a given opener frame |
| 228 // routing ID. Also stores the opener's RenderView routing ID into | 228 // routing ID. Also stores the opener's RenderView routing ID into |
| 229 // |opener_view_routing_id|. | 229 // |opener_view_routing_id|. |
| 230 // | 230 // |
| 231 // TODO(alexmos): remove RenderViewImpl's dependency on | 231 // TODO(alexmos): remove RenderViewImpl's dependency on |
| 232 // opener_view_routing_id. | 232 // opener_view_routing_id. |
| 233 static blink::WebFrame* ResolveOpener(int opener_frame_routing_id, | 233 static blink::WebFrame* ResolveOpener(int opener_frame_routing_id, |
| 234 int* opener_view_routing_id); | 234 int* opener_view_routing_id); |
| 235 | 235 |
| 236 // Overwrites the given URL to use an HTML5 embed if possible. |
| 237 blink::WebURL overrideFlashEmbedWithHTML( |
| 238 const blink::WebURL& url) override; |
| 239 |
| 236 ~RenderFrameImpl() override; | 240 ~RenderFrameImpl() override; |
| 237 | 241 |
| 238 // Called by RenderWidget when meaningful layout has happened. | 242 // Called by RenderWidget when meaningful layout has happened. |
| 239 // See RenderFrameObserver::DidMeaningfulLayout declaration for details. | 243 // See RenderFrameObserver::DidMeaningfulLayout declaration for details. |
| 240 void DidMeaningfulLayout(blink::WebMeaningfulLayout layout_type); | 244 void DidMeaningfulLayout(blink::WebMeaningfulLayout layout_type); |
| 241 | 245 |
| 242 // Out-of-process child frames receive a signal from RenderWidgetCompositor | 246 // Out-of-process child frames receive a signal from RenderWidgetCompositor |
| 243 // when a compositor frame has committed. | 247 // when a compositor frame has committed. |
| 244 void DidCommitCompositorFrame(); | 248 void DidCommitCompositorFrame(); |
| 245 | 249 |
| (...skipping 1032 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 1278 mojom::FrameHostPtr frame_host_; | 1282 mojom::FrameHostPtr frame_host_; |
| 1279 | 1283 |
| 1280 base::WeakPtrFactory<RenderFrameImpl> weak_factory_; | 1284 base::WeakPtrFactory<RenderFrameImpl> weak_factory_; |
| 1281 | 1285 |
| 1282 DISALLOW_COPY_AND_ASSIGN(RenderFrameImpl); | 1286 DISALLOW_COPY_AND_ASSIGN(RenderFrameImpl); |
| 1283 }; | 1287 }; |
| 1284 | 1288 |
| 1285 } // namespace content | 1289 } // namespace content |
| 1286 | 1290 |
| 1287 #endif // CONTENT_RENDERER_RENDER_FRAME_IMPL_H_ | 1291 #endif // CONTENT_RENDERER_RENDER_FRAME_IMPL_H_ |
| OLD | NEW |