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

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

Issue 2861443003: MD Settings: Fix subpage visibility and add appearance page tests (Closed)
Patch Set: Restore showPage_ Created 3 years, 7 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/cr_dialog/cr_dialog.html "> 2 <link rel="import" href="chrome://resources/cr_elements/cr_dialog/cr_dialog.html ">
3 <link rel="import" href="chrome://resources/cr_elements/policy/cr_policy_vars_cs s.html"> 3 <link rel="import" href="chrome://resources/cr_elements/policy/cr_policy_vars_cs s.html">
4 <link rel="import" href="chrome://resources/html/assert.html"> 4 <link rel="import" href="chrome://resources/html/assert.html">
5 <link rel="import" href="chrome://resources/html/cr/ui/focus_without_ink.html"> 5 <link rel="import" href="chrome://resources/html/cr/ui/focus_without_ink.html">
6 <link rel="import" href="chrome://resources/html/i18n_behavior.html"> 6 <link rel="import" href="chrome://resources/html/i18n_behavior.html">
7 <link rel="import" href="chrome://resources/html/web_ui_listener_behavior.html"> 7 <link rel="import" href="chrome://resources/html/web_ui_listener_behavior.html">
8 <link rel="import" href="chrome://resources/polymer/v1_0/neon-animation/neon-ani matable.html"> 8 <link rel="import" href="chrome://resources/polymer/v1_0/neon-animation/neon-ani matable.html">
9 <link rel="import" href="chrome://resources/polymer/v1_0/paper-button/paper-butt on.html"> 9 <link rel="import" href="chrome://resources/polymer/v1_0/paper-button/paper-butt on.html">
10 <link rel="import" href="chrome://resources/polymer/v1_0/paper-icon-button/paper -icon-button-light.html"> 10 <link rel="import" href="chrome://resources/polymer/v1_0/paper-icon-button/paper -icon-button-light.html">
(...skipping 37 matching lines...) Expand 10 before | Expand all | Expand 10 after
48 <neon-animatable route-path="default"> 48 <neon-animatable route-path="default">
49 <div class="settings-box first"> 49 <div class="settings-box first">
50 <p class="privacy-explanation">$i18nRaw{improveBrowsingExperience}</p> 50 <p class="privacy-explanation">$i18nRaw{improveBrowsingExperience}</p>
51 </div> 51 </div>
52 <div class="settings-box"> 52 <div class="settings-box">
53 <settings-toggle-button class="start" 53 <settings-toggle-button class="start"
54 pref="{{prefs.alternate_error_pages.enabled}}" 54 pref="{{prefs.alternate_error_pages.enabled}}"
55 label="$i18n{linkDoctorPref}"> 55 label="$i18n{linkDoctorPref}">
56 </settings-toggle-button> 56 </settings-toggle-button>
57 </div> 57 </div>
58 <div class="settings-box" hidden="[[!pageVisibility.searchPrediction]]"> 58 <div class="settings-box"
59 hidden="[[!showPage_(pageVisibility.searchPrediction)]]">
59 <settings-toggle-button class="start" 60 <settings-toggle-button class="start"
60 pref="{{prefs.search.suggest_enabled}}" 61 pref="{{prefs.search.suggest_enabled}}"
61 label="$i18n{searchSuggestPref}"> 62 label="$i18n{searchSuggestPref}">
62 </settings-toggle-button> 63 </settings-toggle-button>
63 </div> 64 </div>
64 <div class="settings-box" 65 <div class="settings-box"
65 hidden="[[!pageVisibility.networkPrediction]]"> 66 hidden="[[!showPage_(pageVisibility.networkPrediction)]]">
66 <settings-toggle-button class="start" 67 <settings-toggle-button class="start"
67 pref="{{prefs.net.network_prediction_options}}" 68 pref="{{prefs.net.network_prediction_options}}"
68 label="$i18n{networkPredictionEnabled}" 69 label="$i18n{networkPredictionEnabled}"
69 numeric-unchecked-value="[[networkPredictionEnum_.NEVER]]"> 70 numeric-unchecked-value="[[networkPredictionEnum_.NEVER]]">
70 </settings-toggle-button> 71 </settings-toggle-button>
71 </div> 72 </div>
72 <div class="settings-box"> 73 <div class="settings-box">
73 <settings-toggle-button class="start" 74 <settings-toggle-button class="start"
74 id="safeBrowsingExtendedReportingControl" 75 id="safeBrowsingExtendedReportingControl"
75 pref="[[safeBrowsingExtendedReportingPref_]]" 76 pref="[[safeBrowsingExtendedReportingPref_]]"
(...skipping 416 matching lines...) Expand 10 before | Expand all | Expand 10 after
492 category="{{ContentSettingsTypes.PROTECTED_CONTENT}}"> 493 category="{{ContentSettingsTypes.PROTECTED_CONTENT}}">
493 </category-setting-exceptions> 494 </category-setting-exceptions>
494 </template> 495 </template>
495 </if> 496 </if>
496 </settings-subpage> 497 </settings-subpage>
497 </template> 498 </template>
498 </settings-animated-pages> 499 </settings-animated-pages>
499 </template> 500 </template>
500 <script src="privacy_page.js"></script> 501 <script src="privacy_page.js"></script>
501 </dom-module> 502 </dom-module>
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698