File: multidevice_subpage.html

package info (click to toggle)
chromium 138.0.7204.183-1~deb12u1
  • links: PTS, VCS
  • area: main
  • in suites: bookworm-proposed-updates
  • size: 6,080,960 kB
  • sloc: cpp: 34,937,079; ansic: 7,176,967; javascript: 4,110,704; python: 1,419,954; asm: 946,768; xml: 739,971; pascal: 187,324; sh: 89,623; perl: 88,663; objc: 79,944; sql: 50,304; cs: 41,786; fortran: 24,137; makefile: 21,811; php: 13,980; tcl: 13,166; yacc: 8,925; ruby: 7,485; awk: 3,720; lisp: 3,096; lex: 1,327; ada: 727; jsp: 228; sed: 36
file content (170 lines) | stat: -rw-r--r-- 6,874 bytes parent folder | download | duplicates (5)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
<style include="settings-shared iron-flex">
  settings-multidevice-feature-item,
  settings-multidevice-tether-item {
    --feature-item-row-padding: 0;
  }

  settings-multidevice-feature-item:first-of-type {
    --feature-item-border-top-style: none;
  }

  cr-button {
    white-space: nowrap;
  }

  #feature-items-container {
    padding-inline-start: var(--cr-section-indent-padding);
  }
</style>
<div class="settings-box first">
  <div id="status-text-container"
      class="start"
      enabled$="[[isSuiteOn(pageContentData)]]"
      inner-h-t-m-l="[[getStatusInnerHtml_(pageContentData)]]">
  </div>
    <template is="dom-if" if="[[shouldShowVerifyButton_(pageContentData)]]"
        restamp>
      <cr-button
        aria-label="$i18n{multideviceVerifyButtonA11yLabel}"
        on-click="handleVerifyButtonClick_">
        $i18n{multideviceVerifyButton}
      </cr-button>
    </template>
    <template is="dom-if" if="[[shouldShowSuiteToggle_(pageContentData)]]"
        restamp>
      <settings-multidevice-feature-toggle
          toggle-aria-label="$i18n{multideviceSuiteToggleA11yLabel}"
          feature="[[MultiDeviceFeature.BETTER_TOGETHER_SUITE]]"
          page-content-data="[[pageContentData]]"
          deep-link-focus-id$="[[Setting.kMultiDeviceOnOff]]">
      </settings-multidevice-feature-toggle>
    </template>
