Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(56)

Side by Side Diff: chrome/renderer/chrome_content_renderer_client.h

Issue 10821133: Move c/r/extensions/* into extensions namespace (Closed) Base URL: http://git.chromium.org/chromium/src.git@master
Patch Set: Latest master for cq Created 8 years, 4 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
« no previous file with comments | « chrome/chrome_renderer.gypi ('k') | chrome/renderer/chrome_content_renderer_client.cc » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
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
11 #include "base/compiler_specific.h" 11 #include "base/compiler_specific.h"
12 #include "base/memory/scoped_ptr.h" 12 #include "base/memory/scoped_ptr.h"
13 #include "base/string16.h" 13 #include "base/string16.h"
14 #include "content/public/renderer/content_renderer_client.h" 14 #include "content/public/renderer/content_renderer_client.h"
15 15
16 class ChromeRenderProcessObserver; 16 class ChromeRenderProcessObserver;
17 class ExtensionDispatcher;
18 class ExtensionSet; 17 class ExtensionSet;
19 class RendererNetPredictor; 18 class RendererNetPredictor;
20 class SpellCheck; 19 class SpellCheck;
21 class SpellCheckProvider; 20 class SpellCheckProvider;
22 class VisitedLinkSlave; 21 class VisitedLinkSlave;
23 22
24 struct ChromeViewHostMsg_GetPluginInfo_Status; 23 struct ChromeViewHostMsg_GetPluginInfo_Status;
25 24
25 namespace extensions {
26 class Dispatcher;
27 }
28
26 namespace media { 29 namespace media {
27 class AudioRendererSink; 30 class AudioRendererSink;
28 } 31 }
29 32
30 namespace prerender { 33 namespace prerender {
31 class PrerenderDispatcher; 34 class PrerenderDispatcher;
32 } 35 }
33 36
34 namespace safe_browsing { 37 namespace safe_browsing {
35 class PhishingClassifierFilter; 38 class PhishingClassifierFilter;
(...skipping 79 matching lines...) Expand 10 before | Expand all | Expand 10 after
115 118
116 // TODO(mpcomplete): remove after we collect histogram data. 119 // TODO(mpcomplete): remove after we collect histogram data.
117 // http://crbug.com/100411 120 // http://crbug.com/100411
118 bool IsAdblockInstalled(); 121 bool IsAdblockInstalled();
119 bool IsAdblockPlusInstalled(); 122 bool IsAdblockPlusInstalled();
120 bool IsAdblockWithWebRequestInstalled(); 123 bool IsAdblockWithWebRequestInstalled();
121 bool IsAdblockPlusWithWebRequestInstalled(); 124 bool IsAdblockPlusWithWebRequestInstalled();
122 bool IsOtherExtensionWithWebRequestInstalled(); 125 bool IsOtherExtensionWithWebRequestInstalled();
123 126
124 // For testing. 127 // For testing.
125 void SetExtensionDispatcher(ExtensionDispatcher* extension_dispatcher); 128 void SetExtensionDispatcher(extensions::Dispatcher* extension_dispatcher);
126 129
127 // Called in low-memory conditions to dump the memory used by the spellchecker 130 // Called in low-memory conditions to dump the memory used by the spellchecker
128 // and start over. 131 // and start over.
129 void OnPurgeMemory(); 132 void OnPurgeMemory();
130 133
131 virtual void RegisterPPAPIInterfaceFactories( 134 virtual void RegisterPPAPIInterfaceFactories(
132 webkit::ppapi::PpapiInterfaceFactoryManager* factory_manager) OVERRIDE; 135 webkit::ppapi::PpapiInterfaceFactoryManager* factory_manager) OVERRIDE;
133 136
134 SpellCheck* spellcheck() const { return spellcheck_.get(); } 137 SpellCheck* spellcheck() const { return spellcheck_.get(); }
135 138
(...skipping 19 matching lines...) Expand all
155 static GURL GetNaClContentHandlerURL(const std::string& actual_mime_type, 158 static GURL GetNaClContentHandlerURL(const std::string& actual_mime_type,
156 const webkit::WebPluginInfo& plugin); 159 const webkit::WebPluginInfo& plugin);
157 static bool IsNaClAllowed(const GURL& manifest_url, 160 static bool IsNaClAllowed(const GURL& manifest_url,
158 const GURL& top_url, 161 const GURL& top_url,
159 bool is_nacl_unrestricted, 162 bool is_nacl_unrestricted,
160 bool is_extension_unrestricted, 163 bool is_extension_unrestricted,
161 bool is_extension_from_webstore, 164 bool is_extension_from_webstore,
162 WebKit::WebPluginParams* params); 165 WebKit::WebPluginParams* params);
163 166
164 scoped_ptr<ChromeRenderProcessObserver> chrome_observer_; 167 scoped_ptr<ChromeRenderProcessObserver> chrome_observer_;
165 scoped_ptr<ExtensionDispatcher> extension_dispatcher_; 168 scoped_ptr<extensions::Dispatcher> extension_dispatcher_;
166 scoped_ptr<RendererNetPredictor> net_predictor_; 169 scoped_ptr<RendererNetPredictor> net_predictor_;
167 scoped_ptr<SpellCheck> spellcheck_; 170 scoped_ptr<SpellCheck> spellcheck_;
168 scoped_ptr<VisitedLinkSlave> visited_link_slave_; 171 scoped_ptr<VisitedLinkSlave> visited_link_slave_;
169 scoped_ptr<safe_browsing::PhishingClassifierFilter> phishing_classifier_; 172 scoped_ptr<safe_browsing::PhishingClassifierFilter> phishing_classifier_;
170 scoped_ptr<prerender::PrerenderDispatcher> prerender_dispatcher_; 173 scoped_ptr<prerender::PrerenderDispatcher> prerender_dispatcher_;
171 }; 174 };
172 175
173 } // namespace chrome 176 } // namespace chrome
174 177
175 #endif // CHROME_RENDERER_CHROME_CONTENT_RENDERER_CLIENT_H_ 178 #endif // CHROME_RENDERER_CHROME_CONTENT_RENDERER_CLIENT_H_
OLDNEW
« no previous file with comments | « chrome/chrome_renderer.gypi ('k') | chrome/renderer/chrome_content_renderer_client.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698