Commit b847f2eb authored by Matt Reynolds's avatar Matt Reynolds Committed by Commit Bot

[bluetooth] Remove HTML imports in internals webui

chrome://bluetooth-internals used HTML imports, which have been
deprecated along with other Web Components V0 APIs. The imports
have been replaced with regular <script> tags.

Bug:1110954

Change-Id: Ie7041825896a316af9617cb44dd9eeffc0a33de7
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/2487688
Commit-Queue: Matt Reynolds <mattreynolds@chromium.org>
Reviewed-by: default avatardpapad <dpapad@chromium.org>
Cr-Commit-Position: refs/heads/master@{#824134}
parent 98dbf316
...@@ -10,22 +10,24 @@ ...@@ -10,22 +10,24 @@
<link rel="stylesheet" href="chrome://resources/css/spinner.css"> <link rel="stylesheet" href="chrome://resources/css/spinner.css">
<link rel="stylesheet" href="bluetooth_internals.css"> <link rel="stylesheet" href="bluetooth_internals.css">
<link rel="import" href="chrome://resources/html/action_link.html"> <script src="chrome://resources/js/action_link.js"></script>
<link rel="import" href="chrome://resources/html/cr/ui.html"> <script src="chrome://resources/js/assert.js"></script>
<link rel="import" href="chrome://resources/html/cr/event_target.html"> <script src="chrome://resources/js/cr.js"></script>
<link rel="import" href="chrome://resources/html/cr/ui/array_data_model.html"> <script src="chrome://resources/js/cr/ui.js"></script>
<link rel="import" href="chrome://resources/html/cr/ui/focus_outline_manager.html"> <script src="chrome://resources/js/cr/event_target.js"></script>
<link rel="import" href="chrome://resources/html/cr/ui/list_selection_controller.html"> <script src="chrome://resources/js/cr/ui/array_data_model.js"></script>
<link rel="import" href="chrome://resources/html/cr/ui/list_selection_model.html"> <script src="chrome://resources/js/cr/ui/focus_outline_manager.js"></script>
<link rel="import" href="chrome://resources/html/cr/ui/list_item.html"> <script src="chrome://resources/js/cr/ui/list_selection_controller.js"></script>
<link rel="import" href="chrome://resources/html/cr/ui/list.html"> <script src="chrome://resources/js/cr/ui/list_selection_model.js"></script>
<link rel="import" href="chrome://resources/html/cr/ui/overlay.html"> <script src="chrome://resources/js/cr/ui/list_item.js"></script>
<script src="chrome://resources/js/cr/ui/list.js"></script>
<script src="chrome://resources/js/cr/ui/overlay.js"></script>
<link rel="import" href="page_manager.html"> <script src="page_manager.js"></script>
<link rel="import" href="page.html"> <script src="page.js"></script>
<link rel="import" href="chrome://resources/html/util.html"> <script src="chrome://resources/js/util.js"></script>
<link rel="import" href="chrome://resources/mojo/mojo/public/js/mojo_bindings_lite.html"> <script src="chrome://resources/mojo/mojo/public/js/mojo_bindings_lite.js"></script>
<script src="uuid.mojom-lite.js"></script> <script src="uuid.mojom-lite.js"></script>
<script src="device.mojom-lite.js"></script> <script src="device.mojom-lite.js"></script>
......
<link rel="import" href="chrome://resources/html/cr.html">
<script src="node_utils.js"></script>
<link rel="import" href="node_utils.html">
<script src="page.js"></script>
...@@ -72,24 +72,15 @@ ...@@ -72,24 +72,15 @@
file="${root_gen_dir}\chrome\browser\ui\webui\bluetooth_internals\bluetooth_internals.mojom-lite.js" file="${root_gen_dir}\chrome\browser\ui\webui\bluetooth_internals\bluetooth_internals.mojom-lite.js"
use_base_dir="false" use_base_dir="false"
type="BINDATA" /> type="BINDATA" />
<include name="IDR_BLUETOOTH_INTERNALS_NODE_UTILS_HTML"
file="node_utils.html"
type="BINDATA" />
<include name="IDR_BLUETOOTH_INTERNALS_NODE_UTILS_JS" <include name="IDR_BLUETOOTH_INTERNALS_NODE_UTILS_JS"
file="node_utils.js" file="node_utils.js"
type="BINDATA" /> type="BINDATA" />
<include name="IDR_BLUETOOTH_INTERNALS_OBJECT_FIELDSET_JS" <include name="IDR_BLUETOOTH_INTERNALS_OBJECT_FIELDSET_JS"
file="object_fieldset.js" file="object_fieldset.js"
type="BINDATA" /> type="BINDATA" />
<include name="IDR_BLUETOOTH_INTERNALS_PAGE_MANAGER_HTML"
file="page_manager.html"
type="BINDATA" />
<include name="IDR_BLUETOOTH_INTERNALS_PAGE_MANAGER_JS" <include name="IDR_BLUETOOTH_INTERNALS_PAGE_MANAGER_JS"
file="page_manager.js" file="page_manager.js"
type="BINDATA" /> type="BINDATA" />
<include name="IDR_BLUETOOTH_INTERNALS_PAGE_HTML"
file="page.html"
type="BINDATA" />
<include name="IDR_BLUETOOTH_INTERNALS_PAGE_JS" <include name="IDR_BLUETOOTH_INTERNALS_PAGE_JS"
file="page.js" file="page.js"
type="BINDATA" /> type="BINDATA" />
......
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