chore: simplify main world setup of contextIsolation (#16046)
This commit is contained in:
parent
d6d245d0c3
commit
897c6e93cb
7 changed files with 34 additions and 49 deletions
|
@ -32,7 +32,8 @@ class RendererClientBase : public content::ContentRendererClient {
|
|||
virtual void WillReleaseScriptContext(v8::Handle<v8::Context> context,
|
||||
content::RenderFrame* render_frame) = 0;
|
||||
virtual void DidClearWindowObject(content::RenderFrame* render_frame);
|
||||
virtual void SetupMainWorldOverrides(v8::Handle<v8::Context> context) = 0;
|
||||
virtual void SetupMainWorldOverrides(v8::Handle<v8::Context> context,
|
||||
content::RenderFrame* render_frame) = 0;
|
||||
|
||||
bool isolated_world() const { return isolated_world_; }
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue