Chromium Code Reviews| Index: chrome/renderer/chrome_content_renderer_client.h |
| diff --git a/chrome/renderer/chrome_content_renderer_client.h b/chrome/renderer/chrome_content_renderer_client.h |
| index dfa88d09f423b65de0b88a8f56a1d26c525dc3cf..dc032205aaa42cd9a3abbdd1593095016c7d1c43 100644 |
| --- a/chrome/renderer/chrome_content_renderer_client.h |
| +++ b/chrome/renderer/chrome_content_renderer_client.h |
| @@ -11,6 +11,7 @@ |
| #include "base/compiler_specific.h" |
| #include "base/memory/scoped_ptr.h" |
| #include "base/string16.h" |
| +#include "chrome/common/content_settings.h" |
| #include "content/public/renderer/content_renderer_client.h" |
| class ChromeRenderProcessObserver; |
| @@ -97,6 +98,9 @@ class ChromeContentRendererClient : public content::ContentRendererClient { |
| bool IsAdblockWithWebRequestInstalled(); |
| bool IsAdblockPlusWithWebRequestInstalled(); |
| + void SetImageSettingRules( |
| + const ContentSettingsForOneType& image_setting_rules); |
| + |
| // For testing. |
| void SetExtensionDispatcher(ExtensionDispatcher* extension_dispatcher); |
| @@ -137,6 +141,7 @@ class ChromeContentRendererClient : public content::ContentRendererClient { |
| SpellCheckProvider* spellcheck_provider_; |
| scoped_ptr<VisitedLinkSlave> visited_link_slave_; |
| scoped_ptr<safe_browsing::PhishingClassifierFilter> phishing_classifier_; |
| + ContentSettingsForOneType image_setting_rules_; |
|
Bernhard Bauer
2011/10/17 13:13:19
The content client should be the glue between the
marja
2011/10/18 12:23:02
Done. But, the ChromeRenderProcessObserver is not
|
| }; |
| } // namespace chrome |