| 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 109 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 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_ |
| OLD | NEW |