File: ai_page.html

package info (click to toggle)
chromium 139.0.7258.127-1
  • links: PTS, VCS
  • area: main
  • in suites:
  • size: 6,122,068 kB
  • sloc: cpp: 35,100,771; ansic: 7,163,530; javascript: 4,103,002; python: 1,436,920; asm: 946,517; xml: 746,709; pascal: 187,653; perl: 88,691; sh: 88,436; objc: 79,953; sql: 51,488; cs: 44,583; fortran: 24,137; makefile: 22,147; tcl: 15,277; php: 13,980; yacc: 8,984; ruby: 7,485; awk: 3,720; lisp: 3,096; lex: 1,327; ada: 727; jsp: 228; sed: 36
file content (96 lines) | stat: -rw-r--r-- 4,148 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
<style include="cr-shared-style settings-shared"></style>

<!-- TODO(crbug.com/362225975): Remove V2 suffixes. -->
<settings-animated-pages id="pages" section="ai"
    focus-config="[[focusConfig_]]">
  <div route-path="default">
    <cr-link-row id="passwordChangeRowV2" class="hr"
        hidden="[[!showPasswordChangeControl_]]"
        start-icon="cr20:password"
        label="$i18n{passwordChangeSettingLabel}"
        sub-label="$i18n{passwordChangeSettingSubLabel}"
        on-click="onPasswordChangeRowClick_" external>
    </cr-link-row>
    <cr-link-row id="autofillAiRowV2" class="hr"
        hidden="[[!showAutofillAiControl_]]"
        start-icon="settings20:text-analysis"
        label="$i18n{autofillAiPageTitle}"
        sub-label="$i18n{autofillAiDescription}"
        role-description="$i18n{subpageArrowRoleDescription}"
        on-click="onAutofillAiRowClick_">
    </cr-link-row>
    <cr-link-row id="historySearchRowV2" class="hr"
        hidden="[[!showHistorySearchControl_]]"
        start-icon="settings20:search-spark"
        label="$i18n{historySearchSettingLabel}"
        sub-label="[[getHistorySearchSublabel_(
          prefs.optimization_guide.history_search_setting_state.value)]]"
        role-description="$i18n{subpageArrowRoleDescription}"
        on-click="onHistorySearchRowClick_">
    </cr-link-row>
    <cr-link-row id="compareRowV2" class="hr"
        hidden="[[!showCompareControl_]]"
        start-icon="settings20:table-chart-organize"
        label="$i18n{aiCompareLabel}"
        sub-label="$i18n{aiCompareSublabel}"
        role-description="$i18n{subpageArrowRoleDescription}"
        on-click="onCompareRowClick_">
    </cr-link-row>
    <cr-link-row id="composeRowV2" class="hr"
        hidden="[[!showComposeControl_]]"
        start-icon="settings20:pen-spark"
        label="$i18n{aiComposeLabel}"
        sub-label="$i18n{aiComposeSublabelV2}"
        role-description="$i18n{subpageArrowRoleDescription}"
        on-click="onComposeRowClick_">
    </cr-link-row>
    <cr-link-row id="tabOrganizationRowV2" class="hr"
        hidden="[[!showTabOrganizationControl_]]"
        start-icon="settings20:auto-tab-group"
        label="$i18n{tabOrganizationSettingLabel}"
        sub-label="$i18n{tabOrganizationSettingSublabelV2}"
        role-description="$i18n{subpageArrowRoleDescription}"
        on-click="onTabOrganizationRowClick_">
    </cr-link-row>
  </div>
  <template is="dom-if" if="[[showHistorySearchControl_]]">
    <template is="dom-if" route-path="/ai/historySearch">
      <settings-subpage id="historySearch"
          associated-control="[[$$('#historySearchRowV2')]]"
          page-title="$i18n{historySearchSettingLabel}">
        <settings-history-search-page prefs="{{prefs}}">
        </settings-history-search-page>
      </settings-subpage>
    </template>
  </template>
  <template is="dom-if" if="[[showCompareControl_]]">
    <template is="dom-if" route-path="/ai/compareProducts">
      <settings-subpage id="compare"
          associated-control="[[$$('#compareRowV2')]]"
          page-title="$i18n{aiCompareLabel}">
        <settings-ai-compare-subpage prefs="{{prefs}}">
        </settings-ai-compare-subpage>
      </settings-subpage>
    </template>
  </template>
  <template is="dom-if" if="[[showComposeControl_]]">
    <template is="dom-if" route-path="/ai/helpMeWrite">
      <settings-subpage id="compose"
          associated-control="[[$$('#composeRowV2')]]"
          page-title="$i18n{aiComposeLabel}">
        <settings-offer-writing-help-page prefs="{{prefs}}">
        </settings-offer-writing-help-page>
      </settings-subpage>
    </template>
  </template>
  <template is="dom-if" if="[[showTabOrganizationControl_]]">
    <template is="dom-if" route-path="/ai/tabOrganizer">
      <settings-subpage id="tabOrganization"
          associated-control="[[$$('#tabOrganizationRowV2')]]"
          page-title="$i18n{tabOrganizationSettingLabel}">
        <settings-ai-tab-organization-subpage prefs="{{prefs}}">
        </settings-ai-tab-organization-subpage>
      </settings-subpage>
    </template>
  </template>
</settings-animated-pages>