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

Side by Side Diff: content/public/browser/content_browser_client.cc

Issue 12518033: Browser Plugin: Only install BrowserPluginMessageFilter if render process supports BrowserPlugin. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Addressed comments Created 7 years, 9 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
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 #include "content/public/browser/content_browser_client.h" 5 #include "content/public/browser/content_browser_client.h"
6 6
7 #include "base/files/file_path.h" 7 #include "base/files/file_path.h"
8 #include "googleurl/src/gurl.h" 8 #include "googleurl/src/gurl.h"
9 #include "ui/gfx/image/image_skia.h" 9 #include "ui/gfx/image/image_skia.h"
10 10
(...skipping 228 matching lines...) Expand 10 before | Expand all | Expand 10 after
239 239
240 std::string ContentBrowserClient::GetDefaultDownloadName() { 240 std::string ContentBrowserClient::GetDefaultDownloadName() {
241 return std::string(); 241 return std::string();
242 } 242 }
243 243
244 BrowserPpapiHost* 244 BrowserPpapiHost*
245 ContentBrowserClient::GetExternalBrowserPpapiHost(int plugin_process_id) { 245 ContentBrowserClient::GetExternalBrowserPpapiHost(int plugin_process_id) {
246 return NULL; 246 return NULL;
247 } 247 }
248 248
249 bool ContentBrowserClient::SupportsBrowserPlugin(
250 BrowserContext* browser_context, const GURL& site_url) {
251 return false;
252 }
253
249 bool ContentBrowserClient::AllowPepperSocketAPI( 254 bool ContentBrowserClient::AllowPepperSocketAPI(
250 BrowserContext* browser_context, 255 BrowserContext* browser_context,
251 const GURL& url, 256 const GURL& url,
252 const SocketPermissionRequest& params) { 257 const SocketPermissionRequest& params) {
253 return false; 258 return false;
254 } 259 }
255 260
256 base::FilePath ContentBrowserClient::GetHyphenDictionaryDirectory() { 261 base::FilePath ContentBrowserClient::GetHyphenDictionaryDirectory() {
257 return base::FilePath(); 262 return base::FilePath();
258 } 263 }
(...skipping 10 matching lines...) Expand all
269 #endif 274 #endif
270 275
271 #if defined(USE_NSS) 276 #if defined(USE_NSS)
272 crypto::CryptoModuleBlockingPasswordDelegate* 277 crypto::CryptoModuleBlockingPasswordDelegate*
273 ContentBrowserClient::GetCryptoPasswordDelegate(const GURL& url) { 278 ContentBrowserClient::GetCryptoPasswordDelegate(const GURL& url) {
274 return NULL; 279 return NULL;
275 } 280 }
276 #endif 281 #endif
277 282
278 } // namespace content 283 } // namespace content
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698