Commit a6b6bed8 authored by dpapad's avatar dpapad Committed by Commit Bot

WebUI: Remove incorrect imports from some Polymer2 JS files.

Polymer2 files processed by polymer_modulizer() should not have
"// #import " comments. Instead, their JS imports are auto-generated
by translating HTML imports from the corresponding HTML file.

Note that these comments are no-op currently, as they are not processed
by polymer_modulizer().

Bug: 1152687
Change-Id: If908cce6d21f4766590b2c97b354f2ac899d8625
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/2560679
Commit-Queue: Rebekah Potter <rbpotter@chromium.org>
Reviewed-by: default avatarRebekah Potter <rbpotter@chromium.org>
Auto-Submit: dpapad <dpapad@chromium.org>
Cr-Commit-Position: refs/heads/master@{#831030}
parent 74900845
...@@ -2,8 +2,6 @@ ...@@ -2,8 +2,6 @@
// Use of this source code is governed by a BSD-style license that can be // Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file. // found in the LICENSE file.
// #import {OsSettingsRoutes} from './os_settings_routes.m.js'
Polymer({ Polymer({
is: 'settings-multidevice-smartlock-subpage', is: 'settings-multidevice-smartlock-subpage',
......
...@@ -7,13 +7,6 @@ ...@@ -7,13 +7,6 @@
* the "dictionary" of custom words used for spell check. * the "dictionary" of custom words used for spell check.
*/ */
// clang-format off
// #import {GlobalScrollTargetBehavior} from '../../global_scroll_target_behavior.m.js';
// #import {loadTimeData} from '../../i18n_setup.js';
// #import {PrefsBehavior} from '../../prefs/prefs_behavior.m.js';
// #import {LanguagesBrowserProxyImpl} from '../../languages_page/languages_browser_proxy.m.js';
// clang-format on
// Max valid word size, keep in sync with kMaxCustomDictionaryWordBytes in // Max valid word size, keep in sync with kMaxCustomDictionaryWordBytes in
// //components/spellcheck/common/spellcheck_common.h // //components/spellcheck/common/spellcheck_common.h
const MAX_CUSTOM_DICTIONARY_WORD_BYTES = 99; const MAX_CUSTOM_DICTIONARY_WORD_BYTES = 99;
......
...@@ -2,8 +2,6 @@ ...@@ -2,8 +2,6 @@
// Use of this source code is governed by a BSD-style license that can be // Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file. // found in the LICENSE file.
// #import {CrLottieElement} from '../cr_lottie/cr_lottie.m.js';
/** @type {string} */ /** @type {string} */
/* #export */ const FINGEPRINT_TICK_DARK_URL = /* #export */ const FINGEPRINT_TICK_DARK_URL =
'chrome://theme/IDR_FINGERPRINT_COMPLETE_TICK_DARK'; 'chrome://theme/IDR_FINGERPRINT_COMPLETE_TICK_DARK';
......
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