Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(110)

Side by Side Diff: chrome/browser/resources/settings/google_assistant_page/google_assistant_page.html

Issue 2952463002: App list sync unit tests (Closed)
Patch Set: Add in dummy hooks for assistant settings launcher Created 3 years, 5 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
OLDNEW
(Empty)
1 <link rel="import" href="chrome://resources/html/polymer.html">
2
3 <link rel="import" href="chrome://resources/html/action_link.html">
4 <link rel="import" href="chrome://resources/html/action_link_css.html">
5 <link rel="import" href="chrome://resources/html/assert.html">
6 <link rel="import" href="chrome://resources/html/cr.html">
7 <link rel="import" href="chrome://resources/polymer/v1_0/paper-icon-button/paper -icon-button-light.html">
8 <link rel="import" href="google_assistant_browser_proxy.html">
9 <link rel="import" href="../settings_shared_css.html">
10
11 <dom-module id="settings-google-assistant-page">
12 <template>
13 <style include="settings-shared md-select action-link">
14 .highlighted-on {
15 color: var(--google-blue-500);
16 font-weight: 900
17 }
18 .highlighted-off {
19 color: var(--google-grey-900);
20 font-weight: 900
21 }
22 </style>
23 <div class="settings-box first">
24 <settings-toggle-button id="googleAssistantEnable"
25 class$="start
26 [[getAssistantOnOffClass_(prefs.settings.voice_interaction.enabled .value)]]"
27 pref="{{prefs.settings.voice_interaction.enabled}}"
28 label="[[getAssistantOnOffLabel_(
29 prefs.settings.voice_interaction.enabled.value)]]"
30 on-change="onGoogleAssistantEnableChange_">
31 </settings-toggle-button>
32 </div>
33 <template is="dom-if"
34 if="{{prefs.settings.voice_interaction.enabled.value}}">
35 <div class="settings-box continuation indented">
36 <settings-toggle-button id="googleAssistantContextEnable" class="start"
37 pref="{{prefs.settings.voice_interaction.context.enabled}}"
38 label="$i18n{googleAssistantEnableContext}"
39 sub-label="$i18n{googleAssistantEnableContextDescription}"
40 on-change="onGoogleAssistantContextEnableChange_">
41 </settings-toggle-button>
42 </div>
43 <div class="settings-box"
44 on-tap="onGoogleAssistantSettingsTapped_" actionable>
45 <div class="start">
46 $i18n{googleAssistantSettings}
47 </div>
48 <button class="icon-external" is="paper-icon-button-light">
49 </button>
50 </div>
51 </template>
52 </template>
53 <script src="google_assistant_page.js"></script>
54 </dom-module>
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698