| 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 948 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 959 | 959 |
| 960 // The CDM factory attached to this frame, lazily initialized. | 960 // The CDM factory attached to this frame, lazily initialized. |
| 961 scoped_ptr<media::CdmFactory> cdm_factory_; | 961 scoped_ptr<media::CdmFactory> cdm_factory_; |
| 962 | 962 |
| 963 #if defined(VIDEO_HOLE) | 963 #if defined(VIDEO_HOLE) |
| 964 // Whether or not this RenderFrameImpl contains a media player. Used to | 964 // Whether or not this RenderFrameImpl contains a media player. Used to |
| 965 // register as an observer for video-hole-specific events. | 965 // register as an observer for video-hole-specific events. |
| 966 bool contains_media_player_; | 966 bool contains_media_player_; |
| 967 #endif | 967 #endif |
| 968 | 968 |
| 969 // True if this RenderFrame has ever played media. |
| 970 bool has_played_media_; |
| 971 |
| 969 // The devtools agent for this frame; only created for main frame and | 972 // The devtools agent for this frame; only created for main frame and |
| 970 // local roots. | 973 // local roots. |
| 971 DevToolsAgent* devtools_agent_; | 974 DevToolsAgent* devtools_agent_; |
| 972 | 975 |
| 973 // The geolocation dispatcher attached to this frame, lazily initialized. | 976 // The geolocation dispatcher attached to this frame, lazily initialized. |
| 974 GeolocationDispatcher* geolocation_dispatcher_; | 977 GeolocationDispatcher* geolocation_dispatcher_; |
| 975 | 978 |
| 976 // The push messaging dispatcher attached to this frame, lazily initialized. | 979 // The push messaging dispatcher attached to this frame, lazily initialized. |
| 977 PushMessagingDispatcher* push_messaging_dispatcher_; | 980 PushMessagingDispatcher* push_messaging_dispatcher_; |
| 978 | 981 |
| (...skipping 35 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 1014 #endif | 1017 #endif |
| 1015 | 1018 |
| 1016 base::WeakPtrFactory<RenderFrameImpl> weak_factory_; | 1019 base::WeakPtrFactory<RenderFrameImpl> weak_factory_; |
| 1017 | 1020 |
| 1018 DISALLOW_COPY_AND_ASSIGN(RenderFrameImpl); | 1021 DISALLOW_COPY_AND_ASSIGN(RenderFrameImpl); |
| 1019 }; | 1022 }; |
| 1020 | 1023 |
| 1021 } // namespace content | 1024 } // namespace content |
| 1022 | 1025 |
| 1023 #endif // CONTENT_RENDERER_RENDER_FRAME_IMPL_H_ | 1026 #endif // CONTENT_RENDERER_RENDER_FRAME_IMPL_H_ |
| OLD | NEW |