node_bindings_win.h 628 B

1234567891011121314151617181920212223242526
  1. // Copyright (c) 2013 GitHub, Inc.
  2. // Use of this source code is governed by the MIT license that can be
  3. // found in the LICENSE file.
  4. #ifndef SHELL_COMMON_NODE_BINDINGS_WIN_H_
  5. #define SHELL_COMMON_NODE_BINDINGS_WIN_H_
  6. #include "base/compiler_specific.h"
  7. #include "shell/common/node_bindings.h"
  8. namespace electron {
  9. class NodeBindingsWin : public NodeBindings {
  10. public:
  11. explicit NodeBindingsWin(BrowserEnvironment browser_env);
  12. ~NodeBindingsWin() override;
  13. private:
  14. void PollEvents() override;
  15. DISALLOW_COPY_AND_ASSIGN(NodeBindingsWin);
  16. };
  17. } // namespace electron
  18. #endif // SHELL_COMMON_NODE_BINDINGS_WIN_H_