Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(103)

Side by Side Diff: content/renderer/render_frame_impl.h

Issue 871663003: media: Add MediaPermission interface and MediaPermissionDispatcher. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: comments addressed Created 5 years, 11 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
OLDNEW
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 61 matching lines...) Expand 10 before | Expand all | Expand 10 after
72 72
73 namespace content { 73 namespace content {
74 74
75 class ChildFrameCompositingHelper; 75 class ChildFrameCompositingHelper;
76 class CompositorDependencies; 76 class CompositorDependencies;
77 class ExternalPopupMenu; 77 class ExternalPopupMenu;
78 class GeolocationDispatcher; 78 class GeolocationDispatcher;
79 class ManifestManager; 79 class ManifestManager;
80 class MediaStreamDispatcher; 80 class MediaStreamDispatcher;
81 class MediaStreamRendererFactory; 81 class MediaStreamRendererFactory;
82 class MediaPermissionDispatcher;
82 class MidiDispatcher; 83 class MidiDispatcher;
83 class NotificationPermissionDispatcher; 84 class NotificationPermissionDispatcher;
84 class PageState; 85 class PageState;
85 class PepperPluginInstanceImpl; 86 class PepperPluginInstanceImpl;
86 class PushMessagingDispatcher; 87 class PushMessagingDispatcher;
87 class RendererAccessibility; 88 class RendererAccessibility;
88 class RendererCdmManager; 89 class RendererCdmManager;
89 class RendererMediaPlayerManager; 90 class RendererMediaPlayerManager;
90 class RendererPpapiHost; 91 class RendererPpapiHost;
91 class RenderFrameObserver; 92 class RenderFrameObserver;
(...skipping 717 matching lines...) Expand 10 before | Expand all | Expand 10 after
809 810
810 // Dispatches permission requests for Web Notifications. 811 // Dispatches permission requests for Web Notifications.
811 NotificationPermissionDispatcher* notification_permission_dispatcher_; 812 NotificationPermissionDispatcher* notification_permission_dispatcher_;
812 813
813 // Destroyed via the RenderFrameObserver::OnDestruct() mechanism. 814 // Destroyed via the RenderFrameObserver::OnDestruct() mechanism.
814 UserMediaClientImpl* web_user_media_client_; 815 UserMediaClientImpl* web_user_media_client_;
815 816
816 // EncryptedMediaClient attached to this frame; lazily initialized. 817 // EncryptedMediaClient attached to this frame; lazily initialized.
817 scoped_ptr<media::WebEncryptedMediaClientImpl> web_encrypted_media_client_; 818 scoped_ptr<media::WebEncryptedMediaClientImpl> web_encrypted_media_client_;
818 819
820 // The media permission dispatcher attached to this frame, lazily initialized.
821 MediaPermissionDispatcher* media_permission_dispatcher_;
822
819 // MidiClient attached to this frame; lazily initialized. 823 // MidiClient attached to this frame; lazily initialized.
820 MidiDispatcher* midi_dispatcher_; 824 MidiDispatcher* midi_dispatcher_;
821 825
822 #if defined(OS_ANDROID) 826 #if defined(OS_ANDROID)
823 // Manages all media players in this render frame for communicating with the 827 // Manages all media players in this render frame for communicating with the
824 // real media player in the browser process. It's okay to use a raw pointer 828 // real media player in the browser process. It's okay to use a raw pointer
825 // since it's a RenderFrameObserver. 829 // since it's a RenderFrameObserver.
826 RendererMediaPlayerManager* media_player_manager_; 830 RendererMediaPlayerManager* media_player_manager_;
827 #endif 831 #endif
828 832
(...skipping 39 matching lines...) Expand 10 before | Expand all | Expand 10 after
868 #endif 872 #endif
869 873
870 base::WeakPtrFactory<RenderFrameImpl> weak_factory_; 874 base::WeakPtrFactory<RenderFrameImpl> weak_factory_;
871 875
872 DISALLOW_COPY_AND_ASSIGN(RenderFrameImpl); 876 DISALLOW_COPY_AND_ASSIGN(RenderFrameImpl);
873 }; 877 };
874 878
875 } // namespace content 879 } // namespace content
876 880
877 #endif // CONTENT_RENDERER_RENDER_FRAME_IMPL_H_ 881 #endif // CONTENT_RENDERER_RENDER_FRAME_IMPL_H_
OLDNEW
« no previous file with comments | « content/renderer/media/media_permission_dispatcher.cc ('k') | content/renderer/render_frame_impl.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698