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

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

Issue 2692213005: Reland: MD Settings: Fix the Network Prediction toggle box. (Closed)
Patch Set: Address comments Created 3 years, 10 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
1 <link rel="import" href="chrome://resources/html/polymer.html"> 1 <link rel="import" href="chrome://resources/html/polymer.html">
2 <link rel="import" href="chrome://resources/cr_elements/policy/cr_policy_vars_cs s.html"> 2 <link rel="import" href="chrome://resources/cr_elements/policy/cr_policy_vars_cs s.html">
3 <link rel="import" href="chrome://resources/html/i18n_behavior.html"> 3 <link rel="import" href="chrome://resources/html/i18n_behavior.html">
4 <link rel="import" href="chrome://resources/html/web_ui_listener_behavior.html"> 4 <link rel="import" href="chrome://resources/html/web_ui_listener_behavior.html">
5 <link rel="import" href="chrome://resources/polymer/v1_0/iron-flex-layout/iron-f lex-layout-classes.html"> 5 <link rel="import" href="chrome://resources/polymer/v1_0/iron-flex-layout/iron-f lex-layout-classes.html">
6 <link rel="import" href="chrome://resources/polymer/v1_0/neon-animation/neon-ani matable.html"> 6 <link rel="import" href="chrome://resources/polymer/v1_0/neon-animation/neon-ani matable.html">
7 <link rel="import" href="chrome://resources/polymer/v1_0/paper-button/paper-butt on.html"> 7 <link rel="import" href="chrome://resources/polymer/v1_0/paper-button/paper-butt on.html">
8 <link rel="import" href="chrome://resources/polymer/v1_0/paper-icon-button/paper -icon-button-light.html"> 8 <link rel="import" href="chrome://resources/polymer/v1_0/paper-icon-button/paper -icon-button-light.html">
9 <link rel="import" href="../clear_browsing_data_dialog/clear_browsing_data_dialo g.html"> 9 <link rel="import" href="../clear_browsing_data_dialog/clear_browsing_data_dialo g.html">
10 <link rel="import" href="../controls/settings_toggle_button.html"> 10 <link rel="import" href="../controls/settings_toggle_button.html">
(...skipping 47 matching lines...) Expand 10 before | Expand all | Expand 10 after
58 <div class="settings-box" hidden="[[!pageVisibility.searchPrediction]]"> 58 <div class="settings-box" hidden="[[!pageVisibility.searchPrediction]]">
59 <settings-toggle-button class="start" 59 <settings-toggle-button class="start"
60 pref="{{prefs.search.suggest_enabled}}" 60 pref="{{prefs.search.suggest_enabled}}"
61 label="$i18n{searchSuggestPref}"> 61 label="$i18n{searchSuggestPref}">
62 </settings-toggle-button> 62 </settings-toggle-button>
63 </div> 63 </div>
64 <div class="settings-box" 64 <div class="settings-box"
65 hidden="[[!pageVisibility.networkPrediction]]"> 65 hidden="[[!pageVisibility.networkPrediction]]">
66 <settings-toggle-button class="start" 66 <settings-toggle-button class="start"
67 pref="{{prefs.net.network_prediction_options}}" 67 pref="{{prefs.net.network_prediction_options}}"
68 label="$i18n{networkPredictionEnabled}"> 68 label="$i18n{networkPredictionEnabled}"
69 numeric-unchecked-value="[[networkPredictionEnum_.NEVER]]">
69 </settings-toggle-button> 70 </settings-toggle-button>
70 </div> 71 </div>
71 <div class="settings-box"> 72 <div class="settings-box">
72 <settings-toggle-button class="start" 73 <settings-toggle-button class="start"
73 id="safeBrowsingExtendedReportingControl" 74 id="safeBrowsingExtendedReportingControl"
74 pref="[[safeBrowsingExtendedReportingPref_]]" 75 pref="[[safeBrowsingExtendedReportingPref_]]"
75 label="$i18n{safeBrowsingEnableExtendedReporting}" 76 label="$i18n{safeBrowsingEnableExtendedReporting}"
76 on-settings-boolean-control-change="onSberChange_" 77 on-settings-boolean-control-change="onSberChange_"
77 no-set-pref> 78 no-set-pref>
78 </settings-toggle-button> 79 </settings-toggle-button>
(...skipping 364 matching lines...) Expand 10 before | Expand all | Expand 10 after
443 category="{{ContentSettingsTypes.PROTECTED_CONTENT}}"> 444 category="{{ContentSettingsTypes.PROTECTED_CONTENT}}">
444 </category-setting-exceptions> 445 </category-setting-exceptions>
445 </template> 446 </template>
446 </if> 447 </if>
447 </settings-subpage> 448 </settings-subpage>
448 </template> 449 </template>
449 </settings-animated-pages> 450 </settings-animated-pages>
450 </template> 451 </template>
451 <script src="privacy_page.js"></script> 452 <script src="privacy_page.js"></script>
452 </dom-module> 453 </dom-module>
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698