Commit f0e8d164 authored by Yuki Shiino's avatar Yuki Shiino Committed by Commit Bot

bind-gen: Remove migration_adapter.idl

Removes migration_adapter.idl because the new IDL interface's
implementation landed.

Bug: 839389
Change-Id: I4d5096428459fbb902bbe97b70328194356b3fa1
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/2521971Reviewed-by: default avatarKentaro Hara <haraken@chromium.org>
Reviewed-by: default avatarHitoshi Yoshida <peria@chromium.org>
Commit-Queue: Yuki Shiino <yukishiino@chromium.org>
Cr-Commit-Position: refs/heads/master@{#824752}
parent 92569ee6
......@@ -99,10 +99,6 @@ collect_idl_files("web_idl_in_core") {
inputs = static_idl_files_in_core
# Supplemental IDL definitions to support the migration from the old bindings
# generator to the new one.
inputs += [ "${bindings_scripts_dir}/web_idl/migration_adapter.idl" ]
output = "${bindings_output_dir}/web_idl_in_core.pickle"
}
......
// Copyright 2019 The Chromium Authors. All rights reserved.
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
// This file makes it easier and more smooth to migrate from the old bindings
// generator to the new one filling their gap. Once the migration gets done
// and the *.idl files get updated to be spec conformant, almost all (if not
// really all) the followings will be gone.
typedef EventHandlerNonNull? EventHandler;
// https://html.spec.whatwg.org/C/#onerroreventhandler
[LegacyTreatNonObjectAsNull]
callback OnErrorEventHandlerNonNull = any ((Event or DOMString) event, optional DOMString source, optional unsigned long lineno, optional unsigned long colno, optional any error);
typedef OnErrorEventHandlerNonNull? OnErrorEventHandler;
// https://html.spec.whatwg.org/C/#onbeforeunloadeventhandler
[LegacyTreatNonObjectAsNull]
callback OnBeforeUnloadEventHandlerNonNull = DOMString? (Event event);
typedef OnBeforeUnloadEventHandlerNonNull? OnBeforeUnloadEventHandler;
typedef DOMMatrix DOMMatrixConstructor;
typedef MediaStream MediaStreamConstructor;
typedef MutationObserver MutationObserverConstructor;
typedef RTCPeerConnection RTCPeerConnectionConstructor;
typedef SpeechGrammar SpeechGrammarConstructor;
typedef SpeechGrammarList SpeechGrammarListConstructor;
typedef SpeechRecognition SpeechRecognitionConstructor;
typedef SpeechRecognitionErrorEvent SpeechRecognitionErrorEventConstructor;
typedef SpeechRecognitionEvent SpeechRecognitionEventConstructor;
typedef URL URLConstructor;
......@@ -9,3 +9,14 @@
// regular EventHandler.
[LegacyTreatNonObjectAsNull]
callback EventHandlerNonNull = any (any... args);
typedef EventHandlerNonNull? EventHandler;
// https://html.spec.whatwg.org/C/#onerroreventhandler
[LegacyTreatNonObjectAsNull]
callback OnErrorEventHandlerNonNull = any ((Event or DOMString) event, optional DOMString source, optional unsigned long lineno, optional unsigned long colno, optional any error);
typedef OnErrorEventHandlerNonNull? OnErrorEventHandler;
// https://html.spec.whatwg.org/C/#onbeforeunloadeventhandler
[LegacyTreatNonObjectAsNull]
callback OnBeforeUnloadEventHandlerNonNull = DOMString? (Event event);
typedef OnBeforeUnloadEventHandlerNonNull? OnBeforeUnloadEventHandler;
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