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

Side by Side Diff: chrome/renderer/chrome_content_renderer_client.h

Issue 10808089: Merge 146897 - WebMediaPlayerImpl needs to own the audio source provider. (Closed) Base URL: svn://svn.chromium.org/chrome/branches/1180/src/
Patch Set: Created 8 years, 5 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 | Annotate | Revision Log
« no previous file with comments | « no previous file | chrome/renderer/chrome_content_renderer_client.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 (c) 2012 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2012 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 CHROME_RENDERER_CHROME_CONTENT_RENDERER_CLIENT_H_ 5 #ifndef CHROME_RENDERER_CHROME_CONTENT_RENDERER_CLIENT_H_
6 #define CHROME_RENDERER_CHROME_CONTENT_RENDERER_CLIENT_H_ 6 #define CHROME_RENDERER_CHROME_CONTENT_RENDERER_CLIENT_H_
7 #pragma once 7 #pragma once
8 8
9 #include <set> 9 #include <set>
10 #include <string> 10 #include <string>
11 11
12 #include "base/compiler_specific.h" 12 #include "base/compiler_specific.h"
13 #include "base/memory/scoped_ptr.h" 13 #include "base/memory/scoped_ptr.h"
14 #include "base/string16.h" 14 #include "base/string16.h"
15 #include "content/public/renderer/content_renderer_client.h" 15 #include "content/public/renderer/content_renderer_client.h"
16 16
17 class ChromeRenderProcessObserver; 17 class ChromeRenderProcessObserver;
18 class ExtensionDispatcher; 18 class ExtensionDispatcher;
19 class ExtensionSet; 19 class ExtensionSet;
20 class RendererHistogramSnapshots; 20 class RendererHistogramSnapshots;
21 class RendererNetPredictor; 21 class RendererNetPredictor;
22 class SpellCheck; 22 class SpellCheck;
23 class SpellCheckProvider; 23 class SpellCheckProvider;
24 class VisitedLinkSlave; 24 class VisitedLinkSlave;
25 25
26 struct ChromeViewHostMsg_GetPluginInfo_Status; 26 struct ChromeViewHostMsg_GetPluginInfo_Status;
27 27
28 namespace media {
29 class AudioRendererSink;
30 }
31
28 namespace prerender { 32 namespace prerender {
29 class PrerenderDispatcher; 33 class PrerenderDispatcher;
30 } 34 }
31 35
32 namespace safe_browsing { 36 namespace safe_browsing {
33 class PhishingClassifierFilter; 37 class PhishingClassifierFilter;
34 } 38 }
35 39
36 namespace webkit { 40 namespace webkit {
37 struct WebPluginInfo; 41 struct WebPluginInfo;
(...skipping 29 matching lines...) Expand all
67 const WebKit::WebURLError& error, 71 const WebKit::WebURLError& error,
68 std::string* error_html, 72 std::string* error_html,
69 string16* error_description) OVERRIDE; 73 string16* error_description) OVERRIDE;
70 virtual webkit_media::WebMediaPlayerImpl* OverrideCreateWebMediaPlayer( 74 virtual webkit_media::WebMediaPlayerImpl* OverrideCreateWebMediaPlayer(
71 content::RenderView* render_view, 75 content::RenderView* render_view,
72 WebKit::WebFrame* frame, 76 WebKit::WebFrame* frame,
73 WebKit::WebMediaPlayerClient* client, 77 WebKit::WebMediaPlayerClient* client,
74 base::WeakPtr<webkit_media::WebMediaPlayerDelegate> delegate, 78 base::WeakPtr<webkit_media::WebMediaPlayerDelegate> delegate,
75 media::FilterCollection* collection, 79 media::FilterCollection* collection,
76 WebKit::WebAudioSourceProvider* audio_source_provider, 80 WebKit::WebAudioSourceProvider* audio_source_provider,
81 media::AudioRendererSink* audio_renderer_sink,
77 media::MessageLoopFactory* message_loop_factory, 82 media::MessageLoopFactory* message_loop_factory,
78 webkit_media::MediaStreamClient* media_stream_client, 83 webkit_media::MediaStreamClient* media_stream_client,
79 media::MediaLog* media_log) OVERRIDE; 84 media::MediaLog* media_log) OVERRIDE;
80 virtual bool RunIdleHandlerWhenWidgetsHidden() OVERRIDE; 85 virtual bool RunIdleHandlerWhenWidgetsHidden() OVERRIDE;
81 virtual bool AllowPopup(const GURL& creator) OVERRIDE; 86 virtual bool AllowPopup(const GURL& creator) OVERRIDE;
82 virtual bool ShouldFork(WebKit::WebFrame* frame, 87 virtual bool ShouldFork(WebKit::WebFrame* frame,
83 const GURL& url, 88 const GURL& url,
84 bool is_initial_navigation, 89 bool is_initial_navigation,
85 bool* send_referrer) OVERRIDE; 90 bool* send_referrer) OVERRIDE;
86 virtual bool WillSendRequest(WebKit::WebFrame* frame, 91 virtual bool WillSendRequest(WebKit::WebFrame* frame,
(...skipping 77 matching lines...) Expand 10 before | Expand all | Expand 10 after
164 scoped_ptr<RendererNetPredictor> net_predictor_; 169 scoped_ptr<RendererNetPredictor> net_predictor_;
165 scoped_ptr<SpellCheck> spellcheck_; 170 scoped_ptr<SpellCheck> spellcheck_;
166 scoped_ptr<VisitedLinkSlave> visited_link_slave_; 171 scoped_ptr<VisitedLinkSlave> visited_link_slave_;
167 scoped_ptr<safe_browsing::PhishingClassifierFilter> phishing_classifier_; 172 scoped_ptr<safe_browsing::PhishingClassifierFilter> phishing_classifier_;
168 scoped_ptr<prerender::PrerenderDispatcher> prerender_dispatcher_; 173 scoped_ptr<prerender::PrerenderDispatcher> prerender_dispatcher_;
169 }; 174 };
170 175
171 } // namespace chrome 176 } // namespace chrome
172 177
173 #endif // CHROME_RENDERER_CHROME_CONTENT_RENDERER_CLIENT_H_ 178 #endif // CHROME_RENDERER_CHROME_CONTENT_RENDERER_CLIENT_H_
OLDNEW
« no previous file with comments | « no previous file | chrome/renderer/chrome_content_renderer_client.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698