OLD | NEW |
1 <link rel="import" href="chrome://resources/html/i18n_behavior.html"> | 1 <link rel="import" href="chrome://resources/html/i18n_behavior.html"> |
2 <link rel="import" href="chrome://resources/html/md_select_css.html"> | 2 <link rel="import" href="chrome://resources/html/md_select_css.html"> |
3 <link rel="import" href="chrome://resources/html/polymer.html"> | 3 <link rel="import" href="chrome://resources/html/polymer.html"> |
4 <link rel="import" href="chrome://resources/polymer/v1_0/neon-animation/neon-ani
matable.html"> | 4 <link rel="import" href="chrome://resources/polymer/v1_0/neon-animation/neon-ani
matable.html"> |
5 <link rel="import" href="chrome://resources/polymer/v1_0/paper-button/paper-butt
on.html"> | 5 <link rel="import" href="chrome://resources/polymer/v1_0/paper-button/paper-butt
on.html"> |
6 <link rel="import" href="chrome://resources/polymer/v1_0/paper-icon-button/paper
-icon-button-light.html"> | 6 <link rel="import" href="chrome://resources/polymer/v1_0/paper-icon-button/paper
-icon-button-light.html"> |
7 <link rel="import" href="../controls/extension_controlled_indicator.html"> | 7 <link rel="import" href="../controls/extension_controlled_indicator.html"> |
8 <link rel="import" href="../controls/settings_toggle_button.html"> | 8 <link rel="import" href="../controls/settings_toggle_button.html"> |
9 <link rel="import" href="../icons.html"> | 9 <link rel="import" href="../icons.html"> |
10 <link rel="import" href="../i18n_setup.html"> | 10 <link rel="import" href="../i18n_setup.html"> |
(...skipping 62 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
73 <div class="settings-box continuation indented"> | 73 <div class="settings-box continuation indented"> |
74 <settings-toggle-button id="googleNowEnable" class="start" | 74 <settings-toggle-button id="googleNowEnable" class="start" |
75 pref="{{prefs.google_now_launcher.enabled}}" | 75 pref="{{prefs.google_now_launcher.enabled}}" |
76 label="$i18n{searchEnableGoogleNowLabel}"> | 76 label="$i18n{searchEnableGoogleNowLabel}"> |
77 </settings-toggle-button> | 77 </settings-toggle-button> |
78 </div> | 78 </div> |
79 </template> | 79 </template> |
80 | 80 |
81 <template is="dom-if" if="[[hotwordInfo_.allowed]]"> | 81 <template is="dom-if" if="[[hotwordInfo_.allowed]]"> |
82 <!-- Hotword (OK Google) --> | 82 <!-- Hotword (OK Google) --> |
83 <div class="settings-box two-line continuation"> | 83 <div class="settings-box two-line continuation indented"> |
84 <settings-toggle-button id="hotwordSearchEnable" class="start" | 84 <settings-toggle-button id="hotwordSearchEnable" class="start" |
85 pref="{{hotwordSearchEnablePref_}}" | 85 pref="{{hotwordSearchEnablePref_}}" |
86 label="$i18n{searchOkGoogleLabel}" | 86 label="$i18n{searchOkGoogleLabel}" |
87 sub-label="[[getHotwordSearchEnableSubLabel_( | 87 sub-label="[[getHotwordSearchEnableSubLabel_( |
88 hotwordInfo_.alwaysOn)]]" | 88 hotwordInfo_.alwaysOn)]]" |
89 on-change="onHotwordSearchEnableChange_"> | 89 on-change="onHotwordSearchEnableChange_"> |
90 </settings-toggle-button> | 90 </settings-toggle-button> |
91 <div class="secondary-action" | 91 <div class="secondary-action" |
92 hidden$="[[!getShowHotwordSearchRetrain_(hotwordInfo_.*)]]"> | 92 hidden$="[[!getShowHotwordSearchRetrain_(hotwordInfo_.*)]]"> |
93 <paper-button on-tap="onRetrainTap_" class="secondary-button"> | 93 <paper-button on-tap="onRetrainTap_" class="secondary-button"> |
(...skipping 43 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
137 <settings-subpage | 137 <settings-subpage |
138 associated-control="[[$$('#subpage-trigger')]]" | 138 associated-control="[[$$('#subpage-trigger')]]" |
139 page-title="$i18n{searchEnginesManage}"> | 139 page-title="$i18n{searchEnginesManage}"> |
140 <settings-search-engines-page></settings-search-engines-page> | 140 <settings-search-engines-page></settings-search-engines-page> |
141 </settings-subpage> | 141 </settings-subpage> |
142 </template> | 142 </template> |
143 </settings-animated-pages> | 143 </settings-animated-pages> |
144 </template> | 144 </template> |
145 <script src="search_page.js"></script> | 145 <script src="search_page.js"></script> |
146 </dom-module> | 146 </dom-module> |
OLD | NEW |