</div>
<template is="dom-if"
    if="[[shouldShowIndividualFeatures_(pageContentData)]]"
    restamp>
  <div id="feature-items-container">
    <template is="dom-if"
        if="[[isFeatureSupported(
            MultiDeviceFeature.SMART_LOCK, pageContentData)]]"
        restamp>
      <settings-multidevice-feature-item id="smartLockItem"
          feature="[[MultiDeviceFeature.SMART_LOCK]]"
          page-content-data="[[pageContentData]]"
          deep-link-focus-id$="[[Setting.kSmartLockOnOff]]">
      </settings-multidevice-feature-item>
    </template>
    <template is="dom-if"
        if="[[isFeatureSupported(
            MultiDeviceFeature.INSTANT_TETHERING, pageContentData)]]"
        restamp>
      <settings-multidevice-tether-item id="instantTetheringItem"
          page-content-data="[[pageContentData]]"
          deep-link-focus-id$="[[Setting.kInstantTetheringOnOff]]">
      </settings-multidevice-tether-item>
    </template>
    <template is="dom-if"
        if="[[isFeatureSupported(
            MultiDeviceFeature.PHONE_HUB, pageContentData)]]"
        restamp>
      <settings-multidevice-feature-item id="phoneHubItem"
          feature="[[MultiDeviceFeature.PHONE_HUB]]"
          page-content-data="[[pageContentData]]"
          deep-link-focus-id$="[[Setting.kPhoneHubOnOff]]">
      </settings-multidevice-feature-item>
    </template>
    <template is="dom-if"
        if="[[isFeatureSupported(
            MultiDeviceFeature.PHONE_HUB_TASK_CONTINUATION,
            pageContentData)]]"
        restamp>
      <settings-multidevice-task-continuation-item
          id="phoneHubTaskContinuationItem"
          page-content-data="[[pageContentData]]"
          deep-link-focus-id$="[[Setting.kPhoneHubTaskContinuationOnOff]]">
      </settings-multidevice-task-continuation-item>
    </template>
    <template is="dom-if"
        if="[[shouldShowPhoneHubCameraRollItem_(pageContentData)]]"
        restamp>
      <settings-multidevice-feature-item id="phoneHubCameraRollItem"
          feature="[[MultiDeviceFeature.PHONE_HUB_CAMERA_ROLL]]"
          page-content-data="[[pageContentData]]" is-sub-feature
          deep-link-focus-id$="[[Setting.kPhoneHubCameraRollOnOff]]">
        <template is="dom-if"
            if="[[isPhoneHubCameraRollSetupRequired(pageContentData)]]"
            restamp>
          <cr-button on-click="handleCameraRollSetupClicked_"
              slot="feature-controller"
              disabled="[[isPhoneHubDisabled_(pageContentData)]]">
            $i18n{multideviceSetupButton}
          </cr-button>
        </template>
      </settings-multidevice-feature-item>
    </template>
    <template is="dom-if"
        if="[[shouldShowPhoneHubNotificationsItem_(pageContentData)]]"
        restamp>
      <settings-multidevice-feature-item id="phoneHubNotificationsItem"
          feature="[[MultiDeviceFeature.PHONE_HUB_NOTIFICATIONS]]"
          icon-tooltip="[[getPhoneHubNotificationsTooltip_(
                              pageContentData)]]"
          icon="cr:domain"
          page-content-data="[[pageContentData]]" is-sub-feature
          deep-link-focus-id$="[[Setting.kPhoneHubNotificationsOnOff]]">
        <template is="dom-if"
            if="[[isPhoneHubNotificationsSetupRequired(pageContentData)]]"
            restamp>
          <cr-button on-click="handleNotificationSetupClicked_"
              slot="feature-controller"
              disabled="[[isPhoneHubDisabled_(pageContentData)]]">
            $i18n{multideviceSetupButton}
          </cr-button>
        </template>
      </settings-multidevice-feature-item>
    </template>
    <template is="dom-if"
        if="[[shouldShowPhoneHubAppsItem_(pageContentData)]]"
        restamp>
      <settings-multidevice-feature-item id="phoneHubAppsItem"
          feature="[[MultiDeviceFeature.ECHE]]"
          icon-tooltip="[[getPhoneHubAppsTooltip_(
                              pageContentData)]]"
          icon="cr:domain"
          page-content-data="[[pageContentData]]" is-sub-feature
          deep-link-focus-id$="[[Setting.kPhoneHubAppsOnOff]]">
        <template is="dom-if"
            if="[[isPhoneHubAppsSetupRequired(pageContentData)]]"
            restamp>
          <cr-button on-click="handleMessagingAppSetupClicked_"
              slot="feature-controller"
              disabled="[[isPhoneHubDisabled_(pageContentData)]]">
            $i18n{multideviceSetupButton}
          </cr-button>
        </template>
      </settings-multidevice-feature-item>
    </template>
    <template is="dom-if"
        if="[[shouldShowPhoneHubCombinedSetupItem_(pageContentData)]]"
        restamp>
      <settings-multidevice-combined-setup-item
          id="phoneHubCombinedSetupItem"
          camera-roll="[[isPhoneHubCameraRollSetupRequired(
                            pageContentData)]]"
          notifications="[[isPhoneHubNotificationsSetupRequired(
                            pageContentData)]]"
          app-streaming="[[isPhoneHubAppsSetupRequired(pageContentData)]]"
          page-content-data="[[pageContentData]]">
      </settings-multidevice-combined-setup-item>
    </template>
    <template is="dom-if"
        if="[[isFeatureSupported(
            MultiDeviceFeature.WIFI_SYNC, pageContentData)]]"
        restamp>
      <settings-multidevice-wifi-sync-item id="wifiSyncItem"
          page-content-data="[[pageContentData]]"
          deep-link-focus-id$="[[Setting.kWifiSyncOnOff]]">
      </settings-multidevice-wifi-sync-item>
    </template>
  </div>
</template>