chromium/chrome/browser/resources/settings/site_settings/pdf_documents.ts

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

/**
 * @fileoverview
 * 'settings-pdf-documents' is the polymer element for showing the
 * settings for viewing PDF documents under Site Settings.
 */

import '../controls/settings_toggle_button.js';
import '../settings_shared.css.js';

import {PolymerElement} from 'chrome://resources/polymer/v3_0/polymer/polymer_bundled.min.js';

import {getTemplate} from './pdf_documents.html.js';

class SettingsPdfDocumentsElement extends PolymerElement {
  static get is() {
    return 'settings-pdf-documents';
  }

  static get template() {
    return getTemplate();
  }

  static get properties() {
    return {
      prefs: {
        type: Object,
        notify: true,
      },
    };
  }
}

customElements.define(
    SettingsPdfDocumentsElement.is, SettingsPdfDocumentsElement);