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 <set> | 8 #include <set> |
9 #include <string> | 9 #include <string> |
10 | 10 |
(...skipping 112 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
123 // http://crbug.com/100411 | 123 // http://crbug.com/100411 |
124 bool IsAdblockInstalled(); | 124 bool IsAdblockInstalled(); |
125 bool IsAdblockPlusInstalled(); | 125 bool IsAdblockPlusInstalled(); |
126 bool IsAdblockWithWebRequestInstalled(); | 126 bool IsAdblockWithWebRequestInstalled(); |
127 bool IsAdblockPlusWithWebRequestInstalled(); | 127 bool IsAdblockPlusWithWebRequestInstalled(); |
128 bool IsOtherExtensionWithWebRequestInstalled(); | 128 bool IsOtherExtensionWithWebRequestInstalled(); |
129 | 129 |
130 // For testing. | 130 // For testing. |
131 void SetExtensionDispatcher(extensions::Dispatcher* extension_dispatcher); | 131 void SetExtensionDispatcher(extensions::Dispatcher* extension_dispatcher); |
132 | 132 |
133 // Sets a new spellcheck object. Used for low-mem restart and testing only. | |
sky
2012/11/12 03:51:37
Document ownership.
groby-ooo-7-16
2012/11/13 02:05:15
Done.
| |
134 void SetSpellcheck(SpellCheck* spellcheck); | |
135 | |
133 // Called in low-memory conditions to dump the memory used by the spellchecker | 136 // Called in low-memory conditions to dump the memory used by the spellchecker |
134 // and start over. | 137 // and start over. |
135 void OnPurgeMemory(); | 138 void OnPurgeMemory(); |
136 | 139 |
137 virtual void RegisterPPAPIInterfaceFactories( | 140 virtual void RegisterPPAPIInterfaceFactories( |
138 webkit::ppapi::PpapiInterfaceFactoryManager* factory_manager) OVERRIDE; | 141 webkit::ppapi::PpapiInterfaceFactoryManager* factory_manager) OVERRIDE; |
139 | 142 |
140 WebKit::WebPlugin* CreatePlugin( | 143 WebKit::WebPlugin* CreatePlugin( |
141 content::RenderView* render_view, | 144 content::RenderView* render_view, |
142 WebKit::WebFrame* frame, | 145 WebKit::WebFrame* frame, |
(...skipping 28 matching lines...) Expand all Loading... | |
171 scoped_ptr<RendererNetPredictor> net_predictor_; | 174 scoped_ptr<RendererNetPredictor> net_predictor_; |
172 scoped_ptr<SpellCheck> spellcheck_; | 175 scoped_ptr<SpellCheck> spellcheck_; |
173 scoped_ptr<VisitedLinkSlave> visited_link_slave_; | 176 scoped_ptr<VisitedLinkSlave> visited_link_slave_; |
174 scoped_ptr<safe_browsing::PhishingClassifierFilter> phishing_classifier_; | 177 scoped_ptr<safe_browsing::PhishingClassifierFilter> phishing_classifier_; |
175 scoped_ptr<prerender::PrerenderDispatcher> prerender_dispatcher_; | 178 scoped_ptr<prerender::PrerenderDispatcher> prerender_dispatcher_; |
176 }; | 179 }; |
177 | 180 |
178 } // namespace chrome | 181 } // namespace chrome |
179 | 182 |
180 #endif // CHROME_RENDERER_CHROME_CONTENT_RENDERER_CLIENT_H_ | 183 #endif // CHROME_RENDERER_CHROME_CONTENT_RENDERER_CLIENT_H_ |
OLD | NEW |