| 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(const blink::WebURL& url) override; |
| 238 |
| 236 ~RenderFrameImpl() override; | 239 ~RenderFrameImpl() override; |
| 237 | 240 |
| 238 // Called by RenderWidget when meaningful layout has happened. | 241 // Called by RenderWidget when meaningful layout has happened. |
| 239 // See RenderFrameObserver::DidMeaningfulLayout declaration for details. | 242 // See RenderFrameObserver::DidMeaningfulLayout declaration for details. |
| 240 void DidMeaningfulLayout(blink::WebMeaningfulLayout layout_type); | 243 void DidMeaningfulLayout(blink::WebMeaningfulLayout layout_type); |
| 241 | 244 |
| 242 // Out-of-process child frames receive a signal from RenderWidgetCompositor | 245 // Out-of-process child frames receive a signal from RenderWidgetCompositor |
| 243 // when a compositor frame has committed. | 246 // when a compositor frame has committed. |
| 244 void DidCommitCompositorFrame(); | 247 void DidCommitCompositorFrame(); |
| 245 | 248 |
| (...skipping 1032 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 1278 mojom::FrameHostPtr frame_host_; | 1281 mojom::FrameHostPtr frame_host_; |
| 1279 | 1282 |
| 1280 base::WeakPtrFactory<RenderFrameImpl> weak_factory_; | 1283 base::WeakPtrFactory<RenderFrameImpl> weak_factory_; |
| 1281 | 1284 |
| 1282 DISALLOW_COPY_AND_ASSIGN(RenderFrameImpl); | 1285 DISALLOW_COPY_AND_ASSIGN(RenderFrameImpl); |
| 1283 }; | 1286 }; |
| 1284 | 1287 |
| 1285 } // namespace content | 1288 } // namespace content |
| 1286 | 1289 |
| 1287 #endif // CONTENT_RENDERER_RENDER_FRAME_IMPL_H_ | 1290 #endif // CONTENT_RENDERER_RENDER_FRAME_IMPL_H_ |
| OLD | NEW |