| 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 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 | 7 |
| 8 #include <set> | 8 #include <set> |
| 9 #include <string> | 9 #include <string> |
| 10 | 10 |
| 11 #include "base/compiler_specific.h" | 11 #include "base/compiler_specific.h" |
| 12 #include "base/memory/scoped_ptr.h" | 12 #include "base/memory/scoped_ptr.h" |
| 13 #include "base/string16.h" | 13 #include "base/string16.h" |
| 14 #include "content/public/renderer/content_renderer_client.h" | 14 #include "content/public/renderer/content_renderer_client.h" |
| 15 | 15 |
| 16 class ChromeRenderProcessObserver; | 16 class ChromeRenderProcessObserver; |
| 17 class ExtensionSet; | 17 class ExtensionSet; |
| 18 class RendererNetPredictor; | 18 class RendererNetPredictor; |
| 19 class SpellCheck; | 19 class SpellCheck; |
| 20 class SpellCheckProvider; | 20 class SpellCheckProvider; |
| 21 class VisitedLinkSlave; | 21 class VisitedLinkSlave; |
| 22 | 22 |
| 23 struct ChromeViewHostMsg_GetPluginInfo_Output; | 23 struct ChromeViewHostMsg_GetPluginInfo_Output; |
| 24 | 24 |
| 25 namespace extensions { | 25 namespace extensions { |
| 26 class Dispatcher; | 26 class Dispatcher; |
| 27 class Extension; | 27 class Extension; |
| 28 } | 28 } |
| 29 | 29 |
| 30 namespace media { | |
| 31 class AudioRendererSink; | |
| 32 } | |
| 33 | |
| 34 namespace prerender { | 30 namespace prerender { |
| 35 class PrerenderDispatcher; | 31 class PrerenderDispatcher; |
| 36 } | 32 } |
| 37 | 33 |
| 38 namespace safe_browsing { | 34 namespace safe_browsing { |
| 39 class PhishingClassifierFilter; | 35 class PhishingClassifierFilter; |
| 40 } | 36 } |
| 41 | 37 |
| 42 namespace webkit { | 38 namespace webkit { |
| 43 struct WebPluginInfo; | 39 struct WebPluginInfo; |
| (...skipping 29 matching lines...) Expand all Loading... |
| 73 virtual void GetNavigationErrorStrings( | 69 virtual void GetNavigationErrorStrings( |
| 74 const WebKit::WebURLRequest& failed_request, | 70 const WebKit::WebURLRequest& failed_request, |
| 75 const WebKit::WebURLError& error, | 71 const WebKit::WebURLError& error, |
| 76 std::string* error_html, | 72 std::string* error_html, |
| 77 string16* error_description) OVERRIDE; | 73 string16* error_description) OVERRIDE; |
| 78 virtual webkit_media::WebMediaPlayerImpl* OverrideCreateWebMediaPlayer( | 74 virtual webkit_media::WebMediaPlayerImpl* OverrideCreateWebMediaPlayer( |
| 79 content::RenderView* render_view, | 75 content::RenderView* render_view, |
| 80 WebKit::WebFrame* frame, | 76 WebKit::WebFrame* frame, |
| 81 WebKit::WebMediaPlayerClient* client, | 77 WebKit::WebMediaPlayerClient* client, |
| 82 base::WeakPtr<webkit_media::WebMediaPlayerDelegate> delegate, | 78 base::WeakPtr<webkit_media::WebMediaPlayerDelegate> delegate, |
| 83 media::FilterCollection* collection, | 79 const webkit_media::WebMediaPlayerParams& params) OVERRIDE; |
| 84 WebKit::WebAudioSourceProvider* audio_source_provider, | |
| 85 media::AudioRendererSink* audio_renderer_sink, | |
| 86 media::MessageLoopFactory* message_loop_factory, | |
| 87 webkit_media::MediaStreamClient* media_stream_client, | |
| 88 media::MediaLog* media_log) OVERRIDE; | |
| 89 virtual bool RunIdleHandlerWhenWidgetsHidden() OVERRIDE; | 80 virtual bool RunIdleHandlerWhenWidgetsHidden() OVERRIDE; |
| 90 virtual bool AllowPopup() OVERRIDE; | 81 virtual bool AllowPopup() OVERRIDE; |
| 91 virtual bool ShouldFork(WebKit::WebFrame* frame, | 82 virtual bool ShouldFork(WebKit::WebFrame* frame, |
| 92 const GURL& url, | 83 const GURL& url, |
| 93 bool is_initial_navigation, | 84 bool is_initial_navigation, |
| 94 bool* send_referrer) OVERRIDE; | 85 bool* send_referrer) OVERRIDE; |
| 95 virtual bool WillSendRequest(WebKit::WebFrame* frame, | 86 virtual bool WillSendRequest(WebKit::WebFrame* frame, |
| 96 content::PageTransition transition_type, | 87 content::PageTransition transition_type, |
| 97 const GURL& url, | 88 const GURL& url, |
| 98 const GURL& first_party_for_cookies, | 89 const GURL& first_party_for_cookies, |
| (...skipping 78 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 177 scoped_ptr<RendererNetPredictor> net_predictor_; | 168 scoped_ptr<RendererNetPredictor> net_predictor_; |
| 178 scoped_ptr<SpellCheck> spellcheck_; | 169 scoped_ptr<SpellCheck> spellcheck_; |
| 179 scoped_ptr<VisitedLinkSlave> visited_link_slave_; | 170 scoped_ptr<VisitedLinkSlave> visited_link_slave_; |
| 180 scoped_ptr<safe_browsing::PhishingClassifierFilter> phishing_classifier_; | 171 scoped_ptr<safe_browsing::PhishingClassifierFilter> phishing_classifier_; |
| 181 scoped_ptr<prerender::PrerenderDispatcher> prerender_dispatcher_; | 172 scoped_ptr<prerender::PrerenderDispatcher> prerender_dispatcher_; |
| 182 }; | 173 }; |
| 183 | 174 |
| 184 } // namespace chrome | 175 } // namespace chrome |
| 185 | 176 |
| 186 #endif // CHROME_RENDERER_CHROME_CONTENT_RENDERER_CLIENT_H_ | 177 #endif // CHROME_RENDERER_CHROME_CONTENT_RENDERER_CLIENT_H_ |
| OLD | NEW |