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

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

Issue 8301006: Packaged (CRX) extensions shouldn't be able to get 'dev' interfaces in NaCl. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src/
Patch Set: '' Created 9 years, 2 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 | Annotate | Revision Log
« no previous file with comments | « no previous file | 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) 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 109 matching lines...) Expand 10 before | Expand all | Expand 10 after
120 int message_id, 120 int message_id,
121 bool is_blocked_for_prerendering, 121 bool is_blocked_for_prerendering,
122 bool allow_loading); 122 bool allow_loading);
123 123
124 // Returns true if the frame is navigating to an URL either into or out of an 124 // Returns true if the frame is navigating to an URL either into or out of an
125 // extension app's extent. 125 // extension app's extent.
126 bool CrossesExtensionExtents(WebKit::WebFrame* frame, 126 bool CrossesExtensionExtents(WebKit::WebFrame* frame,
127 const GURL& new_url, 127 const GURL& new_url,
128 bool is_initial_navigation); 128 bool is_initial_navigation);
129 129
130 // Returns true if the NaCl plugin can be created. If it returns true, as a
131 // side effect, it may add special attributes to params.
132 bool IsNaClAllowed(const webkit::WebPluginInfo& plugin,
133 const GURL& url,
134 const std::string& actual_mime_type,
135 bool enable_nacl,
136 WebKit::WebPluginParams& params);
137
130 scoped_ptr<ChromeRenderProcessObserver> chrome_observer_; 138 scoped_ptr<ChromeRenderProcessObserver> chrome_observer_;
131 scoped_ptr<ExtensionDispatcher> extension_dispatcher_; 139 scoped_ptr<ExtensionDispatcher> extension_dispatcher_;
132 scoped_ptr<RendererHistogramSnapshots> histogram_snapshots_; 140 scoped_ptr<RendererHistogramSnapshots> histogram_snapshots_;
133 scoped_ptr<RendererNetPredictor> net_predictor_; 141 scoped_ptr<RendererNetPredictor> net_predictor_;
134 scoped_ptr<SpellCheck> spellcheck_; 142 scoped_ptr<SpellCheck> spellcheck_;
135 // The SpellCheckProvider is a RenderViewObserver, and handles its own 143 // The SpellCheckProvider is a RenderViewObserver, and handles its own
136 // destruction. 144 // destruction.
137 SpellCheckProvider* spellcheck_provider_; 145 SpellCheckProvider* spellcheck_provider_;
138 scoped_ptr<VisitedLinkSlave> visited_link_slave_; 146 scoped_ptr<VisitedLinkSlave> visited_link_slave_;
139 scoped_ptr<safe_browsing::PhishingClassifierFilter> phishing_classifier_; 147 scoped_ptr<safe_browsing::PhishingClassifierFilter> phishing_classifier_;
140 }; 148 };
141 149
142 } // namespace chrome 150 } // namespace chrome
143 151
144 #endif // CHROME_RENDERER_CHROME_CONTENT_RENDERER_CLIENT_H_ 152 #endif // CHROME_RENDERER_CHROME_CONTENT_RENDERER_CLIENT_H_
OLDNEW
« no previous file with comments | « no previous file | chrome/renderer/chrome_content_renderer_client.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698