<link rel="import" href="chrome://resources/html/polymer.html">
<link rel="import" href="chrome://resources/polymer/v1_0/paper-icon-button/paper-icon-button-light.html">
<link rel="import" href="/controls/settings_checkbox.html">
<link rel="import" href="/settings_shared_css.html">

<dom-module id="settings-cloud-printers">
  <template>
    <style include="settings-shared"></style>
    <div class="settings-box first">
      <span>
        $i18n{printingCloudPrintLearnMoreLabel}
        <a href="$i18n{printingCloudPrintLearnMoreUrl}" target="_blank">
          $i18n{learnMore}
        </a>
      </span>
    </div>
    <div class="settings-box">
      <settings-checkbox pref="{{prefs.local_discovery.notifications_enabled}}"
          label="$i18n{printingNotificationsLabel}"></settings-checkbox>
    </div>
    <div class="settings-box two-line" on-tap="onManageTap_" actionable>
      <div class="start">
        $i18n{printingManageCloudPrintDevices}
        <div class="secondary">
          $i18n{printingManageCloudPrintDevicesDescription}
        </div>
      </div>
      <button class="icon-external" is="paper-icon-button-light"></button>
    </div>
  </template>
  <script src="cloud_printers.js"></script>
</dom-module>
