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

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: fix 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
« no previous file with comments | « chrome/renderer/blocked_plugin.cc ('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) 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 98 matching lines...) Expand 10 before | Expand all | Expand 10 after
109 109
110 virtual void RegisterPPAPIInterfaceFactories( 110 virtual void RegisterPPAPIInterfaceFactories(
111 webkit::ppapi::PpapiInterfaceFactoryManager* factory_manager) OVERRIDE; 111 webkit::ppapi::PpapiInterfaceFactoryManager* factory_manager) OVERRIDE;
112 112
113 private: 113 private:
114 WebKit::WebPlugin* CreatePlugin( 114 WebKit::WebPlugin* CreatePlugin(
115 content::RenderView* render_view, 115 content::RenderView* render_view,
116 WebKit::WebFrame* frame, 116 WebKit::WebFrame* frame,
117 const WebKit::WebPluginParams& params); 117 const WebKit::WebPluginParams& params);
118 118
119 WebKit::WebPlugin* CreatePluginPlaceholder(
120 content::RenderView* render_view,
121 WebKit::WebFrame* frame,
122 const webkit::WebPluginInfo& plugin,
123 const WebKit::WebPluginParams& params,
124 const webkit::npapi::PluginGroup* group,
125 int resource_id,
126 int message_id,
127 bool is_blocked_for_prerendering,
128 bool allow_loading);
129
130 // Returns the extension for the given URL. Excludes extension objects for 119 // Returns the extension for the given URL. Excludes extension objects for
131 // bookmark apps, which do not use the app process model. 120 // bookmark apps, which do not use the app process model.
132 const Extension* GetNonBookmarkAppExtension(const ExtensionSet* extensions, 121 const Extension* GetNonBookmarkAppExtension(const ExtensionSet* extensions,
133 const GURL& url); 122 const GURL& url);
134 123
135 // 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
136 // extension app's extent. 125 // extension app's extent.
137 bool CrossesExtensionExtents(WebKit::WebFrame* frame, 126 bool CrossesExtensionExtents(WebKit::WebFrame* frame,
138 const GURL& new_url, 127 const GURL& new_url,
139 bool is_initial_navigation); 128 bool is_initial_navigation);
(...skipping 16 matching lines...) Expand all
156 // The SpellCheckProvider is a RenderViewObserver, and handles its own 145 // The SpellCheckProvider is a RenderViewObserver, and handles its own
157 // destruction. 146 // destruction.
158 SpellCheckProvider* spellcheck_provider_; 147 SpellCheckProvider* spellcheck_provider_;
159 scoped_ptr<VisitedLinkSlave> visited_link_slave_; 148 scoped_ptr<VisitedLinkSlave> visited_link_slave_;
160 scoped_ptr<safe_browsing::PhishingClassifierFilter> phishing_classifier_; 149 scoped_ptr<safe_browsing::PhishingClassifierFilter> phishing_classifier_;
161 }; 150 };
162 151
163 } // namespace chrome 152 } // namespace chrome
164 153
165 #endif // CHROME_RENDERER_CHROME_CONTENT_RENDERER_CLIENT_H_ 154 #endif // CHROME_RENDERER_CHROME_CONTENT_RENDERER_CLIENT_H_
OLDNEW
« no previous file with comments | « chrome/renderer/blocked_plugin.cc ('k') | chrome/renderer/chrome_content_renderer_client.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698