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