| 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, | |
| 663 int pending_history_list_offset, | |
| 664 int32 page_id, | 662 int32 page_id, |
| 665 bool* is_reload, | 663 bool* is_reload, |
| 666 blink::WebURLRequest::CachePolicy* cache_policy); | 664 blink::WebURLRequest::CachePolicy* cache_policy); |
| 667 | 665 |
| 668 // PlzNavigate | 666 // PlzNavigate |
| 669 // Sends a FrameHostMsg_BeginNavigation to the browser based on the contents | 667 // Sends a FrameHostMsg_BeginNavigation to the browser based on the contents |
| 670 // of the WebURLRequest. | 668 // of the WebURLRequest. |
| 671 void BeginNavigation(blink::WebURLRequest* request); | 669 void BeginNavigation(blink::WebURLRequest* request); |
| 672 | 670 |
| 673 // Returns the URL being loaded by the |frame_|'s request. | 671 // Returns the URL being loaded by the |frame_|'s request. |
| (...skipping 138 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 812 #endif | 810 #endif |
| 813 | 811 |
| 814 base::WeakPtrFactory<RenderFrameImpl> weak_factory_; | 812 base::WeakPtrFactory<RenderFrameImpl> weak_factory_; |
| 815 | 813 |
| 816 DISALLOW_COPY_AND_ASSIGN(RenderFrameImpl); | 814 DISALLOW_COPY_AND_ASSIGN(RenderFrameImpl); |
| 817 }; | 815 }; |
| 818 | 816 |
| 819 } // namespace content | 817 } // namespace content |
| 820 | 818 |
| 821 #endif // CONTENT_RENDERER_RENDER_FRAME_IMPL_H_ | 819 #endif // CONTENT_RENDERER_RENDER_FRAME_IMPL_H_ |
| OLD | NEW |