Move AtomRenderFrameObserver into a separate module.
Also move SetupMainWorldOverrides into the AtomRendererClient class(since the code there is specific to AtomRendererClient).
This commit is contained in:
parent
8a324a9375
commit
91ee0ea740
5 changed files with 175 additions and 122 deletions
|
@ -29,6 +29,7 @@ class AtomRendererClient : public RendererClientBase {
|
|||
// Get the context that the Electron API is running in.
|
||||
v8::Local<v8::Context> GetContext(
|
||||
blink::WebFrame* frame, v8::Isolate* isolate);
|
||||
void SetupMainWorldOverrides(v8::Handle<v8::Context> context);
|
||||
bool isolated_world() { return isolated_world_; }
|
||||
|
||||
private:
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue