mirror of
https://bitbucket.org/chromiumembedded/cef
synced 2025-06-05 21:39:12 +02:00
- Add a new CefApp interface that provides global handlers and gets passed to CefInitialize() (issue #399).
- Add a new CefProxyHandler interface to allow applications to resolve proxy information (issue #389). git-svn-id: https://chromiumembedded.googlecode.com/svn/trunk@394 5089003a-bbd8-11dd-ad1f-f1f9622dbc98
This commit is contained in:
@@ -31,7 +31,7 @@ public:
|
||||
~CefContext();
|
||||
|
||||
// These methods will be called on the main application thread.
|
||||
bool Initialize(const CefSettings& settings);
|
||||
bool Initialize(const CefSettings& settings, CefRefPtr<CefApp> application);
|
||||
void Shutdown();
|
||||
|
||||
// Returns true if the context is initialized.
|
||||
@@ -52,6 +52,7 @@ public:
|
||||
const FilePath& cache_path() const { return cache_path_; }
|
||||
|
||||
const CefSettings& settings() const { return settings_; }
|
||||
CefRefPtr<CefApp> application() const { return application_; }
|
||||
|
||||
// Return the locale specified in CefSettings or the default value of "en-US".
|
||||
std::string locale() const;
|
||||
@@ -94,6 +95,7 @@ private:
|
||||
base::AtExitManager at_exit_manager_;
|
||||
|
||||
CefSettings settings_;
|
||||
CefRefPtr<CefApp> application_;
|
||||
FilePath cache_path_;
|
||||
scoped_refptr<BrowserRequestContext> request_context_;
|
||||
scoped_ptr<DOMStorageContext> storage_context_;
|
||||
|
Reference in New Issue
Block a user