chromium/components/sync/service/resources/sync_index.ts

// Copyright 2011 The Chromium Authors
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.

// <if expr="is_ios">
import 'chrome://resources/js/ios/web_ui.js';
// </if>

import 'chrome://resources/cr_elements/cr_tab_box/cr_tab_box.js';
import './about.js';
import './data.js';
import './sync_node_browser.js';
import './user_events.js';
import './traffic_log.js';
import './search.js';
import './strings.m.js';
import './invalidations.js';

import {assert} from 'chrome://resources/js/assert.js';

// Allow platform specific CSS rules.
//
// TODO(akalin): BMM and options page does something similar, too.
// Move this to util.js.
// <if expr="is_win">
document.documentElement.setAttribute('os', 'win');
// </if>

const tabBox = document.querySelector('cr-tab-box');
assert(tabBox);
tabBox.hidden = false;