Remove AtomRendererBindings

After the simplification of code this class is no longer needed.
This commit is contained in:
Cheng Zhao 2015-01-23 20:43:38 -08:00
parent 0bcc9b7713
commit 91320a9e55
6 changed files with 45 additions and 127 deletions

View file

@ -12,7 +12,7 @@
namespace atom {
class AtomRendererBindings;
class AtomBindings;
class NodeBindings;
class AtomRendererClient : public content::ContentRendererClient,
@ -24,8 +24,6 @@ class AtomRendererClient : public content::ContentRendererClient,
// Forwarded by RenderFrameObserver.
void DidClearWindowObject();
AtomRendererBindings* atom_bindings() const { return atom_bindings_.get(); }
private:
enum NodeIntegration {
ALL,
@ -61,7 +59,7 @@ class AtomRendererClient : public content::ContentRendererClient,
void EnableWebRuntimeFeatures();
scoped_ptr<NodeBindings> node_bindings_;
scoped_ptr<AtomRendererBindings> atom_bindings_;
scoped_ptr<AtomBindings> atom_bindings_;
// The main frame.
blink::WebFrame* main_frame_;