| 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 <vector> | 8 #include <vector> |
| 9 | 9 |
| 10 #include "base/basictypes.h" | 10 #include "base/basictypes.h" |
| (...skipping 636 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 647 | 647 |
| 648 blink::WebMediaPlayer* CreateWebMediaPlayerForMediaStream( | 648 blink::WebMediaPlayer* CreateWebMediaPlayerForMediaStream( |
| 649 const blink::WebURL& url, | 649 const blink::WebURL& url, |
| 650 blink::WebMediaPlayerClient* client); | 650 blink::WebMediaPlayerClient* client); |
| 651 | 651 |
| 652 // Creates a factory object used for creating audio and video renderers. | 652 // Creates a factory object used for creating audio and video renderers. |
| 653 // The method is virtual so that layouttests can override it. | 653 // The method is virtual so that layouttests can override it. |
| 654 virtual scoped_ptr<MediaStreamRendererFactory> CreateRendererFactory(); | 654 virtual scoped_ptr<MediaStreamRendererFactory> CreateRendererFactory(); |
| 655 | 655 |
| 656 // Checks that the RenderView is ready to display the navigation to |url|. If | 656 // Checks that the RenderView is ready to display the navigation to |url|. If |
| 657 // the return value is false, the navigation should be abandonned. | 657 // the return value is false, the navigation should be abandoned. |
| 658 bool PrepareRenderViewForNavigation( | 658 bool PrepareRenderViewForNavigation( |
| 659 const GURL& url, | 659 const GURL& url, |
| 660 FrameMsg_Navigate_Type::Value navigate_type, | 660 FrameMsg_Navigate_Type::Value navigate_type, |
| 661 const PageState& state, | 661 const PageState& state, |
| 662 bool check_history, | 662 bool check_history, |
| 663 int pending_history_list_offset, | 663 int pending_history_list_offset, |
| 664 int32 page_id, | 664 int32 page_id, |
| 665 bool* is_reload, | 665 bool* is_reload, |
| 666 blink::WebURLRequest::CachePolicy* cache_policy); | 666 blink::WebURLRequest::CachePolicy* cache_policy); |
| 667 | 667 |
| (...skipping 144 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 812 #endif | 812 #endif |
| 813 | 813 |
| 814 base::WeakPtrFactory<RenderFrameImpl> weak_factory_; | 814 base::WeakPtrFactory<RenderFrameImpl> weak_factory_; |
| 815 | 815 |
| 816 DISALLOW_COPY_AND_ASSIGN(RenderFrameImpl); | 816 DISALLOW_COPY_AND_ASSIGN(RenderFrameImpl); |
| 817 }; | 817 }; |
| 818 | 818 |
| 819 } // namespace content | 819 } // namespace content |
| 820 | 820 |
| 821 #endif // CONTENT_RENDERER_RENDER_FRAME_IMPL_H_ | 821 #endif // CONTENT_RENDERER_RENDER_FRAME_IMPL_H_ |
| OLD | NEW |