#include "extensions/renderer/api/context_menus_custom_bindings.h"
#include <stdint.h>
#include <atomic>
#include "base/functional/bind.h"
#include "base/functional/callback.h"
#include "v8/include/v8.h"
namespace {
std::atomic<int32_t> menu_counter{ … };
void GetNextContextMenuId(const v8::FunctionCallbackInfo<v8::Value>& args) { … }
}
namespace extensions {
ContextMenusCustomBindings::ContextMenusCustomBindings(ScriptContext* context)
: … { … }
void ContextMenusCustomBindings::AddRoutes() { … }
}