| 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 44 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 55 class Range; | 55 class Range; |
| 56 class Rect; | 56 class Rect; |
| 57 } | 57 } |
| 58 | 58 |
| 59 namespace content { | 59 namespace content { |
| 60 | 60 |
| 61 class ChildFrameCompositingHelper; | 61 class ChildFrameCompositingHelper; |
| 62 class ExternalPopupMenu; | 62 class ExternalPopupMenu; |
| 63 class GeolocationDispatcher; | 63 class GeolocationDispatcher; |
| 64 class MediaStreamDispatcher; | 64 class MediaStreamDispatcher; |
| 65 class MediaStreamImpl; | |
| 66 class MediaStreamRendererFactory; | 65 class MediaStreamRendererFactory; |
| 67 class MidiDispatcher; | 66 class MidiDispatcher; |
| 68 class NotificationPermissionDispatcher; | 67 class NotificationPermissionDispatcher; |
| 69 class NotificationProvider; | 68 class NotificationProvider; |
| 70 class PepperPluginInstanceImpl; | 69 class PepperPluginInstanceImpl; |
| 71 class PushMessagingDispatcher; | 70 class PushMessagingDispatcher; |
| 72 class RendererAccessibility; | 71 class RendererAccessibility; |
| 73 class RendererCdmManager; | 72 class RendererCdmManager; |
| 74 class RendererMediaPlayerManager; | 73 class RendererMediaPlayerManager; |
| 75 class RendererPpapiHost; | 74 class RendererPpapiHost; |
| 76 class RenderFrameObserver; | 75 class RenderFrameObserver; |
| 77 class RenderViewImpl; | 76 class RenderViewImpl; |
| 78 class RenderWidget; | 77 class RenderWidget; |
| 79 class RenderWidgetFullscreenPepper; | 78 class RenderWidgetFullscreenPepper; |
| 80 class ScreenOrientationDispatcher; | 79 class ScreenOrientationDispatcher; |
| 80 class UserMediaClientImpl; |
| 81 struct CustomContextMenuContext; | 81 struct CustomContextMenuContext; |
| 82 | 82 |
| 83 class CONTENT_EXPORT RenderFrameImpl | 83 class CONTENT_EXPORT RenderFrameImpl |
| 84 : public RenderFrame, | 84 : public RenderFrame, |
| 85 NON_EXPORTED_BASE(public blink::WebFrameClient), | 85 NON_EXPORTED_BASE(public blink::WebFrameClient), |
| 86 NON_EXPORTED_BASE(public WebMediaPlayerDelegate) { | 86 NON_EXPORTED_BASE(public WebMediaPlayerDelegate) { |
| 87 public: | 87 public: |
| 88 // Creates a new RenderFrame. |render_view| is the RenderView object that this | 88 // Creates a new RenderFrame. |render_view| is the RenderView object that this |
| 89 // frame belongs to. | 89 // frame belongs to. |
| 90 // Callers *must* call |SetWebFrame| immediately after creation. | 90 // Callers *must* call |SetWebFrame| immediately after creation. |
| (...skipping 583 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 674 // references. | 674 // references. |
| 675 | 675 |
| 676 // Dispatches permission requests for Web Notifications. | 676 // Dispatches permission requests for Web Notifications. |
| 677 NotificationPermissionDispatcher* notification_permission_dispatcher_; | 677 NotificationPermissionDispatcher* notification_permission_dispatcher_; |
| 678 | 678 |
| 679 // Holds a reference to the service which provides desktop notifications. | 679 // Holds a reference to the service which provides desktop notifications. |
| 680 // TODO(peter) Remove this once Web Notifications are routed through Platform. | 680 // TODO(peter) Remove this once Web Notifications are routed through Platform. |
| 681 NotificationProvider* notification_provider_; | 681 NotificationProvider* notification_provider_; |
| 682 | 682 |
| 683 // Destroyed via the RenderFrameObserver::OnDestruct() mechanism. | 683 // Destroyed via the RenderFrameObserver::OnDestruct() mechanism. |
| 684 MediaStreamImpl* web_user_media_client_; | 684 UserMediaClientImpl* web_user_media_client_; |
| 685 | 685 |
| 686 // MidiClient attached to this frame; lazily initialized. | 686 // MidiClient attached to this frame; lazily initialized. |
| 687 MidiDispatcher* midi_dispatcher_; | 687 MidiDispatcher* midi_dispatcher_; |
| 688 | 688 |
| 689 #if defined(OS_ANDROID) | 689 #if defined(OS_ANDROID) |
| 690 // Manages all media players in this render frame for communicating with the | 690 // Manages all media players in this render frame for communicating with the |
| 691 // real media player in the browser process. It's okay to use a raw pointer | 691 // real media player in the browser process. It's okay to use a raw pointer |
| 692 // since it's a RenderFrameObserver. | 692 // since it's a RenderFrameObserver. |
| 693 RendererMediaPlayerManager* media_player_manager_; | 693 RendererMediaPlayerManager* media_player_manager_; |
| 694 #endif | 694 #endif |
| (...skipping 36 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 731 #endif | 731 #endif |
| 732 | 732 |
| 733 base::WeakPtrFactory<RenderFrameImpl> weak_factory_; | 733 base::WeakPtrFactory<RenderFrameImpl> weak_factory_; |
| 734 | 734 |
| 735 DISALLOW_COPY_AND_ASSIGN(RenderFrameImpl); | 735 DISALLOW_COPY_AND_ASSIGN(RenderFrameImpl); |
| 736 }; | 736 }; |
| 737 | 737 |
| 738 } // namespace content | 738 } // namespace content |
| 739 | 739 |
| 740 #endif // CONTENT_RENDERER_RENDER_FRAME_IMPL_H_ | 740 #endif // CONTENT_RENDERER_RENDER_FRAME_IMPL_H_ |
| OLD | NEW |