#include "chrome/renderer/extensions/api/accessibility_private_hooks_delegate.h"
#include "base/i18n/unicodestring.h"
#include "base/strings/utf_string_conversions.h"
#include "extensions/common/extension.h"
#include "extensions/renderer/bindings/api_signature.h"
#include "extensions/renderer/get_script_context.h"
#include "extensions/renderer/script_context.h"
#include "gin/converter.h"
#include "ui/base/l10n/l10n_util.h"
namespace extensions {
namespace {
constexpr char kGetDisplayNameForLocale[] = …;
constexpr char kUndeterminedLocale[] = …;
}
RequestResult;
AccessibilityPrivateHooksDelegate::AccessibilityPrivateHooksDelegate() =
default;
AccessibilityPrivateHooksDelegate::~AccessibilityPrivateHooksDelegate() =
default;
RequestResult AccessibilityPrivateHooksDelegate::HandleRequest(
const std::string& method_name,
const APISignature* signature,
v8::Local<v8::Context> context,
v8::LocalVector<v8::Value>* arguments,
const APITypeReferenceMap& refs) { … }
RequestResult AccessibilityPrivateHooksDelegate::HandleGetDisplayNameForLocale(
ScriptContext* script_context,
const v8::LocalVector<v8::Value>& parsed_arguments) { … }
}