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 87 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
98 bool IsAdblockPlusWithWebRequestInstalled(); | 98 bool IsAdblockPlusWithWebRequestInstalled(); |
99 bool IsOtherExtensionWithWebRequestInstalled(); | 99 bool IsOtherExtensionWithWebRequestInstalled(); |
100 | 100 |
101 // For testing. | 101 // For testing. |
102 void SetExtensionDispatcher(ExtensionDispatcher* extension_dispatcher); | 102 void SetExtensionDispatcher(ExtensionDispatcher* extension_dispatcher); |
103 | 103 |
104 // Called in low-memory conditions to dump the memory used by the spellchecker | 104 // Called in low-memory conditions to dump the memory used by the spellchecker |
105 // and start over. | 105 // and start over. |
106 void OnPurgeMemory(); | 106 void OnPurgeMemory(); |
107 | 107 |
| 108 virtual void RegisterPPAPIInterfaceFactories( |
| 109 webkit::ppapi::PpapiInterfaceFactoryManager* factory_manager) OVERRIDE; |
| 110 |
108 private: | 111 private: |
109 WebKit::WebPlugin* CreatePlugin( | 112 WebKit::WebPlugin* CreatePlugin( |
110 content::RenderView* render_view, | 113 content::RenderView* render_view, |
111 WebKit::WebFrame* frame, | 114 WebKit::WebFrame* frame, |
112 const WebKit::WebPluginParams& params); | 115 const WebKit::WebPluginParams& params); |
113 | 116 |
114 WebKit::WebPlugin* CreatePluginPlaceholder( | 117 WebKit::WebPlugin* CreatePluginPlaceholder( |
115 content::RenderView* render_view, | 118 content::RenderView* render_view, |
116 WebKit::WebFrame* frame, | 119 WebKit::WebFrame* frame, |
117 const webkit::WebPluginInfo& plugin, | 120 const webkit::WebPluginInfo& plugin, |
(...skipping 27 matching lines...) Expand all Loading... |
145 // The SpellCheckProvider is a RenderViewObserver, and handles its own | 148 // The SpellCheckProvider is a RenderViewObserver, and handles its own |
146 // destruction. | 149 // destruction. |
147 SpellCheckProvider* spellcheck_provider_; | 150 SpellCheckProvider* spellcheck_provider_; |
148 scoped_ptr<VisitedLinkSlave> visited_link_slave_; | 151 scoped_ptr<VisitedLinkSlave> visited_link_slave_; |
149 scoped_ptr<safe_browsing::PhishingClassifierFilter> phishing_classifier_; | 152 scoped_ptr<safe_browsing::PhishingClassifierFilter> phishing_classifier_; |
150 }; | 153 }; |
151 | 154 |
152 } // namespace chrome | 155 } // namespace chrome |
153 | 156 |
154 #endif // CHROME_RENDERER_CHROME_CONTENT_RENDERER_CLIENT_H_ | 157 #endif // CHROME_RENDERER_CHROME_CONTENT_RENDERER_CLIENT_H_ |
OLD | NEW |