| 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 60 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 71 | 71 |
| 72 namespace gfx { | 72 namespace gfx { |
| 73 class Point; | 73 class Point; |
| 74 class Range; | 74 class Range; |
| 75 class Rect; | 75 class Rect; |
| 76 } | 76 } |
| 77 | 77 |
| 78 namespace media { | 78 namespace media { |
| 79 class CdmFactory; | 79 class CdmFactory; |
| 80 class MediaPermission; | 80 class MediaPermission; |
| 81 class MediaServiceProvider; |
| 82 class ResourceMultiBuffer; |
| 81 class WebEncryptedMediaClientImpl; | 83 class WebEncryptedMediaClientImpl; |
| 82 } | 84 } |
| 83 | 85 |
| 84 namespace mojo { | 86 namespace mojo { |
| 85 class ServiceProvider; | 87 class ServiceProvider; |
| 86 } | 88 } |
| 87 | 89 |
| 88 namespace url { | 90 namespace url { |
| 89 class Origin; | 91 class Origin; |
| 90 } | 92 } |
| (...skipping 906 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 997 #if defined(ENABLE_BROWSER_CDMS) | 999 #if defined(ENABLE_BROWSER_CDMS) |
| 998 // Manage all CDMs in this render frame for communicating with the real CDM in | 1000 // Manage all CDMs in this render frame for communicating with the real CDM in |
| 999 // the browser process. It's okay to use a raw pointer since it's a | 1001 // the browser process. It's okay to use a raw pointer since it's a |
| 1000 // RenderFrameObserver. | 1002 // RenderFrameObserver. |
| 1001 RendererCdmManager* cdm_manager_; | 1003 RendererCdmManager* cdm_manager_; |
| 1002 #endif | 1004 #endif |
| 1003 | 1005 |
| 1004 // The CDM factory attached to this frame, lazily initialized. | 1006 // The CDM factory attached to this frame, lazily initialized. |
| 1005 scoped_ptr<media::CdmFactory> cdm_factory_; | 1007 scoped_ptr<media::CdmFactory> cdm_factory_; |
| 1006 | 1008 |
| 1009 // Media resource cache, lazily initialized. |
| 1010 media::ResourceMultiBuffer* resource_multibuffer_; |
| 1011 |
| 1007 #if defined(VIDEO_HOLE) | 1012 #if defined(VIDEO_HOLE) |
| 1008 // Whether or not this RenderFrameImpl contains a media player. Used to | 1013 // Whether or not this RenderFrameImpl contains a media player. Used to |
| 1009 // register as an observer for video-hole-specific events. | 1014 // register as an observer for video-hole-specific events. |
| 1010 bool contains_media_player_; | 1015 bool contains_media_player_; |
| 1011 #endif | 1016 #endif |
| 1012 | 1017 |
| 1013 // True if this RenderFrame has ever played media. | 1018 // True if this RenderFrame has ever played media. |
| 1014 bool has_played_media_; | 1019 bool has_played_media_; |
| 1015 | 1020 |
| 1016 // The devtools agent for this frame; only created for main frame and | 1021 // The devtools agent for this frame; only created for main frame and |
| (...skipping 49 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 1066 #endif | 1071 #endif |
| 1067 | 1072 |
| 1068 base::WeakPtrFactory<RenderFrameImpl> weak_factory_; | 1073 base::WeakPtrFactory<RenderFrameImpl> weak_factory_; |
| 1069 | 1074 |
| 1070 DISALLOW_COPY_AND_ASSIGN(RenderFrameImpl); | 1075 DISALLOW_COPY_AND_ASSIGN(RenderFrameImpl); |
| 1071 }; | 1076 }; |
| 1072 | 1077 |
| 1073 } // namespace content | 1078 } // namespace content |
| 1074 | 1079 |
| 1075 #endif // CONTENT_RENDERER_RENDER_FRAME_IMPL_H_ | 1080 #endif // CONTENT_RENDERER_RENDER_FRAME_IMPL_H_ |
| OLD | NEW |