Register guest web view
This commit is contained in:
parent
81599f1535
commit
dacbf7a042
10 changed files with 126 additions and 56 deletions
|
@ -22,9 +22,6 @@ class AtomBrowserContext : public brightray::BrowserContext {
|
|||
// Returns the browser context singleton.
|
||||
static AtomBrowserContext* Get();
|
||||
|
||||
AtomURLRequestJobFactory* job_factory() const { return job_factory_; }
|
||||
|
||||
protected:
|
||||
// brightray::URLRequestContextGetter::Delegate:
|
||||
virtual net::URLRequestJobFactory* CreateURLRequestJobFactory(
|
||||
content::ProtocolHandlerMap* handlers,
|
||||
|
@ -33,6 +30,8 @@ class AtomBrowserContext : public brightray::BrowserContext {
|
|||
// content::BrowserContext:
|
||||
virtual content::BrowserPluginGuestManager* GetGuestManager() override;
|
||||
|
||||
AtomURLRequestJobFactory* job_factory() const { return job_factory_; }
|
||||
|
||||
private:
|
||||
// A fake BrowserProcess object that used to feed the source code from chrome.
|
||||
scoped_ptr<BrowserProcess> fake_browser_process_;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue