| 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 786 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 797 blink::WebContentDecryptionModule* initial_cdm); | 797 blink::WebContentDecryptionModule* initial_cdm); |
| 798 | 798 |
| 799 RendererMediaPlayerManager* GetMediaPlayerManager(); | 799 RendererMediaPlayerManager* GetMediaPlayerManager(); |
| 800 #endif | 800 #endif |
| 801 | 801 |
| 802 bool AreSecureCodecsSupported(); | 802 bool AreSecureCodecsSupported(); |
| 803 media::MediaPermission* GetMediaPermission(); | 803 media::MediaPermission* GetMediaPermission(); |
| 804 media::MediaServiceProvider* GetMediaServiceProvider(); | 804 media::MediaServiceProvider* GetMediaServiceProvider(); |
| 805 media::CdmFactory* GetCdmFactory(); | 805 media::CdmFactory* GetCdmFactory(); |
| 806 | 806 |
| 807 void RegisterMojoServices(); |
| 808 |
| 807 // Stores the WebLocalFrame we are associated with. This is null from the | 809 // Stores the WebLocalFrame we are associated with. This is null from the |
| 808 // constructor until SetWebFrame is called, and it is null after | 810 // constructor until SetWebFrame is called, and it is null after |
| 809 // frameDetached is called until destruction (which is asynchronous in the | 811 // frameDetached is called until destruction (which is asynchronous in the |
| 810 // case of the main frame, but not subframes). | 812 // case of the main frame, but not subframes). |
| 811 blink::WebLocalFrame* frame_; | 813 blink::WebLocalFrame* frame_; |
| 812 | 814 |
| 813 // Boolean value indicating whether this RenderFrameImpl object is for a | 815 // Boolean value indicating whether this RenderFrameImpl object is for a |
| 814 // subframe or not. It remains accurate during destruction, even when |frame_| | 816 // subframe or not. It remains accurate during destruction, even when |frame_| |
| 815 // has been invalidated. | 817 // has been invalidated. |
| 816 bool is_subframe_; | 818 bool is_subframe_; |
| (...skipping 164 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 981 #endif | 983 #endif |
| 982 | 984 |
| 983 base::WeakPtrFactory<RenderFrameImpl> weak_factory_; | 985 base::WeakPtrFactory<RenderFrameImpl> weak_factory_; |
| 984 | 986 |
| 985 DISALLOW_COPY_AND_ASSIGN(RenderFrameImpl); | 987 DISALLOW_COPY_AND_ASSIGN(RenderFrameImpl); |
| 986 }; | 988 }; |
| 987 | 989 |
| 988 } // namespace content | 990 } // namespace content |
| 989 | 991 |
| 990 #endif // CONTENT_RENDERER_RENDER_FRAME_IMPL_H_ | 992 #endif // CONTENT_RENDERER_RENDER_FRAME_IMPL_H_ |
| OLD | NEW |