| 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 73 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 84 virtual bool HasErrorPage(int http_status_code, | 84 virtual bool HasErrorPage(int http_status_code, |
| 85 std::string* error_domain) OVERRIDE; | 85 std::string* error_domain) OVERRIDE; |
| 86 virtual bool ShouldSuppressErrorPage(const GURL& url) OVERRIDE; | 86 virtual bool ShouldSuppressErrorPage(const GURL& url) OVERRIDE; |
| 87 virtual void GetNavigationErrorStrings( | 87 virtual void GetNavigationErrorStrings( |
| 88 blink::WebFrame* frame, | 88 blink::WebFrame* frame, |
| 89 const blink::WebURLRequest& failed_request, | 89 const blink::WebURLRequest& failed_request, |
| 90 const blink::WebURLError& error, | 90 const blink::WebURLError& error, |
| 91 const std::string& accept_languages, | 91 const std::string& accept_languages, |
| 92 std::string* error_html, | 92 std::string* error_html, |
| 93 base::string16* error_description) OVERRIDE; | 93 base::string16* error_description) OVERRIDE; |
| 94 virtual void DeferMediaLoad(content::RenderView* render_view, | 94 virtual void DeferMediaLoad(content::RenderFrame* render_frame, |
| 95 const base::Closure& closure) OVERRIDE; | 95 const base::Closure& closure) OVERRIDE; |
| 96 virtual bool RunIdleHandlerWhenWidgetsHidden() OVERRIDE; | 96 virtual bool RunIdleHandlerWhenWidgetsHidden() OVERRIDE; |
| 97 virtual bool AllowPopup() OVERRIDE; | 97 virtual bool AllowPopup() OVERRIDE; |
| 98 virtual bool ShouldFork(blink::WebFrame* frame, | 98 virtual bool ShouldFork(blink::WebFrame* frame, |
| 99 const GURL& url, | 99 const GURL& url, |
| 100 const std::string& http_method, | 100 const std::string& http_method, |
| 101 bool is_initial_navigation, | 101 bool is_initial_navigation, |
| 102 bool is_server_redirect, | 102 bool is_server_redirect, |
| 103 bool* send_referrer) OVERRIDE; | 103 bool* send_referrer) OVERRIDE; |
| 104 virtual bool WillSendRequest(blink::WebFrame* frame, | 104 virtual bool WillSendRequest(blink::WebFrame* frame, |
| 105 content::PageTransition transition_type, | 105 content::PageTransition transition_type, |
| 106 const GURL& url, | 106 const GURL& url, |
| 107 const GURL& first_party_for_cookies, | 107 const GURL& first_party_for_cookies, |
| 108 GURL* new_url) OVERRIDE; | 108 GURL* new_url) OVERRIDE; |
| 109 virtual bool ShouldPumpEventsDuringCookieMessage() OVERRIDE; | 109 virtual bool ShouldPumpEventsDuringCookieMessage() OVERRIDE; |
| 110 virtual void DidCreateScriptContext(blink::WebFrame* frame, | 110 virtual void DidCreateScriptContext(blink::WebFrame* frame, |
| 111 v8::Handle<v8::Context> context, | 111 v8::Handle<v8::Context> context, |
| 112 int extension_group, | 112 int extension_group, |
| 113 int world_id) OVERRIDE; | 113 int world_id) OVERRIDE; |
| 114 virtual void WillReleaseScriptContext(blink::WebFrame* frame, | 114 virtual void WillReleaseScriptContext(blink::WebFrame* frame, |
| 115 v8::Handle<v8::Context> context, | 115 v8::Handle<v8::Context> context, |
| 116 int world_id) OVERRIDE; | 116 int world_id) OVERRIDE; |
| 117 virtual unsigned long long VisitedLinkHash(const char* canonical_url, | 117 virtual unsigned long long VisitedLinkHash(const char* canonical_url, |
| 118 size_t length) OVERRIDE; | 118 size_t length) OVERRIDE; |
| 119 virtual bool IsLinkVisited(unsigned long long link_hash) OVERRIDE; | 119 virtual bool IsLinkVisited(unsigned long long link_hash) OVERRIDE; |
| 120 virtual blink::WebPrescientNetworking* GetPrescientNetworking() OVERRIDE; | 120 virtual blink::WebPrescientNetworking* GetPrescientNetworking() OVERRIDE; |
| 121 virtual bool ShouldOverridePageVisibilityState( | 121 virtual bool ShouldOverridePageVisibilityState( |
| 122 const content::RenderView* render_view, | 122 const content::RenderFrame* render_frame, |
| 123 blink::WebPageVisibilityState* override_state) OVERRIDE; | 123 blink::WebPageVisibilityState* override_state) OVERRIDE; |
| 124 virtual bool HandleGetCookieRequest(content::RenderView* sender, | 124 virtual bool HandleGetCookieRequest(content::RenderView* sender, |
| 125 const GURL& url, | 125 const GURL& url, |
| 126 const GURL& first_party_for_cookies, | 126 const GURL& first_party_for_cookies, |
| 127 std::string* cookies) OVERRIDE; | 127 std::string* cookies) OVERRIDE; |
| 128 virtual bool HandleSetCookieRequest(content::RenderView* sender, | 128 virtual bool HandleSetCookieRequest(content::RenderView* sender, |
| 129 const GURL& url, | 129 const GURL& url, |
| 130 const GURL& first_party_for_cookies, | 130 const GURL& first_party_for_cookies, |
| 131 const std::string& value) OVERRIDE; | 131 const std::string& value) OVERRIDE; |
| 132 virtual bool AllowBrowserPlugin( | 132 virtual bool AllowBrowserPlugin( |
| (...skipping 82 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 215 scoped_ptr<visitedlink::VisitedLinkSlave> visited_link_slave_; | 215 scoped_ptr<visitedlink::VisitedLinkSlave> visited_link_slave_; |
| 216 scoped_ptr<safe_browsing::PhishingClassifierFilter> phishing_classifier_; | 216 scoped_ptr<safe_browsing::PhishingClassifierFilter> phishing_classifier_; |
| 217 scoped_ptr<prerender::PrerenderDispatcher> prerender_dispatcher_; | 217 scoped_ptr<prerender::PrerenderDispatcher> prerender_dispatcher_; |
| 218 #if defined(ENABLE_WEBRTC) | 218 #if defined(ENABLE_WEBRTC) |
| 219 scoped_refptr<WebRtcLoggingMessageFilter> webrtc_logging_message_filter_; | 219 scoped_refptr<WebRtcLoggingMessageFilter> webrtc_logging_message_filter_; |
| 220 #endif | 220 #endif |
| 221 scoped_ptr<SearchBouncer> search_bouncer_; | 221 scoped_ptr<SearchBouncer> search_bouncer_; |
| 222 }; | 222 }; |
| 223 | 223 |
| 224 #endif // CHROME_RENDERER_CHROME_CONTENT_RENDERER_CLIENT_H_ | 224 #endif // CHROME_RENDERER_CHROME_CONTENT_RENDERER_CLIENT_H_ |
| OLD | NEW |