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

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

Issue 495353003: Move WebMediaPlayerImpl and its dependencies to media/blink. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: . Created 6 years, 3 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
« no previous file with comments | « content/renderer/media/websourcebuffer_impl.cc ('k') | content/renderer/render_frame_impl.cc » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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"
11 #include "base/files/file_path.h" 11 #include "base/files/file_path.h"
12 #include "base/gtest_prod_util.h" 12 #include "base/gtest_prod_util.h"
13 #include "base/id_map.h" 13 #include "base/id_map.h"
14 #include "base/memory/weak_ptr.h" 14 #include "base/memory/weak_ptr.h"
15 #include "base/observer_list.h" 15 #include "base/observer_list.h"
16 #include "base/process/process_handle.h" 16 #include "base/process/process_handle.h"
17 #include "content/common/accessibility_mode_enums.h" 17 #include "content/common/accessibility_mode_enums.h"
18 #include "content/common/mojo/service_registry_impl.h" 18 #include "content/common/mojo/service_registry_impl.h"
19 #include "content/public/common/javascript_message_type.h" 19 #include "content/public/common/javascript_message_type.h"
20 #include "content/public/common/referrer.h" 20 #include "content/public/common/referrer.h"
21 #include "content/public/renderer/render_frame.h" 21 #include "content/public/renderer/render_frame.h"
22 #include "content/renderer/media/webmediaplayer_delegate.h"
23 #include "content/renderer/render_frame_proxy.h" 22 #include "content/renderer/render_frame_proxy.h"
24 #include "content/renderer/renderer_webcookiejar_impl.h" 23 #include "content/renderer/renderer_webcookiejar_impl.h"
25 #include "ipc/ipc_message.h" 24 #include "ipc/ipc_message.h"
25 #include "media/blink/webmediaplayer_delegate.h"
26 #include "third_party/WebKit/public/web/WebAXObject.h" 26 #include "third_party/WebKit/public/web/WebAXObject.h"
27 #include "third_party/WebKit/public/web/WebDataSource.h" 27 #include "third_party/WebKit/public/web/WebDataSource.h"
28 #include "third_party/WebKit/public/web/WebFrameClient.h" 28 #include "third_party/WebKit/public/web/WebFrameClient.h"
29 #include "third_party/WebKit/public/web/WebHistoryCommitType.h" 29 #include "third_party/WebKit/public/web/WebHistoryCommitType.h"
30 #include "ui/gfx/range/range.h" 30 #include "ui/gfx/range/range.h"
31 31
32 #if defined(OS_ANDROID) 32 #if defined(OS_ANDROID)
33 #include "content/renderer/media/android/renderer_media_player_manager.h" 33 #include "content/renderer/media/android/renderer_media_player_manager.h"
34 #endif 34 #endif
35 35
(...skipping 40 matching lines...) Expand 10 before | Expand all | Expand 10 after
76 class RenderViewImpl; 76 class RenderViewImpl;
77 class RenderWidget; 77 class RenderWidget;
78 class RenderWidgetFullscreenPepper; 78 class RenderWidgetFullscreenPepper;
79 class ScreenOrientationDispatcher; 79 class ScreenOrientationDispatcher;
80 class UserMediaClientImpl; 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 media::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.
91 // Note: This is called only when RenderFrame is created by Blink through 91 // Note: This is called only when RenderFrame is created by Blink through
92 // createChildFrame. 92 // createChildFrame.
93 // TODO(creis): We should structure this so that |SetWebFrame| isn't needed. 93 // TODO(creis): We should structure this so that |SetWebFrame| isn't needed.
94 static RenderFrameImpl* Create(RenderViewImpl* render_view, int32 routing_id); 94 static RenderFrameImpl* Create(RenderViewImpl* render_view, int32 routing_id);
95 95
96 // Creates a new RenderFrame with |routing_id| as a child of the RenderFrame 96 // Creates a new RenderFrame with |routing_id| as a child of the RenderFrame
(...skipping 642 matching lines...) Expand 10 before | Expand all | Expand 10 after
739 #endif 739 #endif
740 740
741 base::WeakPtrFactory<RenderFrameImpl> weak_factory_; 741 base::WeakPtrFactory<RenderFrameImpl> weak_factory_;
742 742
743 DISALLOW_COPY_AND_ASSIGN(RenderFrameImpl); 743 DISALLOW_COPY_AND_ASSIGN(RenderFrameImpl);
744 }; 744 };
745 745
746 } // namespace content 746 } // namespace content
747 747
748 #endif // CONTENT_RENDERER_RENDER_FRAME_IMPL_H_ 748 #endif // CONTENT_RENDERER_RENDER_FRAME_IMPL_H_
OLDNEW
« no previous file with comments | « content/renderer/media/websourcebuffer_impl.cc ('k') | content/renderer/render_frame_impl.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698