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

@ -7,9 +7,9 @@
#include <algorithm>
#include <string>
#include "atom/common/api/atom_bindings.h"
#include "atom/common/node_bindings.h"
#include "atom/common/options_switches.h"
#include "atom/renderer/api/atom_renderer_bindings.h"
#include "atom/renderer/atom_render_view_observer.h"
#include "chrome/renderer/printing/print_web_view_helper.h"
#include "chrome/renderer/tts_dispatcher.h"
@ -18,7 +18,6 @@
#include "content/public/renderer/render_frame_observer.h"
#include "content/public/renderer/render_thread.h"
#include "base/command_line.h"
#include "native_mate/converter.h"
#include "third_party/WebKit/public/web/WebCustomElement.h"
#include "third_party/WebKit/public/web/WebFrame.h"
#include "third_party/WebKit/public/web/WebPluginParams.h"
@ -67,7 +66,7 @@ class AtomRenderFrameObserver : public content::RenderFrameObserver {
AtomRendererClient::AtomRendererClient()
: node_bindings_(NodeBindings::Create(false)),
atom_bindings_(new AtomRendererBindings),
atom_bindings_(new AtomBindings),
main_frame_(nullptr),
is_initialized_(false) {
}