Commit 6ff983c9 authored by rbpotter's avatar rbpotter Committed by Commit Bot

SplitSettings: Remove RouteOriginBehavior from browser settings

Bug: 986596
Change-Id: I473937026ba6d3d14e7de973c325033d7c8484a6
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/1990566
Commit-Queue: Rebekah Potter <rbpotter@chromium.org>
Reviewed-by: default avatarDan Beam <dbeam@chromium.org>
Cr-Commit-Position: refs/heads/master@{#729647}
parent f1a359db
...@@ -120,7 +120,6 @@ js_type_check("settings_resources") { ...@@ -120,7 +120,6 @@ js_type_check("settings_resources") {
":open_window_proxy", ":open_window_proxy",
":page_visibility", ":page_visibility",
":route", ":route",
":route_origin_behavior",
":search_settings", ":search_settings",
] ]
} }
...@@ -153,13 +152,6 @@ js_library("open_window_proxy") { ...@@ -153,13 +152,6 @@ js_library("open_window_proxy") {
] ]
} }
js_library("route_origin_behavior") {
deps = [
":route",
"//ui/webui/resources/js:cr",
]
}
js_library("route") { js_library("route") {
deps = [ deps = [
":page_visibility", ":page_visibility",
......
...@@ -73,6 +73,7 @@ if (optimize_webui) { ...@@ -73,6 +73,7 @@ if (optimize_webui) {
group("closure_compile") { group("closure_compile") {
deps = [ deps = [
":os_page_visibility", ":os_page_visibility",
":route_origin_behavior",
"bluetooth_page:closure_compile", "bluetooth_page:closure_compile",
"crostini_page:closure_compile", "crostini_page:closure_compile",
"date_time_page:closure_compile", "date_time_page:closure_compile",
...@@ -104,3 +105,10 @@ js_library("os_page_visibility") { ...@@ -104,3 +105,10 @@ js_library("os_page_visibility") {
"//ui/webui/resources/js:load_time_data", "//ui/webui/resources/js:load_time_data",
] ]
} }
js_library("route_origin_behavior") {
deps = [
"..:route",
"//ui/webui/resources/js:cr",
]
}
...@@ -70,8 +70,8 @@ js_library("crostini_shared_usb_devices") { ...@@ -70,8 +70,8 @@ js_library("crostini_shared_usb_devices") {
js_library("crostini_subpage") { js_library("crostini_subpage") {
deps = [ deps = [
":crostini_browser_proxy", ":crostini_browser_proxy",
"..:route_origin_behavior",
"../..:route", "../..:route",
"../..:route_origin_behavior",
"../../prefs:prefs_behavior", "../../prefs:prefs_behavior",
] ]
} }
...@@ -7,7 +7,7 @@ ...@@ -7,7 +7,7 @@
<link rel="import" href="../../i18n_setup.html"> <link rel="import" href="../../i18n_setup.html">
<link rel="import" href="../../prefs/prefs_behavior.html"> <link rel="import" href="../../prefs/prefs_behavior.html">
<link rel="import" href="../../route.html"> <link rel="import" href="../../route.html">
<link rel="import" href="../../route_origin_behavior.html"> <link rel="import" href="../route_origin_behavior.html">
<link rel="import" href="chrome://resources/html/web_ui_listener_behavior.html"> <link rel="import" href="chrome://resources/html/web_ui_listener_behavior.html">
<link rel="import" href="../../settings_shared_css.html"> <link rel="import" href="../../settings_shared_css.html">
......
...@@ -141,8 +141,8 @@ js_library("power") { ...@@ -141,8 +141,8 @@ js_library("power") {
js_library("storage") { js_library("storage") {
deps = [ deps = [
"..:route_origin_behavior",
"../..:route", "../..:route",
"../..:route_origin_behavior",
"../localized_link:localized_link", "../localized_link:localized_link",
"//ui/webui/resources/js:assert", "//ui/webui/resources/js:assert",
"//ui/webui/resources/js:load_time_data", "//ui/webui/resources/js:load_time_data",
......
...@@ -9,9 +9,9 @@ ...@@ -9,9 +9,9 @@
<link rel="import" href="chrome://resources/html/web_ui_listener_behavior.html"> <link rel="import" href="chrome://resources/html/web_ui_listener_behavior.html">
<link rel="import" href="chrome://resources/polymer/v1_0/iron-icon/iron-icon.html"> <link rel="import" href="chrome://resources/polymer/v1_0/iron-icon/iron-icon.html">
<link rel="import" href="storage_external.html"> <link rel="import" href="storage_external.html">
<link rel="import" href="../route_origin_behavior.html">
<link rel="import" href="../../prefs/prefs.html"> <link rel="import" href="../../prefs/prefs.html">
<link rel="import" href="../../route.html"> <link rel="import" href="../../route.html">
<link rel="import" href="../../route_origin_behavior.html">
<link rel="import" href="../../settings_shared_css.html"> <link rel="import" href="../../settings_shared_css.html">
<dom-module id="settings-storage"> <dom-module id="settings-storage">
......
...@@ -90,8 +90,8 @@ js_library("internet_known_networks_page") { ...@@ -90,8 +90,8 @@ js_library("internet_known_networks_page") {
js_library("internet_subpage") { js_library("internet_subpage") {
deps = [ deps = [
":internet_page_browser_proxy", ":internet_page_browser_proxy",
"..:route_origin_behavior",
"../..:route", "../..:route",
"../..:route_origin_behavior",
"../localized_link:localized_link", "../localized_link:localized_link",
"//ui/webui/resources/cr_components/chromeos/network:network_listener_behavior", "//ui/webui/resources/cr_components/chromeos/network:network_listener_behavior",
"//ui/webui/resources/cr_components/chromeos/network:onc_mojo", "//ui/webui/resources/cr_components/chromeos/network:onc_mojo",
......
...@@ -16,7 +16,7 @@ ...@@ -16,7 +16,7 @@
<link rel="import" href="../../chromeos/os_settings_icons_css.html"> <link rel="import" href="../../chromeos/os_settings_icons_css.html">
<link rel="import" href="../../i18n_setup.html"> <link rel="import" href="../../i18n_setup.html">
<link rel="import" href="../../route.html"> <link rel="import" href="../../route.html">
<link rel="import" href="../../route_origin_behavior.html"> <link rel="import" href="../route_origin_behavior.html">
<link rel="import" href="../../settings_shared_css.html"> <link rel="import" href="../../settings_shared_css.html">
<dom-module id="settings-internet-subpage"> <dom-module id="settings-internet-subpage">
......
...@@ -41,8 +41,8 @@ js_library("multidevice_feature_item") { ...@@ -41,8 +41,8 @@ js_library("multidevice_feature_item") {
deps = [ deps = [
":multidevice_feature_behavior", ":multidevice_feature_behavior",
":multidevice_page:multidevice_constants", ":multidevice_page:multidevice_constants",
"..:route_origin_behavior",
"../..:route", "../..:route",
"../..:route_origin_behavior",
"../localized_link:localized_link", "../localized_link:localized_link",
"//ui/webui/resources/js:cr", "//ui/webui/resources/js:cr",
] ]
......
...@@ -6,9 +6,9 @@ ...@@ -6,9 +6,9 @@
<link rel="import" href="chrome://resources/polymer/v1_0/iron-icon/iron-icon.html"> <link rel="import" href="chrome://resources/polymer/v1_0/iron-icon/iron-icon.html">
<link rel="import" href="../../icons.html"> <link rel="import" href="../../icons.html">
<link rel="import" href="../../route.html"> <link rel="import" href="../../route.html">
<link rel="import" href="../../route_origin_behavior.html">
<link rel="import" href="../../settings_shared_css.html"> <link rel="import" href="../../settings_shared_css.html">
<link rel="import" href="../localized_link/localized_link.html"> <link rel="import" href="../localized_link/localized_link.html">
<link rel="import" href="../route_origin_behavior.html">
<link rel="import" href="multidevice_constants.html"> <link rel="import" href="multidevice_constants.html">
<link rel="import" href="multidevice_feature_behavior.html"> <link rel="import" href="multidevice_feature_behavior.html">
<link rel="import" href="multidevice_feature_toggle.html"> <link rel="import" href="multidevice_feature_toggle.html">
......
...@@ -27,8 +27,8 @@ js_library("os_a11y_page") { ...@@ -27,8 +27,8 @@ js_library("os_a11y_page") {
js_library("manage_a11y_page") { js_library("manage_a11y_page") {
deps = [ deps = [
"..:route_origin_behavior",
"../..:route", "../..:route",
"../..:route_origin_behavior",
"../device_page:device_page_browser_proxy", "../device_page:device_page_browser_proxy",
"//ui/webui/resources/js:load_time_data", "//ui/webui/resources/js:load_time_data",
"//ui/webui/resources/js:web_ui_listener_behavior", "//ui/webui/resources/js:web_ui_listener_behavior",
......
...@@ -9,10 +9,10 @@ ...@@ -9,10 +9,10 @@
<link rel="import" href="../../controls/settings_toggle_button.html"> <link rel="import" href="../../controls/settings_toggle_button.html">
<link rel="import" href="../../i18n_setup.html"> <link rel="import" href="../../i18n_setup.html">
<link rel="import" href="../../route.html"> <link rel="import" href="../../route.html">
<link rel="import" href="../../route_origin_behavior.html">
<link rel="import" href="../../settings_shared_css.html"> <link rel="import" href="../../settings_shared_css.html">
<link rel="import" href="../device_page/device_page_browser_proxy.html"> <link rel="import" href="../device_page/device_page_browser_proxy.html">
<link rel="import" href="../localized_link/localized_link.html"> <link rel="import" href="../localized_link/localized_link.html">
<link rel="import" href="../route_origin_behavior.html">
<dom-module id="settings-manage-a11y-page"> <dom-module id="settings-manage-a11y-page">
<template> <template>
......
<link rel="import" href="chrome://resources/html/assert.html"> <link rel="import" href="chrome://resources/html/assert.html">
<link rel="import" href="route.html"> <link rel="import" href="../route.html">
<script src="route_origin_behavior.js"></script> <script src="route_origin_behavior.js"></script>
...@@ -762,11 +762,11 @@ ...@@ -762,11 +762,11 @@
file="route.js" file="route.js"
type="chrome_html" type="chrome_html"
preprocess="true" /> preprocess="true" />
<structure name="IDR_SETTINGS_ROUTE_ORIGIN_BEHAVIOR_HTML" <structure name="IDR_OS_SETTINGS_ROUTE_ORIGIN_BEHAVIOR_HTML"
file="route_origin_behavior.html" file="chromeos/route_origin_behavior.html"
type="chrome_html" /> type="chrome_html" />
<structure name="IDR_SETTINGS_ROUTE_ORIGIN_BEHAVIOR_JS" <structure name="IDR_OS_SETTINGS_ROUTE_ORIGIN_BEHAVIOR_JS"
file="route_origin_behavior.js" file="chromeos/route_origin_behavior.js"
type="chrome_html" /> type="chrome_html" />
<structure name="IDR_OS_SETTINGS_SEARCH_ENGINES_BROWSER_PROXY_JS" <structure name="IDR_OS_SETTINGS_SEARCH_ENGINES_BROWSER_PROXY_JS"
file="search_engines_page/search_engines_browser_proxy.js" file="search_engines_page/search_engines_browser_proxy.js"
......
...@@ -865,14 +865,6 @@ ...@@ -865,14 +865,6 @@
file="route.js" file="route.js"
type="chrome_html" type="chrome_html"
preprocess="true" /> preprocess="true" />
<if expr="chromeos">
<structure name="IDR_SETTINGS_ROUTE_ORIGIN_BEHAVIOR_HTML"
file="route_origin_behavior.html"
type="chrome_html" />
<structure name="IDR_SETTINGS_ROUTE_ORIGIN_BEHAVIOR_JS"
file="route_origin_behavior.js"
type="chrome_html" />
</if>
<structure name="IDR_SETTINGS_SITE_FAVICON_HTML" <structure name="IDR_SETTINGS_SITE_FAVICON_HTML"
file="site_favicon.html" file="site_favicon.html"
type="chrome_html" /> type="chrome_html" />
......
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