Commit ac216a9d authored by Daniel Vogelheim's avatar Daniel Vogelheim Committed by Commit Bot

v8 bindings: Move v8_cross_origin_setter_info to platform/bindings.

This makes the header accessible to all platform clients.
Preparation for https://crrev.com/c/1238465

Bug: 739170
Change-Id: Ia30feccae93704f734f0892a8f654f711e3f7251
Reviewed-on: https://chromium-review.googlesource.com/1240315
Commit-Queue: Yuki Shiino <yukishiino@chromium.org>
Reviewed-by: default avatarKentaro Hara <haraken@chromium.org>
Reviewed-by: default avatarYuki Shiino <yukishiino@chromium.org>
Cr-Commit-Position: refs/heads/master@{#593786}
parent 62e723e2
......@@ -105,7 +105,6 @@ bindings_core_v8_files =
"core/v8/v8_cache_options.h",
"core/v8/v8_code_cache.cc",
"core/v8/v8_code_cache.h",
"core/v8/v8_cross_origin_setter_info.h",
"core/v8/v8_dom_configuration.cc",
"core/v8/v8_dom_configuration.h",
"core/v8/v8_embedder_graph_builder.cc",
......
......@@ -80,7 +80,7 @@ def attribute_context(interface, attribute, interfaces):
includes.add('core/frame/use_counter.h')
# [CrossOrigin]
if has_extended_attribute_value(attribute, 'CrossOrigin', 'Setter'):
includes.add('bindings/core/v8/v8_cross_origin_setter_info.h')
includes.add('platform/bindings/v8_cross_origin_setter_info.h')
# [Constructor]
# TODO(yukishiino): Constructors are much like methods although constructors
# are not methods. Constructors must be data-type properties, and we can
......
......@@ -14,13 +14,13 @@
#include "third_party/blink/renderer/bindings/core/v8/binding_security.h"
#include "third_party/blink/renderer/bindings/core/v8/idl_types.h"
#include "third_party/blink/renderer/bindings/core/v8/native_value_traits_impl.h"
#include "third_party/blink/renderer/bindings/core/v8/v8_cross_origin_setter_info.h"
#include "third_party/blink/renderer/bindings/core/v8/v8_dom_configuration.h"
#include "third_party/blink/renderer/core/execution_context/execution_context.h"
#include "third_party/blink/renderer/core/frame/local_dom_window.h"
#include "third_party/blink/renderer/platform/bindings/exception_messages.h"
#include "third_party/blink/renderer/platform/bindings/exception_state.h"
#include "third_party/blink/renderer/platform/bindings/runtime_call_stats.h"
#include "third_party/blink/renderer/platform/bindings/v8_cross_origin_setter_info.h"
#include "third_party/blink/renderer/platform/bindings/v8_object_constructor.h"
#include "third_party/blink/renderer/platform/runtime_enabled_features.h"
#include "third_party/blink/renderer/platform/wtf/get_ptr.h"
......
......@@ -458,6 +458,7 @@ jumbo_component("platform") {
"bindings/v8_binding.cc",
"bindings/v8_binding.h",
"bindings/v8_binding_macros.h",
"bindings/v8_cross_origin_setter_info.h",
"bindings/v8_dom_activity_logger.cc",
"bindings/v8_dom_activity_logger.h",
"bindings/v8_dom_wrapper.cc",
......
......@@ -2,8 +2,8 @@
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
#ifndef THIRD_PARTY_BLINK_RENDERER_BINDINGS_CORE_V8_V8_CROSS_ORIGIN_SETTER_INFO_H_
#define THIRD_PARTY_BLINK_RENDERER_BINDINGS_CORE_V8_V8_CROSS_ORIGIN_SETTER_INFO_H_
#ifndef THIRD_PARTY_BLINK_RENDERER_PLATFORM_BINDINGS_V8_CROSS_ORIGIN_SETTER_INFO_H_
#define THIRD_PARTY_BLINK_RENDERER_PLATFORM_BINDINGS_V8_CROSS_ORIGIN_SETTER_INFO_H_
#include "third_party/blink/renderer/platform/wtf/allocator.h"
#include "v8/include/v8.h"
......@@ -36,4 +36,4 @@ class V8CrossOriginSetterInfo {
} // namespace blink
#endif // THIRD_PARTY_BLINK_RENDERER_BINDINGS_CORE_V8_V8_CROSS_ORIGIN_SETTER_INFO_H_
#endif // THIRD_PARTY_BLINK_RENDERER_PLATFORM_BINDINGS_V8_CROSS_ORIGIN_SETTER_INFO_H_
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment