Chromium Code Reviews| OLD | NEW |
|---|---|
| 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 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 "media/base/audio_renderer_sink.h" | |
|
scherkus (not reviewing)
2012/07/09 23:13:23
don't include -- just typedef in media namespace b
Raymond Toy
2012/07/10 02:51:39
Done.
| |
| 15 #include "third_party/WebKit/Source/WebKit/chromium/public/WebPageVisibilityStat e.h" | 16 #include "third_party/WebKit/Source/WebKit/chromium/public/WebPageVisibilityStat e.h" |
| 16 #include "v8/include/v8.h" | 17 #include "v8/include/v8.h" |
| 17 | 18 |
| 18 class FilePath; | 19 class FilePath; |
| 19 class GURL; | 20 class GURL; |
| 20 class SkBitmap; | 21 class SkBitmap; |
| 21 | 22 |
| 22 namespace WebKit { | 23 namespace WebKit { |
| 23 class WebAudioSourceProvider; | 24 class WebAudioSourceProvider; |
| 24 class WebFrame; | 25 class WebFrame; |
| (...skipping 85 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
| 110 | 111 |
| 111 // Allows embedder to override creating a WebMediaPlayerImpl. If it returns | 112 // Allows embedder to override creating a WebMediaPlayerImpl. If it returns |
| 112 // NULL the content layer will create the media player. | 113 // NULL the content layer will create the media player. |
| 113 virtual webkit_media::WebMediaPlayerImpl* OverrideCreateWebMediaPlayer( | 114 virtual webkit_media::WebMediaPlayerImpl* OverrideCreateWebMediaPlayer( |
| 114 RenderView* render_view, | 115 RenderView* render_view, |
| 115 WebKit::WebFrame* frame, | 116 WebKit::WebFrame* frame, |
| 116 WebKit::WebMediaPlayerClient* client, | 117 WebKit::WebMediaPlayerClient* client, |
| 117 base::WeakPtr<webkit_media::WebMediaPlayerDelegate> delegate, | 118 base::WeakPtr<webkit_media::WebMediaPlayerDelegate> delegate, |
| 118 media::FilterCollection* collection, | 119 media::FilterCollection* collection, |
| 119 WebKit::WebAudioSourceProvider* audio_source_provider, | 120 WebKit::WebAudioSourceProvider* audio_source_provider, |
| 121 media::AudioRendererSink* audio_renderer_sink, | |
| 120 media::MessageLoopFactory* message_loop_factory, | 122 media::MessageLoopFactory* message_loop_factory, |
| 121 webkit_media::MediaStreamClient* media_stream_client, | 123 webkit_media::MediaStreamClient* media_stream_client, |
| 122 media::MediaLog* media_log); | 124 media::MediaLog* media_log); |
| 123 | 125 |
| 124 // Returns true if the renderer process should schedule the idle handler when | 126 // Returns true if the renderer process should schedule the idle handler when |
| 125 // all widgets are hidden. | 127 // all widgets are hidden. |
| 126 virtual bool RunIdleHandlerWhenWidgetsHidden(); | 128 virtual bool RunIdleHandlerWhenWidgetsHidden(); |
| 127 | 129 |
| 128 // Returns true if the given url can create popup windows. | 130 // Returns true if the given url can create popup windows. |
| 129 virtual bool AllowPopup(const GURL& creator); | 131 virtual bool AllowPopup(const GURL& creator); |
| (...skipping 46 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
| 176 const GURL& first_party_for_cookies, | 178 const GURL& first_party_for_cookies, |
| 177 const std::string& value); | 179 const std::string& value); |
| 178 | 180 |
| 179 virtual void RegisterPPAPIInterfaceFactories( | 181 virtual void RegisterPPAPIInterfaceFactories( |
| 180 webkit::ppapi::PpapiInterfaceFactoryManager* factory_manager) {} | 182 webkit::ppapi::PpapiInterfaceFactoryManager* factory_manager) {} |
| 181 }; | 183 }; |
| 182 | 184 |
| 183 } // namespace content | 185 } // namespace content |
| 184 | 186 |
| 185 #endif // CONTENT_PUBLIC_RENDERER_CONTENT_RENDERER_CLIENT_H_ | 187 #endif // CONTENT_PUBLIC_RENDERER_CONTENT_RENDERER_CLIENT_H_ |
| OLD | NEW |