| 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 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 #pragma once | 7 #pragma once |
| 8 | 8 |
| 9 #include <string> | 9 #include <string> |
| 10 | 10 |
| (...skipping 73 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 84 const content::RenderView* render_view, | 84 const content::RenderView* render_view, |
| 85 WebKit::WebPageVisibilityState* override_state) const OVERRIDE; | 85 WebKit::WebPageVisibilityState* override_state) const OVERRIDE; |
| 86 virtual bool HandleGetCookieRequest(content::RenderView* sender, | 86 virtual bool HandleGetCookieRequest(content::RenderView* sender, |
| 87 const GURL& url, | 87 const GURL& url, |
| 88 const GURL& first_party_for_cookies, | 88 const GURL& first_party_for_cookies, |
| 89 std::string* cookies) OVERRIDE; | 89 std::string* cookies) OVERRIDE; |
| 90 virtual bool HandleSetCookieRequest(content::RenderView* sender, | 90 virtual bool HandleSetCookieRequest(content::RenderView* sender, |
| 91 const GURL& url, | 91 const GURL& url, |
| 92 const GURL& first_party_for_cookies, | 92 const GURL& first_party_for_cookies, |
| 93 const std::string& value) OVERRIDE; | 93 const std::string& value) OVERRIDE; |
| 94 virtual bool IsProtocolSupportedForMedia(const GURL& url) OVERRIDE; | |
| 95 | 94 |
| 96 // TODO(mpcomplete): remove after we collect histogram data. | 95 // TODO(mpcomplete): remove after we collect histogram data. |
| 97 // http://crbug.com/100411 | 96 // http://crbug.com/100411 |
| 98 bool IsAdblockInstalled(); | 97 bool IsAdblockInstalled(); |
| 99 bool IsAdblockPlusInstalled(); | 98 bool IsAdblockPlusInstalled(); |
| 100 bool IsAdblockWithWebRequestInstalled(); | 99 bool IsAdblockWithWebRequestInstalled(); |
| 101 bool IsAdblockPlusWithWebRequestInstalled(); | 100 bool IsAdblockPlusWithWebRequestInstalled(); |
| 102 bool IsOtherExtensionWithWebRequestInstalled(); | 101 bool IsOtherExtensionWithWebRequestInstalled(); |
| 103 | 102 |
| 104 // For testing. | 103 // For testing. |
| (...skipping 52 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 157 // The SpellCheckProvider is a RenderViewObserver, and handles its own | 156 // The SpellCheckProvider is a RenderViewObserver, and handles its own |
| 158 // destruction. | 157 // destruction. |
| 159 SpellCheckProvider* spellcheck_provider_; | 158 SpellCheckProvider* spellcheck_provider_; |
| 160 scoped_ptr<VisitedLinkSlave> visited_link_slave_; | 159 scoped_ptr<VisitedLinkSlave> visited_link_slave_; |
| 161 scoped_ptr<safe_browsing::PhishingClassifierFilter> phishing_classifier_; | 160 scoped_ptr<safe_browsing::PhishingClassifierFilter> phishing_classifier_; |
| 162 }; | 161 }; |
| 163 | 162 |
| 164 } // namespace chrome | 163 } // namespace chrome |
| 165 | 164 |
| 166 #endif // CHROME_RENDERER_CHROME_CONTENT_RENDERER_CLIENT_H_ | 165 #endif // CHROME_RENDERER_CHROME_CONTENT_RENDERER_CLIENT_H_ |
| OLD | NEW |