| 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 745 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 756 blink::WebMediaPlayerClient* client, | 756 blink::WebMediaPlayerClient* client, |
| 757 media::MediaPermission* media_permission, | 757 media::MediaPermission* media_permission, |
| 758 blink::WebContentDecryptionModule* initial_cdm); | 758 blink::WebContentDecryptionModule* initial_cdm); |
| 759 | 759 |
| 760 RendererMediaPlayerManager* GetMediaPlayerManager(); | 760 RendererMediaPlayerManager* GetMediaPlayerManager(); |
| 761 #endif | 761 #endif |
| 762 | 762 |
| 763 media::MediaPermission* GetMediaPermission(); | 763 media::MediaPermission* GetMediaPermission(); |
| 764 media::CdmFactory* GetCdmFactory(); | 764 media::CdmFactory* GetCdmFactory(); |
| 765 | 765 |
| 766 void RegisterMojoServices(); |
| 767 |
| 766 // Stores the WebLocalFrame we are associated with. This is null from the | 768 // Stores the WebLocalFrame we are associated with. This is null from the |
| 767 // constructor until SetWebFrame is called, and it is null after | 769 // constructor until SetWebFrame is called, and it is null after |
| 768 // frameDetached is called until destruction (which is asynchronous in the | 770 // frameDetached is called until destruction (which is asynchronous in the |
| 769 // case of the main frame, but not subframes). | 771 // case of the main frame, but not subframes). |
| 770 blink::WebLocalFrame* frame_; | 772 blink::WebLocalFrame* frame_; |
| 771 | 773 |
| 772 // Frame is a local root if it is rendered in a process different than parent | 774 // Frame is a local root if it is rendered in a process different than parent |
| 773 // or it is a main frame. | 775 // or it is a main frame. |
| 774 bool is_local_root_; | 776 bool is_local_root_; |
| 775 | 777 |
| (...skipping 151 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 927 #endif | 929 #endif |
| 928 | 930 |
| 929 base::WeakPtrFactory<RenderFrameImpl> weak_factory_; | 931 base::WeakPtrFactory<RenderFrameImpl> weak_factory_; |
| 930 | 932 |
| 931 DISALLOW_COPY_AND_ASSIGN(RenderFrameImpl); | 933 DISALLOW_COPY_AND_ASSIGN(RenderFrameImpl); |
| 932 }; | 934 }; |
| 933 | 935 |
| 934 } // namespace content | 936 } // namespace content |
| 935 | 937 |
| 936 #endif // CONTENT_RENDERER_RENDER_FRAME_IMPL_H_ | 938 #endif // CONTENT_RENDERER_RENDER_FRAME_IMPL_H_ |
| OLD | NEW |