Share same native bindings code on both renderer and browser.

This commit is contained in:
Cheng Zhao 2013-04-21 14:53:26 +08:00
parent 993cf1cc61
commit 5948bff23f
16 changed files with 206 additions and 122 deletions

View file

@ -0,0 +1,33 @@
// 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.
// Get basic type definitions.
#define IPC_MESSAGE_IMPL
#include "common/api/api_messages.h"
// Generate constructors.
#include "ipc/struct_constructor_macros.h"
#include "common/api/api_messages.h"
// Generate destructors.
#include "ipc/struct_destructor_macros.h"
#include "common/api/api_messages.h"
// Generate param traits write methods.
#include "ipc/param_traits_write_macros.h"
namespace IPC {
#include "common/api/api_messages.h"
} // namespace IPC
// Generate param traits read methods.
#include "ipc/param_traits_read_macros.h"
namespace IPC {
#include "common/api/api_messages.h"
} // namespace IPC
// Generate param traits log methods.
#include "ipc/param_traits_log_macros.h"
namespace IPC {
#include "common/api/api_messages.h"
} // namespace IPC