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

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

Issue 8461011: Clean up plug-in placeholders: (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: cleanup Created 9 years, 1 month 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
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 99 matching lines...) Expand 10 before | Expand all | Expand 10 after
110 110
111 virtual void RegisterPPAPIInterfaceFactories( 111 virtual void RegisterPPAPIInterfaceFactories(
112 webkit::ppapi::PpapiInterfaceFactoryManager* factory_manager) OVERRIDE; 112 webkit::ppapi::PpapiInterfaceFactoryManager* factory_manager) OVERRIDE;
113 113
114 private: 114 private:
115 WebKit::WebPlugin* CreatePlugin( 115 WebKit::WebPlugin* CreatePlugin(
116 content::RenderView* render_view, 116 content::RenderView* render_view,
117 WebKit::WebFrame* frame, 117 WebKit::WebFrame* frame,
118 const WebKit::WebPluginParams& params); 118 const WebKit::WebPluginParams& params);
119 119
120 WebKit::WebPlugin* CreatePluginPlaceholder(
121 content::RenderView* render_view,
122 WebKit::WebFrame* frame,
123 const webkit::WebPluginInfo& plugin,
124 const WebKit::WebPluginParams& params,
125 const webkit::npapi::PluginGroup* group,
126 int resource_id,
127 int message_id,
128 bool is_blocked_for_prerendering,
129 bool allow_loading);
130
131 // Returns the extension for the given URL. Excludes extension objects for 120 // Returns the extension for the given URL. Excludes extension objects for
132 // bookmark apps, which do not use the app process model. 121 // bookmark apps, which do not use the app process model.
133 const Extension* GetNonBookmarkAppExtension(const ExtensionSet* extensions, 122 const Extension* GetNonBookmarkAppExtension(const ExtensionSet* extensions,
134 const GURL& url); 123 const GURL& url);
135 124
136 // Returns true if the frame is navigating to an URL either into or out of an 125 // Returns true if the frame is navigating to an URL either into or out of an
137 // extension app's extent. 126 // extension app's extent.
138 bool CrossesExtensionExtents(WebKit::WebFrame* frame, 127 bool CrossesExtensionExtents(WebKit::WebFrame* frame,
139 const GURL& new_url, 128 const GURL& new_url,
140 bool is_initial_navigation); 129 bool is_initial_navigation);
(...skipping 16 matching lines...) Expand all
157 // The SpellCheckProvider is a RenderViewObserver, and handles its own 146 // The SpellCheckProvider is a RenderViewObserver, and handles its own
158 // destruction. 147 // destruction.
159 SpellCheckProvider* spellcheck_provider_; 148 SpellCheckProvider* spellcheck_provider_;
160 scoped_ptr<VisitedLinkSlave> visited_link_slave_; 149 scoped_ptr<VisitedLinkSlave> visited_link_slave_;
161 scoped_ptr<safe_browsing::PhishingClassifierFilter> phishing_classifier_; 150 scoped_ptr<safe_browsing::PhishingClassifierFilter> phishing_classifier_;
162 }; 151 };
163 152
164 } // namespace chrome 153 } // namespace chrome
165 154
166 #endif // CHROME_RENDERER_CHROME_CONTENT_RENDERER_CLIENT_H_ 155 #endif // CHROME_RENDERER_CHROME_CONTENT_RENDERER_CLIENT_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698