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 <string> | 8 #include <string> |
9 #include <vector> | 9 #include <vector> |
10 | 10 |
(...skipping 86 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
97 const GURL& url, | 97 const GURL& url, |
98 const std::string& http_method, | 98 const std::string& http_method, |
99 bool is_initial_navigation, | 99 bool is_initial_navigation, |
100 bool is_server_redirect, | 100 bool is_server_redirect, |
101 bool* send_referrer) OVERRIDE; | 101 bool* send_referrer) OVERRIDE; |
102 virtual bool WillSendRequest(blink::WebFrame* frame, | 102 virtual bool WillSendRequest(blink::WebFrame* frame, |
103 content::PageTransition transition_type, | 103 content::PageTransition transition_type, |
104 const GURL& url, | 104 const GURL& url, |
105 const GURL& first_party_for_cookies, | 105 const GURL& first_party_for_cookies, |
106 GURL* new_url) OVERRIDE; | 106 GURL* new_url) OVERRIDE; |
107 virtual bool ShouldPumpEventsDuringCookieMessage() OVERRIDE; | |
108 virtual void DidCreateScriptContext(blink::WebFrame* frame, | 107 virtual void DidCreateScriptContext(blink::WebFrame* frame, |
109 v8::Handle<v8::Context> context, | 108 v8::Handle<v8::Context> context, |
110 int extension_group, | 109 int extension_group, |
111 int world_id) OVERRIDE; | 110 int world_id) OVERRIDE; |
112 virtual void WillReleaseScriptContext(blink::WebFrame* frame, | 111 virtual void WillReleaseScriptContext(blink::WebFrame* frame, |
113 v8::Handle<v8::Context> context, | 112 v8::Handle<v8::Context> context, |
114 int world_id) OVERRIDE; | 113 int world_id) OVERRIDE; |
115 virtual unsigned long long VisitedLinkHash(const char* canonical_url, | 114 virtual unsigned long long VisitedLinkHash(const char* canonical_url, |
116 size_t length) OVERRIDE; | 115 size_t length) OVERRIDE; |
117 virtual bool IsLinkVisited(unsigned long long link_hash) OVERRIDE; | 116 virtual bool IsLinkVisited(unsigned long long link_hash) OVERRIDE; |
118 virtual blink::WebPrescientNetworking* GetPrescientNetworking() OVERRIDE; | 117 virtual blink::WebPrescientNetworking* GetPrescientNetworking() OVERRIDE; |
119 virtual bool ShouldOverridePageVisibilityState( | 118 virtual bool ShouldOverridePageVisibilityState( |
120 const content::RenderFrame* render_frame, | 119 const content::RenderFrame* render_frame, |
121 blink::WebPageVisibilityState* override_state) OVERRIDE; | 120 blink::WebPageVisibilityState* override_state) OVERRIDE; |
122 virtual bool HandleGetCookieRequest(content::RenderView* sender, | |
123 const GURL& url, | |
124 const GURL& first_party_for_cookies, | |
125 std::string* cookies) OVERRIDE; | |
126 virtual bool HandleSetCookieRequest(content::RenderView* sender, | |
127 const GURL& url, | |
128 const GURL& first_party_for_cookies, | |
129 const std::string& value) OVERRIDE; | |
130 virtual bool AllowBrowserPlugin( | 121 virtual bool AllowBrowserPlugin( |
131 blink::WebPluginContainer* container) OVERRIDE; | 122 blink::WebPluginContainer* container) OVERRIDE; |
132 virtual const void* CreatePPAPIInterface( | 123 virtual const void* CreatePPAPIInterface( |
133 const std::string& interface_name) OVERRIDE; | 124 const std::string& interface_name) OVERRIDE; |
134 virtual bool IsExternalPepperPlugin(const std::string& module_name) OVERRIDE; | 125 virtual bool IsExternalPepperPlugin(const std::string& module_name) OVERRIDE; |
135 virtual blink::WebSpeechSynthesizer* OverrideSpeechSynthesizer( | 126 virtual blink::WebSpeechSynthesizer* OverrideSpeechSynthesizer( |
136 blink::WebSpeechSynthesizerClient* client) OVERRIDE; | 127 blink::WebSpeechSynthesizerClient* client) OVERRIDE; |
137 virtual bool ShouldReportDetailedMessageForSource( | 128 virtual bool ShouldReportDetailedMessageForSource( |
138 const base::string16& source) const OVERRIDE; | 129 const base::string16& source) const OVERRIDE; |
139 virtual bool ShouldEnableSiteIsolationPolicy() const OVERRIDE; | 130 virtual bool ShouldEnableSiteIsolationPolicy() const OVERRIDE; |
(...skipping 72 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
212 scoped_ptr<visitedlink::VisitedLinkSlave> visited_link_slave_; | 203 scoped_ptr<visitedlink::VisitedLinkSlave> visited_link_slave_; |
213 scoped_ptr<safe_browsing::PhishingClassifierFilter> phishing_classifier_; | 204 scoped_ptr<safe_browsing::PhishingClassifierFilter> phishing_classifier_; |
214 scoped_ptr<prerender::PrerenderDispatcher> prerender_dispatcher_; | 205 scoped_ptr<prerender::PrerenderDispatcher> prerender_dispatcher_; |
215 #if defined(ENABLE_WEBRTC) | 206 #if defined(ENABLE_WEBRTC) |
216 scoped_refptr<WebRtcLoggingMessageFilter> webrtc_logging_message_filter_; | 207 scoped_refptr<WebRtcLoggingMessageFilter> webrtc_logging_message_filter_; |
217 #endif | 208 #endif |
218 scoped_ptr<SearchBouncer> search_bouncer_; | 209 scoped_ptr<SearchBouncer> search_bouncer_; |
219 }; | 210 }; |
220 | 211 |
221 #endif // CHROME_RENDERER_CHROME_CONTENT_RENDERER_CLIENT_H_ | 212 #endif // CHROME_RENDERER_CHROME_CONTENT_RENDERER_CLIENT_H_ |
OLD | NEW |