Chromium Code Reviews| 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 37 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
| 48 // Creates a new RenderFrame. |render_view| is the RenderView object that this | 48 // Creates a new RenderFrame. |render_view| is the RenderView object that this |
| 49 // frame belongs to. | 49 // frame belongs to. |
| 50 static RenderFrameImpl* Create(RenderViewImpl* render_view, int32 routing_id); | 50 static RenderFrameImpl* Create(RenderViewImpl* render_view, int32 routing_id); |
| 51 | 51 |
| 52 // Used by content_layouttest_support to hook into the creation of | 52 // Used by content_layouttest_support to hook into the creation of |
| 53 // RenderFrameImpls. | 53 // RenderFrameImpls. |
| 54 static void InstallCreateHook( | 54 static void InstallCreateHook( |
| 55 RenderFrameImpl* (*create_render_frame_impl)(RenderViewImpl*, int32)); | 55 RenderFrameImpl* (*create_render_frame_impl)(RenderViewImpl*, int32)); |
| 56 | 56 |
| 57 virtual ~RenderFrameImpl(); | 57 virtual ~RenderFrameImpl(); |
| 58 void operator delete(void*); | |
|
awong
2013/12/27 21:59:36
Add comment here saying to look at the impl commen
nasko
2013/12/27 22:14:53
Done.
| |
| 58 | 59 |
| 59 // TODO(jam): this is a temporary getter until all the code is transitioned | 60 // TODO(jam): this is a temporary getter until all the code is transitioned |
| 60 // to using RenderFrame instead of RenderView. | 61 // to using RenderFrame instead of RenderView. |
| 61 RenderViewImpl* render_view() { return render_view_; } | 62 RenderViewImpl* render_view() { return render_view_; } |
| 62 | 63 |
| 63 RendererWebCookieJarImpl* cookie_jar() { return &cookie_jar_; } | 64 RendererWebCookieJarImpl* cookie_jar() { return &cookie_jar_; } |
| 64 | 65 |
| 65 // Returns the RenderWidget associated with this frame. | 66 // Returns the RenderWidget associated with this frame. |
| 66 RenderWidget* GetRenderWidget(); | 67 RenderWidget* GetRenderWidget(); |
| 67 | 68 |
| (...skipping 278 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
| 346 | 347 |
| 347 // All the registered observers. | 348 // All the registered observers. |
| 348 ObserverList<RenderFrameObserver> observers_; | 349 ObserverList<RenderFrameObserver> observers_; |
| 349 | 350 |
| 350 DISALLOW_COPY_AND_ASSIGN(RenderFrameImpl); | 351 DISALLOW_COPY_AND_ASSIGN(RenderFrameImpl); |
| 351 }; | 352 }; |
| 352 | 353 |
| 353 } // namespace content | 354 } // namespace content |
| 354 | 355 |
| 355 #endif // CONTENT_RENDERER_RENDER_FRAME_IMPL_H_ | 356 #endif // CONTENT_RENDERER_RENDER_FRAME_IMPL_H_ |
| OLD | NEW |