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

Side by Side Diff: content/public/renderer/content_renderer_client.h

Issue 8980008: Integrate HTMLMediaElement with Web Audio API's MediaElementAudioSourceNode (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src/
Patch Set: '' Created 8 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 | Annotate | Revision Log
OLDNEW
1 // Copyright (c) 2011 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2011 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_PUBLIC_RENDERER_CONTENT_RENDERER_CLIENT_H_ 5 #ifndef CONTENT_PUBLIC_RENDERER_CONTENT_RENDERER_CLIENT_H_
6 #define CONTENT_PUBLIC_RENDERER_CONTENT_RENDERER_CLIENT_H_ 6 #define CONTENT_PUBLIC_RENDERER_CONTENT_RENDERER_CLIENT_H_
7 #pragma once 7 #pragma once
8 8
9 #include <string> 9 #include <string>
10 10
11 #include "base/string16.h" 11 #include "base/string16.h"
12 #include "base/memory/weak_ptr.h" 12 #include "base/memory/weak_ptr.h"
13 #include "ipc/ipc_message.h" 13 #include "ipc/ipc_message.h"
14 #include "content/public/common/content_client.h" 14 #include "content/public/common/content_client.h"
15 #include "third_party/WebKit/Source/WebKit/chromium/public/WebPageVisibilityStat e.h" 15 #include "third_party/WebKit/Source/WebKit/chromium/public/WebPageVisibilityStat e.h"
16 16
17 class GURL; 17 class GURL;
18 class SkBitmap; 18 class SkBitmap;
19 19
20 namespace WebKit { 20 namespace WebKit {
21 class WebAudioSourceProvider;
21 class WebFrame; 22 class WebFrame;
22 class WebMediaPlayerClient; 23 class WebMediaPlayerClient;
23 class WebPlugin; 24 class WebPlugin;
24 class WebURLRequest; 25 class WebURLRequest;
25 struct WebPluginParams; 26 struct WebPluginParams;
26 struct WebURLError; 27 struct WebURLError;
27 } 28 }
28 29
29 namespace webkit { 30 namespace webkit {
30 namespace ppapi { 31 namespace ppapi {
(...skipping 73 matching lines...) Expand 10 before | Expand all | Expand 10 after
104 string16* error_description) = 0; 105 string16* error_description) = 0;
105 106
106 // Allows embedder to override creating a WebMediaPlayer. If it returns 107 // Allows embedder to override creating a WebMediaPlayer. If it returns
107 // true, then |player| will contain the created player. Else the content 108 // true, then |player| will contain the created player. Else the content
108 // layer should create the media player. 109 // layer should create the media player.
109 virtual bool OverrideCreateWebMediaPlayer( 110 virtual bool OverrideCreateWebMediaPlayer(
110 RenderView* render_view, 111 RenderView* render_view,
111 WebKit::WebMediaPlayerClient* client, 112 WebKit::WebMediaPlayerClient* client,
112 base::WeakPtr<webkit_media::WebMediaPlayerDelegate> delegate, 113 base::WeakPtr<webkit_media::WebMediaPlayerDelegate> delegate,
113 media::FilterCollection* collection, 114 media::FilterCollection* collection,
115 WebKit::WebAudioSourceProvider* audio_source_provider,
114 media::MessageLoopFactory* message_loop_factory, 116 media::MessageLoopFactory* message_loop_factory,
115 webkit_media::MediaStreamClient* media_stream_client, 117 webkit_media::MediaStreamClient* media_stream_client,
116 media::MediaLog* media_log, 118 media::MediaLog* media_log,
117 webkit_media::WebMediaPlayerImpl** player) = 0; 119 webkit_media::WebMediaPlayerImpl** player) = 0;
118 120
119 // Returns true if the renderer process should schedule the idle handler when 121 // Returns true if the renderer process should schedule the idle handler when
120 // all widgets are hidden. 122 // all widgets are hidden.
121 virtual bool RunIdleHandlerWhenWidgetsHidden() = 0; 123 virtual bool RunIdleHandlerWhenWidgetsHidden() = 0;
122 124
123 // Returns true if the given url can create popup windows. 125 // Returns true if the given url can create popup windows.
(...skipping 50 matching lines...) Expand 10 before | Expand all | Expand 10 after
174 virtual void RegisterPPAPIInterfaceFactories( 176 virtual void RegisterPPAPIInterfaceFactories(
175 webkit::ppapi::PpapiInterfaceFactoryManager* factory_manager) = 0; 177 webkit::ppapi::PpapiInterfaceFactoryManager* factory_manager) = 0;
176 178
177 // Return true if given URL can use TCP/UDP socket APIs. 179 // Return true if given URL can use TCP/UDP socket APIs.
178 virtual bool AllowSocketAPI(const GURL& url) = 0; 180 virtual bool AllowSocketAPI(const GURL& url) = 0;
179 }; 181 };
180 182
181 } // namespace content 183 } // namespace content
182 184
183 #endif // CONTENT_PUBLIC_RENDERER_CONTENT_RENDERER_CLIENT_H_ 185 #endif // CONTENT_PUBLIC_RENDERER_CONTENT_RENDERER_CLIENT_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698