| OLD | NEW |
| 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_SHELL_SHELL_CONTENT_RENDERER_CLIENT_H_ | 5 #ifndef CONTENT_SHELL_SHELL_CONTENT_RENDERER_CLIENT_H_ |
| 6 #define CONTENT_SHELL_SHELL_CONTENT_RENDERER_CLIENT_H_ | 6 #define CONTENT_SHELL_SHELL_CONTENT_RENDERER_CLIENT_H_ |
| 7 #pragma once | 7 #pragma once |
| 8 | 8 |
| 9 #include "base/compiler_specific.h" | 9 #include "base/compiler_specific.h" |
| 10 #include "content/public/renderer/content_renderer_client.h" | 10 #include "content/public/renderer/content_renderer_client.h" |
| (...skipping 18 matching lines...) Expand all Loading... |
| 29 virtual void GetNavigationErrorStrings( | 29 virtual void GetNavigationErrorStrings( |
| 30 const WebKit::WebURLRequest& failed_request, | 30 const WebKit::WebURLRequest& failed_request, |
| 31 const WebKit::WebURLError& error, | 31 const WebKit::WebURLError& error, |
| 32 std::string* error_html, | 32 std::string* error_html, |
| 33 string16* error_description) OVERRIDE; | 33 string16* error_description) OVERRIDE; |
| 34 virtual bool OverrideCreateWebMediaPlayer( | 34 virtual bool OverrideCreateWebMediaPlayer( |
| 35 RenderView* render_view, | 35 RenderView* render_view, |
| 36 WebKit::WebMediaPlayerClient* client, | 36 WebKit::WebMediaPlayerClient* client, |
| 37 base::WeakPtr<webkit_media::WebMediaPlayerDelegate> delegate, | 37 base::WeakPtr<webkit_media::WebMediaPlayerDelegate> delegate, |
| 38 media::FilterCollection* collection, | 38 media::FilterCollection* collection, |
| 39 WebKit::WebAudioSourceProvider* audio_source_provider, |
| 39 media::MessageLoopFactory* message_loop_factory, | 40 media::MessageLoopFactory* message_loop_factory, |
| 40 webkit_media::MediaStreamClient* media_stream_client, | 41 webkit_media::MediaStreamClient* media_stream_client, |
| 41 media::MediaLog* media_log, | 42 media::MediaLog* media_log, |
| 42 webkit_media::WebMediaPlayerImpl** player) OVERRIDE; | 43 webkit_media::WebMediaPlayerImpl** player) OVERRIDE; |
| 43 virtual bool RunIdleHandlerWhenWidgetsHidden() OVERRIDE; | 44 virtual bool RunIdleHandlerWhenWidgetsHidden() OVERRIDE; |
| 44 virtual bool AllowPopup(const GURL& creator) OVERRIDE; | 45 virtual bool AllowPopup(const GURL& creator) OVERRIDE; |
| 45 virtual bool ShouldFork(WebKit::WebFrame* frame, | 46 virtual bool ShouldFork(WebKit::WebFrame* frame, |
| 46 const GURL& url, | 47 const GURL& url, |
| 47 bool is_content_initiated, | 48 bool is_content_initiated, |
| 48 bool is_initial_navigation, | 49 bool is_initial_navigation, |
| (...skipping 24 matching lines...) Expand all Loading... |
| 73 const GURL& first_party_for_cookies, | 74 const GURL& first_party_for_cookies, |
| 74 const std::string& value) OVERRIDE; | 75 const std::string& value) OVERRIDE; |
| 75 virtual void RegisterPPAPIInterfaceFactories( | 76 virtual void RegisterPPAPIInterfaceFactories( |
| 76 webkit::ppapi::PpapiInterfaceFactoryManager* factory_manager) OVERRIDE; | 77 webkit::ppapi::PpapiInterfaceFactoryManager* factory_manager) OVERRIDE; |
| 77 virtual bool AllowSocketAPI(const GURL& url) OVERRIDE; | 78 virtual bool AllowSocketAPI(const GURL& url) OVERRIDE; |
| 78 }; | 79 }; |
| 79 | 80 |
| 80 } // namespace content | 81 } // namespace content |
| 81 | 82 |
| 82 #endif // CONTENT_SHELL_SHELL_CONTENT_RENDERER_CLIENT_H_ | 83 #endif // CONTENT_SHELL_SHELL_CONTENT_RENDERER_CLIENT_H_ |
| OLD | NEW |