| 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 720 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 731 media::MediaPermission* media_permission, | 731 media::MediaPermission* media_permission, |
| 732 blink::WebContentDecryptionModule* initial_cdm); | 732 blink::WebContentDecryptionModule* initial_cdm); |
| 733 | 733 |
| 734 RendererMediaPlayerManager* GetMediaPlayerManager(); | 734 RendererMediaPlayerManager* GetMediaPlayerManager(); |
| 735 #endif | 735 #endif |
| 736 | 736 |
| 737 #if defined(ENABLE_BROWSER_CDMS) | 737 #if defined(ENABLE_BROWSER_CDMS) |
| 738 RendererCdmManager* GetCdmManager(); | 738 RendererCdmManager* GetCdmManager(); |
| 739 #endif | 739 #endif |
| 740 | 740 |
| 741 // Stores the WebLocalFrame we are associated with. | 741 // Stores the WebLocalFrame we are associated with. This is null from the |
| 742 // constructor until SetWebFrame is called, and it is null after |
| 743 // frameDetached is called until destruction (which may be asynchronous). |
| 742 blink::WebLocalFrame* frame_; | 744 blink::WebLocalFrame* frame_; |
| 743 | 745 |
| 744 base::WeakPtr<RenderViewImpl> render_view_; | 746 base::WeakPtr<RenderViewImpl> render_view_; |
| 745 int routing_id_; | 747 int routing_id_; |
| 746 bool is_swapped_out_; | 748 bool is_swapped_out_; |
| 747 // RenderFrameProxy exists only when is_swapped_out_ is true. | 749 // RenderFrameProxy exists only when is_swapped_out_ is true. |
| 748 // TODO(nasko): This can be removed once we don't have a swapped out state on | 750 // TODO(nasko): This can be removed once we don't have a swapped out state on |
| 749 // RenderFrame. See https://crbug.com/357747. | 751 // RenderFrame. See https://crbug.com/357747. |
| 750 RenderFrameProxy* render_frame_proxy_; | 752 RenderFrameProxy* render_frame_proxy_; |
| 751 bool is_detaching_; | 753 bool is_detaching_; |
| (...skipping 129 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 881 #endif | 883 #endif |
| 882 | 884 |
| 883 base::WeakPtrFactory<RenderFrameImpl> weak_factory_; | 885 base::WeakPtrFactory<RenderFrameImpl> weak_factory_; |
| 884 | 886 |
| 885 DISALLOW_COPY_AND_ASSIGN(RenderFrameImpl); | 887 DISALLOW_COPY_AND_ASSIGN(RenderFrameImpl); |
| 886 }; | 888 }; |
| 887 | 889 |
| 888 } // namespace content | 890 } // namespace content |
| 889 | 891 |
| 890 #endif // CONTENT_RENDERER_RENDER_FRAME_IMPL_H_ | 892 #endif // CONTENT_RENDERER_RENDER_FRAME_IMPL_H_ |
| OLD | NEW |