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

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

Issue 11036054: Change the directory containing hyphenation dictionaries. (Closed) Base URL: svn://chrome-svn/chrome/trunk/src/
Patch Set: Created 8 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
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 #ifndef CONTENT_PUBLIC_BROWSER_CONTENT_BROWSER_CLIENT_H_ 5 #ifndef CONTENT_PUBLIC_BROWSER_CONTENT_BROWSER_CLIENT_H_
6 #define CONTENT_PUBLIC_BROWSER_CONTENT_BROWSER_CLIENT_H_ 6 #define CONTENT_PUBLIC_BROWSER_CONTENT_BROWSER_CLIENT_H_
7 7
8 #include <string> 8 #include <string>
9 #include <utility> 9 #include <utility>
10 #include <vector> 10 #include <vector>
(...skipping 431 matching lines...) Expand 10 before | Expand all | Expand 10 after
442 virtual void DidCreatePpapiPlugin(BrowserPpapiHost* browser_host) {} 442 virtual void DidCreatePpapiPlugin(BrowserPpapiHost* browser_host) {}
443 443
444 // Returns true if renderer processes can use Pepper TCP/UDP sockets from 444 // Returns true if renderer processes can use Pepper TCP/UDP sockets from
445 // the given origin. 445 // the given origin.
446 virtual bool AllowPepperSocketAPI(BrowserContext* browser_context, 446 virtual bool AllowPepperSocketAPI(BrowserContext* browser_context,
447 const GURL& url); 447 const GURL& url);
448 448
449 // Returns true if renderer processes can use private Pepper File APIs. 449 // Returns true if renderer processes can use private Pepper File APIs.
450 virtual bool AllowPepperPrivateFileAPI(); 450 virtual bool AllowPepperPrivateFileAPI();
451 451
452 // Returns the directory containing hyphenation dictionaries.
453 virtual FilePath GetHyphenDictionaryDirectory();
454
452 #if defined(OS_POSIX) && !defined(OS_MACOSX) 455 #if defined(OS_POSIX) && !defined(OS_MACOSX)
453 // Populates |mappings| with all files that need to be mapped before launching 456 // Populates |mappings| with all files that need to be mapped before launching
454 // a child process. 457 // a child process.
455 virtual void GetAdditionalMappedFilesForChildProcess( 458 virtual void GetAdditionalMappedFilesForChildProcess(
456 const CommandLine& command_line, 459 const CommandLine& command_line,
457 std::vector<FileDescriptorInfo>* mappings) {} 460 std::vector<FileDescriptorInfo>* mappings) {}
458 #endif 461 #endif
459 462
460 #if defined(OS_WIN) 463 #if defined(OS_WIN)
461 // Returns the name of the dll that contains cursors and other resources. 464 // Returns the name of the dll that contains cursors and other resources.
462 virtual const wchar_t* GetResourceDllName(); 465 virtual const wchar_t* GetResourceDllName();
463 #endif 466 #endif
464 467
465 #if defined(USE_NSS) 468 #if defined(USE_NSS)
466 // Return a delegate to authenticate and unlock |module|. 469 // Return a delegate to authenticate and unlock |module|.
467 // This is called on a worker thread. 470 // This is called on a worker thread.
468 virtual 471 virtual
469 crypto::CryptoModuleBlockingPasswordDelegate* GetCryptoPasswordDelegate( 472 crypto::CryptoModuleBlockingPasswordDelegate* GetCryptoPasswordDelegate(
470 const GURL& url); 473 const GURL& url);
471 #endif 474 #endif
472 }; 475 };
473 476
474 } // namespace content 477 } // namespace content
475 478
476 #endif // CONTENT_PUBLIC_BROWSER_CONTENT_BROWSER_CLIENT_H_ 479 #endif // CONTENT_PUBLIC_BROWSER_CONTENT_BROWSER_CLIENT_H_
OLDNEW
« no previous file with comments | « content/browser/hyphenator/hyphenator_message_filter.cc ('k') | content/public/browser/content_browser_client.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698