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

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

Issue 102103005: Move c/c/e/extension_set to top-level extensions/ (Closed) Base URL: http://git.chromium.org/chromium/src.git@master
Patch Set: Created 7 years 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
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 <string> 8 #include <string>
9 #include <vector> 9 #include <vector>
10 10
11 #if defined(ENABLE_PLUGINS) 11 #if defined(ENABLE_PLUGINS)
12 #include <set> 12 #include <set>
13 #endif 13 #endif
14 14
15 #include "base/compiler_specific.h" 15 #include "base/compiler_specific.h"
16 #include "base/memory/scoped_ptr.h" 16 #include "base/memory/scoped_ptr.h"
17 #include "base/strings/string16.h" 17 #include "base/strings/string16.h"
18 #include "content/public/renderer/content_renderer_client.h" 18 #include "content/public/renderer/content_renderer_client.h"
19 19
20 class ChromeRenderProcessObserver; 20 class ChromeRenderProcessObserver;
21 class ExtensionSet;
22 class PrescientNetworkingDispatcher; 21 class PrescientNetworkingDispatcher;
23 class RendererNetPredictor; 22 class RendererNetPredictor;
24 class SearchBouncer; 23 class SearchBouncer;
25 #if defined(ENABLE_SPELLCHECK) 24 #if defined(ENABLE_SPELLCHECK)
26 class SpellCheck; 25 class SpellCheck;
27 class SpellCheckProvider; 26 class SpellCheckProvider;
28 #endif 27 #endif
29 28
30 struct ChromeViewHostMsg_GetPluginInfo_Output; 29 struct ChromeViewHostMsg_GetPluginInfo_Output;
31 30
32 namespace content { 31 namespace content {
33 struct WebPluginInfo; 32 struct WebPluginInfo;
34 } 33 }
35 34
36 namespace extensions { 35 namespace extensions {
37 class Dispatcher; 36 class Dispatcher;
38 class Extension; 37 class Extension;
38 class ExtensionSet;
39 class RendererPermissionsPolicyDelegate; 39 class RendererPermissionsPolicyDelegate;
40 } 40 }
41 41
42 namespace prerender { 42 namespace prerender {
43 class PrerenderDispatcher; 43 class PrerenderDispatcher;
44 } 44 }
45 45
46 namespace safe_browsing { 46 namespace safe_browsing {
47 class PhishingClassifierFilter; 47 class PhishingClassifierFilter;
48 } 48 }
(...skipping 129 matching lines...) Expand 10 before | Expand all | Expand 10 after
178 178
179 // Gets extension by the given origin, regardless of whether the extension 179 // Gets extension by the given origin, regardless of whether the extension
180 // is active in the current process. 180 // is active in the current process.
181 const extensions::Extension* GetExtensionByOrigin( 181 const extensions::Extension* GetExtensionByOrigin(
182 const blink::WebSecurityOrigin& origin) const; 182 const blink::WebSecurityOrigin& origin) const;
183 183
184 // Returns true if the frame is navigating to an URL either into or out of an 184 // Returns true if the frame is navigating to an URL either into or out of an
185 // extension app's extent. 185 // extension app's extent.
186 bool CrossesExtensionExtents(blink::WebFrame* frame, 186 bool CrossesExtensionExtents(blink::WebFrame* frame,
187 const GURL& new_url, 187 const GURL& new_url,
188 const ExtensionSet& extensions, 188 const extensions::ExtensionSet& extensions,
189 bool is_extension_url, 189 bool is_extension_url,
190 bool is_initial_navigation); 190 bool is_initial_navigation);
191 191
192 static GURL GetNaClContentHandlerURL(const std::string& actual_mime_type, 192 static GURL GetNaClContentHandlerURL(const std::string& actual_mime_type,
193 const content::WebPluginInfo& plugin); 193 const content::WebPluginInfo& plugin);
194 194
195 // Determines if a NaCl app is allowed, and modifies params to pass the app's 195 // Determines if a NaCl app is allowed, and modifies params to pass the app's
196 // permissions to the trusted NaCl plugin. 196 // permissions to the trusted NaCl plugin.
197 static bool IsNaClAllowed(const GURL& manifest_url, 197 static bool IsNaClAllowed(const GURL& manifest_url,
198 const GURL& app_url, 198 const GURL& app_url,
(...skipping 13 matching lines...) Expand all
212 scoped_ptr<visitedlink::VisitedLinkSlave> visited_link_slave_; 212 scoped_ptr<visitedlink::VisitedLinkSlave> visited_link_slave_;
213 scoped_ptr<safe_browsing::PhishingClassifierFilter> phishing_classifier_; 213 scoped_ptr<safe_browsing::PhishingClassifierFilter> phishing_classifier_;
214 scoped_ptr<prerender::PrerenderDispatcher> prerender_dispatcher_; 214 scoped_ptr<prerender::PrerenderDispatcher> prerender_dispatcher_;
215 #if defined(ENABLE_WEBRTC) 215 #if defined(ENABLE_WEBRTC)
216 scoped_refptr<WebRtcLoggingMessageFilter> webrtc_logging_message_filter_; 216 scoped_refptr<WebRtcLoggingMessageFilter> webrtc_logging_message_filter_;
217 #endif 217 #endif
218 scoped_ptr<SearchBouncer> search_bouncer_; 218 scoped_ptr<SearchBouncer> search_bouncer_;
219 }; 219 };
220 220
221 #endif // CHROME_RENDERER_CHROME_CONTENT_RENDERER_CLIENT_H_ 221 #endif // CHROME_RENDERER_CHROME_CONTENT_RENDERER_CLIENT_H_
OLDNEW
« no previous file with comments | « chrome/common/pepper_permission_util.cc ('k') | chrome/renderer/chrome_content_renderer_client.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698