Don't separate node bindings into renderer and browser part.
Since we are going to use embeding thread to implement message integration on all platforms, we do not need to separate renderer and browser anymore.
This commit is contained in:
parent
bc62d8c2c5
commit
008b8d404d
11 changed files with 64 additions and 123 deletions
27
common/node_bindings_win.cc
Normal file
27
common/node_bindings_win.cc
Normal file
|
@ -0,0 +1,27 @@
|
|||
// Copyright (c) 2013 GitHub, Inc. All rights reserved.
|
||||
// Use of this source code is governed by a BSD-style license that can be
|
||||
// found in the LICENSE file.
|
||||
|
||||
#include "common/node_bindings_win.h"
|
||||
|
||||
#include "vendor/node/src/node.h"
|
||||
#include "vendor/node/src/node_internals.h"
|
||||
|
||||
namespace atom {
|
||||
|
||||
NodeBindingsWin::NodeBindingsWin(bool is_browser)
|
||||
: NodeBindings(is_browser) {
|
||||
}
|
||||
|
||||
NodeBindingsWin::~NodeBindingsWin() {
|
||||
}
|
||||
|
||||
void NodeBindingsWin::PollEvents() {
|
||||
}
|
||||
|
||||
// static
|
||||
NodeBindings* NodeBindings::Create(bool is_browser) {
|
||||
return new NodeBindingsWin(is_browser);
|
||||
}
|
||||
|
||||
} // namespace atom
|
Loading…
Add table
Add a link
Reference in a new issue