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 227 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
238 // when a compositor frame has committed. | 238 // when a compositor frame has committed. |
239 void DidCommitCompositorFrame(); | 239 void DidCommitCompositorFrame(); |
240 | 240 |
241 // Draw commands have been issued by RenderWidgetCompositor. | 241 // Draw commands have been issued by RenderWidgetCompositor. |
242 void DidCommitAndDrawCompositorFrame(); | 242 void DidCommitAndDrawCompositorFrame(); |
243 | 243 |
244 // TODO(jam): this is a temporary getter until all the code is transitioned | 244 // TODO(jam): this is a temporary getter until all the code is transitioned |
245 // to using RenderFrame instead of RenderView. | 245 // to using RenderFrame instead of RenderView. |
246 RenderViewImpl* render_view() { return render_view_.get(); } | 246 RenderViewImpl* render_view() { return render_view_.get(); } |
247 | 247 |
| 248 const blink::WebHistoryItem& current_history_item() { |
| 249 return current_history_item_; |
| 250 } |
| 251 |
248 RendererWebCookieJarImpl* cookie_jar() { return &cookie_jar_; } | 252 RendererWebCookieJarImpl* cookie_jar() { return &cookie_jar_; } |
249 | 253 |
250 // Returns the RenderWidget associated with this frame. | 254 // Returns the RenderWidget associated with this frame. |
251 RenderWidget* GetRenderWidget(); | 255 RenderWidget* GetRenderWidget(); |
252 | 256 |
253 DevToolsAgent* devtools_agent() { return devtools_agent_; } | 257 DevToolsAgent* devtools_agent() { return devtools_agent_; } |
254 | 258 |
255 // This method must be called after the frame has been added to the frame | 259 // This method must be called after the frame has been added to the frame |
256 // tree. It creates all objects that depend on the frame being at its proper | 260 // tree. It creates all objects that depend on the frame being at its proper |
257 // spot. | 261 // spot. |
(...skipping 987 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
1245 #endif | 1249 #endif |
1246 | 1250 |
1247 base::WeakPtrFactory<RenderFrameImpl> weak_factory_; | 1251 base::WeakPtrFactory<RenderFrameImpl> weak_factory_; |
1248 | 1252 |
1249 DISALLOW_COPY_AND_ASSIGN(RenderFrameImpl); | 1253 DISALLOW_COPY_AND_ASSIGN(RenderFrameImpl); |
1250 }; | 1254 }; |
1251 | 1255 |
1252 } // namespace content | 1256 } // namespace content |
1253 | 1257 |
1254 #endif // CONTENT_RENDERER_RENDER_FRAME_IMPL_H_ | 1258 #endif // CONTENT_RENDERER_RENDER_FRAME_IMPL_H_ |
OLD | NEW |