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 <set> | 8 #include <set> |
9 #include <vector> | 9 #include <vector> |
10 | 10 |
(...skipping 44 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
55 | 55 |
56 virtual ~RenderFrameImpl(); | 56 virtual ~RenderFrameImpl(); |
57 | 57 |
58 // TODO(jam): this is a temporary getter until all the code is transitioned | 58 // TODO(jam): this is a temporary getter until all the code is transitioned |
59 // to using RenderFrame instead of RenderView. | 59 // to using RenderFrame instead of RenderView. |
60 RenderViewImpl* render_view() { return render_view_; } | 60 RenderViewImpl* render_view() { return render_view_; } |
61 | 61 |
62 // Returns the RenderWidget associated with this frame. | 62 // Returns the RenderWidget associated with this frame. |
63 RenderWidget* GetRenderWidget(); | 63 RenderWidget* GetRenderWidget(); |
64 | 64 |
65 // Called by RenderView right after creating this object when the | |
66 // blink::WebFrame has been created. | |
67 void MainWebFrameCreated(blink::WebFrame* frame); | |
nasko
2013/12/16 19:47:37
Will we need this longer term? If not, might be us
jam
2013/12/16 20:26:48
this will be needed because when the RenderFrame i
| |
68 | |
65 #if defined(ENABLE_PLUGINS) | 69 #if defined(ENABLE_PLUGINS) |
66 // Notification that a PPAPI plugin has been created. | 70 // Notification that a PPAPI plugin has been created. |
67 void PepperPluginCreated(RendererPpapiHost* host); | 71 void PepperPluginCreated(RendererPpapiHost* host); |
68 | 72 |
69 // Indicates that the given instance has been created. | 73 // Indicates that the given instance has been created. |
70 void PepperInstanceCreated(PepperPluginInstanceImpl* instance); | 74 void PepperInstanceCreated(PepperPluginInstanceImpl* instance); |
71 | 75 |
72 // Indicates that the given instance is being destroyed. This is called from | 76 // Indicates that the given instance is being destroyed. This is called from |
73 // the destructor, so it's important that the instance is not dereferenced | 77 // the destructor, so it's important that the instance is not dereferenced |
74 // from this call. | 78 // from this call. |
(...skipping 262 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
337 | 341 |
338 // All the registered observers. | 342 // All the registered observers. |
339 ObserverList<RenderFrameObserver> observers_; | 343 ObserverList<RenderFrameObserver> observers_; |
340 | 344 |
341 DISALLOW_COPY_AND_ASSIGN(RenderFrameImpl); | 345 DISALLOW_COPY_AND_ASSIGN(RenderFrameImpl); |
342 }; | 346 }; |
343 | 347 |
344 } // namespace content | 348 } // namespace content |
345 | 349 |
346 #endif // CONTENT_RENDERER_RENDER_FRAME_IMPL_H_ | 350 #endif // CONTENT_RENDERER_RENDER_FRAME_IMPL_H_ |
OLD | NEW |