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 #include <vector> | 10 #include <vector> |
(...skipping 33 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
44 | 44 |
45 namespace safe_browsing { | 45 namespace safe_browsing { |
46 class PhishingClassifierFilter; | 46 class PhishingClassifierFilter; |
47 } | 47 } |
48 | 48 |
49 namespace visitedlink { | 49 namespace visitedlink { |
50 class VisitedLinkSlave; | 50 class VisitedLinkSlave; |
51 } | 51 } |
52 | 52 |
53 namespace blink { | 53 namespace blink { |
| 54 class WebCredentialManager; |
54 class WebSecurityOrigin; | 55 class WebSecurityOrigin; |
55 } | 56 } |
56 | 57 |
| 58 namespace password_manager { |
| 59 class CredentialManagerDispatcher; |
| 60 } |
| 61 |
57 #if defined(ENABLE_WEBRTC) | 62 #if defined(ENABLE_WEBRTC) |
58 class WebRtcLoggingMessageFilter; | 63 class WebRtcLoggingMessageFilter; |
59 #endif | 64 #endif |
60 | 65 |
61 class ChromeContentRendererClient : public content::ContentRendererClient { | 66 class ChromeContentRendererClient : public content::ContentRendererClient { |
62 public: | 67 public: |
63 ChromeContentRendererClient(); | 68 ChromeContentRendererClient(); |
64 virtual ~ChromeContentRendererClient(); | 69 virtual ~ChromeContentRendererClient(); |
65 | 70 |
66 virtual void RenderThreadStarted() OVERRIDE; | 71 virtual void RenderThreadStarted() OVERRIDE; |
(...skipping 38 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
105 const GURL& first_party_for_cookies, | 110 const GURL& first_party_for_cookies, |
106 GURL* new_url) OVERRIDE; | 111 GURL* new_url) OVERRIDE; |
107 virtual void DidCreateScriptContext(blink::WebFrame* frame, | 112 virtual void DidCreateScriptContext(blink::WebFrame* frame, |
108 v8::Handle<v8::Context> context, | 113 v8::Handle<v8::Context> context, |
109 int extension_group, | 114 int extension_group, |
110 int world_id) OVERRIDE; | 115 int world_id) OVERRIDE; |
111 virtual unsigned long long VisitedLinkHash(const char* canonical_url, | 116 virtual unsigned long long VisitedLinkHash(const char* canonical_url, |
112 size_t length) OVERRIDE; | 117 size_t length) OVERRIDE; |
113 virtual bool IsLinkVisited(unsigned long long link_hash) OVERRIDE; | 118 virtual bool IsLinkVisited(unsigned long long link_hash) OVERRIDE; |
114 virtual blink::WebPrescientNetworking* GetPrescientNetworking() OVERRIDE; | 119 virtual blink::WebPrescientNetworking* GetPrescientNetworking() OVERRIDE; |
| 120 virtual blink::WebCredentialManager* GetCredentialManager() OVERRIDE; |
115 virtual bool ShouldOverridePageVisibilityState( | 121 virtual bool ShouldOverridePageVisibilityState( |
116 const content::RenderFrame* render_frame, | 122 const content::RenderFrame* render_frame, |
117 blink::WebPageVisibilityState* override_state) OVERRIDE; | 123 blink::WebPageVisibilityState* override_state) OVERRIDE; |
118 virtual const void* CreatePPAPIInterface( | 124 virtual const void* CreatePPAPIInterface( |
119 const std::string& interface_name) OVERRIDE; | 125 const std::string& interface_name) OVERRIDE; |
120 virtual bool IsExternalPepperPlugin(const std::string& module_name) OVERRIDE; | 126 virtual bool IsExternalPepperPlugin(const std::string& module_name) OVERRIDE; |
121 virtual blink::WebSpeechSynthesizer* OverrideSpeechSynthesizer( | 127 virtual blink::WebSpeechSynthesizer* OverrideSpeechSynthesizer( |
122 blink::WebSpeechSynthesizerClient* client) OVERRIDE; | 128 blink::WebSpeechSynthesizerClient* client) OVERRIDE; |
123 virtual bool ShouldReportDetailedMessageForSource( | 129 virtual bool ShouldReportDetailedMessageForSource( |
124 const base::string16& source) const OVERRIDE; | 130 const base::string16& source) const OVERRIDE; |
(...skipping 73 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
198 scoped_ptr<safe_browsing::PhishingClassifierFilter> phishing_classifier_; | 204 scoped_ptr<safe_browsing::PhishingClassifierFilter> phishing_classifier_; |
199 scoped_ptr<prerender::PrerenderDispatcher> prerender_dispatcher_; | 205 scoped_ptr<prerender::PrerenderDispatcher> prerender_dispatcher_; |
200 #if defined(ENABLE_WEBRTC) | 206 #if defined(ENABLE_WEBRTC) |
201 scoped_refptr<WebRtcLoggingMessageFilter> webrtc_logging_message_filter_; | 207 scoped_refptr<WebRtcLoggingMessageFilter> webrtc_logging_message_filter_; |
202 #endif | 208 #endif |
203 scoped_ptr<SearchBouncer> search_bouncer_; | 209 scoped_ptr<SearchBouncer> search_bouncer_; |
204 #if defined(ENABLE_PLUGINS) | 210 #if defined(ENABLE_PLUGINS) |
205 std::set<std::string> allowed_compositor_origins_; | 211 std::set<std::string> allowed_compositor_origins_; |
206 std::set<std::string> allowed_video_decode_origins_; | 212 std::set<std::string> allowed_video_decode_origins_; |
207 #endif | 213 #endif |
| 214 scoped_ptr<password_manager::CredentialManagerDispatcher> |
| 215 credential_manager_dispatcher_; |
208 }; | 216 }; |
209 | 217 |
210 #endif // CHROME_RENDERER_CHROME_CONTENT_RENDERER_CLIENT_H_ | 218 #endif // CHROME_RENDERER_CHROME_CONTENT_RENDERER_CLIENT_H_ |
OLD | NEW |