Don't insert node symbols in frames
This greatly simplified our code, and it is not useful to enable node integrations in frames.
This commit is contained in:
parent
f142f572c3
commit
706f547287
2 changed files with 6 additions and 53 deletions
|
@ -6,15 +6,10 @@
|
|||
#define ATOM_RENDERER_ATOM_RENDERER_CLIENT_H_
|
||||
|
||||
#include <string>
|
||||
#include <vector>
|
||||
|
||||
#include "content/public/renderer/content_renderer_client.h"
|
||||
#include "content/public/renderer/render_process_observer.h"
|
||||
|
||||
namespace node {
|
||||
class Environment;
|
||||
}
|
||||
|
||||
namespace atom {
|
||||
|
||||
class AtomRendererBindings;
|
||||
|
@ -27,9 +22,6 @@ class AtomRendererClient : public content::ContentRendererClient,
|
|||
virtual ~AtomRendererClient();
|
||||
|
||||
// Forwarded by RenderFrameObserver.
|
||||
void WillReleaseScriptContext(blink::WebLocalFrame* frame,
|
||||
v8::Handle<v8::Context> context,
|
||||
int world_id);
|
||||
void DidClearWindowObject();
|
||||
|
||||
AtomRendererBindings* atom_bindings() const { return atom_bindings_.get(); }
|
||||
|
@ -68,8 +60,6 @@ class AtomRendererClient : public content::ContentRendererClient,
|
|||
|
||||
void EnableWebRuntimeFeatures();
|
||||
|
||||
std::vector<node::Environment*> web_page_envs_;
|
||||
|
||||
scoped_ptr<NodeBindings> node_bindings_;
|
||||
scoped_ptr<AtomRendererBindings> atom_bindings_;
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue