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

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

Issue 1241363002: Settings Rewrite: Make a common settings-section component. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@0300-webui-settings-structure
Patch Set: Created 5 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
1 <link rel="import" href="chrome://resources/polymer/v1_0/polymer/polymer.html"> 1 <link rel="import" href="chrome://resources/polymer/v1_0/polymer/polymer.html">
2 <link rel="import" href="chrome://resources/polymer/v1_0/paper-material/paper-ma terial.html"> 2 <link rel="import" href="chrome://resources/polymer/v1_0/paper-material/paper-ma terial.html">
3 <link rel="import" href="chrome://resources/polymer/v1_0/paper-radio-button/pape r-radio-button.html"> 3 <link rel="import" href="chrome://resources/polymer/v1_0/paper-radio-button/pape r-radio-button.html">
4 <link rel="import" href="chrome://resources/polymer/v1_0/paper-radio-group/paper -radio-group.html"> 4 <link rel="import" href="chrome://resources/polymer/v1_0/paper-radio-group/paper -radio-group.html">
5 <link rel="import" href="chrome://resources/cr_elements/v1_0/cr_button/cr_button .html"> 5 <link rel="import" href="chrome://resources/cr_elements/v1_0/cr_button/cr_button .html">
6 <link rel="import" href="chrome://resources/cr_elements/v1_0/cr_checkbox/cr_chec kbox.html"> 6 <link rel="import" href="chrome://resources/cr_elements/v1_0/cr_checkbox/cr_chec kbox.html">
7 <link rel="import" href="chrome://md-settings/checkbox/checkbox.html"> 7 <link rel="import" href="chrome://md-settings/checkbox/checkbox.html">
8 8
9 <dom-module id="cr-settings-sync-page"> 9 <dom-module id="cr-settings-sync-page">
10 <link rel="import" type="css"
11 href="chrome://md-settings/settings_page/settings_page.css">
12 <link rel="import" type="css" href="sync_page.css"> 10 <link rel="import" type="css" href="sync_page.css">
13 <template> 11 <template>
14 <paper-material> 12 <cr-settings-section page-title="[[pageTitle]]" icon="[[icon]]">
15 <div i18n-content="syncPageTitle"></div> 13 <div i18n-content="syncPageTitle"></div>
16 <select> 14 <select>
17 <option value="sync-everything" 15 <option value="sync-everything"
18 i18n-content="syncEverythingMenuOption"> 16 i18n-content="syncEverythingMenuOption">
19 </option> 17 </option>
20 <option value="choose-what-to-sync" 18 <option value="choose-what-to-sync"
21 i18n-content="chooseWhatToSyncMenuOption"> 19 i18n-content="chooseWhatToSyncMenuOption">
22 </option> 20 </option>
23 </select> 21 </select>
24 <div class="checkbox-container"> 22 <div class="checkbox-container">
(...skipping 24 matching lines...) Expand all
49 <span i18n-content="bookmarksCheckboxLabel"></span> 47 <span i18n-content="bookmarksCheckboxLabel"></span>
50 </cr-checkbox> 48 </cr-checkbox>
51 <cr-checkbox> 49 <cr-checkbox>
52 <span i18n-content="passwordsCheckboxLabel"></span> 50 <span i18n-content="passwordsCheckboxLabel"></span>
53 </cr-checkbox> 51 </cr-checkbox>
54 <cr-checkbox> 52 <cr-checkbox>
55 <span i18n-content="openTabsCheckboxLabel"></span> 53 <span i18n-content="openTabsCheckboxLabel"></span>
56 </cr-checkbox> 54 </cr-checkbox>
57 </div> 55 </div>
58 </div> 56 </div>
59 </paper-material>
60 <paper-material>
61 <div i18n-content="encryptionOptionsTitle"></div> 57 <div i18n-content="encryptionOptionsTitle"></div>
62 <div i18n-content="syncDataEncryptedText"></div> 58 <div i18n-content="syncDataEncryptedText"></div>
63 <paper-radio-group selected="encrypt-with-google"> 59 <paper-radio-group selected="encrypt-with-google">
64 <paper-radio-button name="encrypt-with-google" 60 <paper-radio-button name="encrypt-with-google"
65 i18n-content="encryptWithGoogleCredentialsLabel"> 61 i18n-content="encryptWithGoogleCredentialsLabel">
66 </paper-radio-button> 62 </paper-radio-button>
67 <paper-radio-button name="encrypt-with-passphrase" 63 <paper-radio-button name="encrypt-with-passphrase"
68 i18n-content="encryptWithSyncPassphraseLabel"> 64 i18n-content="encryptWithSyncPassphraseLabel">
69 </paper-radio-button> 65 </paper-radio-button>
70 </paper-radio-group> 66 </paper-radio-group>
71 <div> 67 <div>
72 <cr-button i18n-content="useDefaultSettingsButton"></cr-button> 68 <cr-button i18n-content="useDefaultSettingsButton"></cr-button>
73 <cr-button i18n-content="cancelButton"></cr-button> 69 <cr-button i18n-content="cancelButton"></cr-button>
74 <cr-button i18n-content="okButton"></cr-button> 70 <cr-button i18n-content="okButton"></cr-button>
75 </div> 71 </div>
76 </paper-material> 72 </cr-settings-section>
77 </template> 73 </template>
78 <script src="sync_page.js"></script> 74 <script src="sync_page.js"></script>
79 </dom-module> 75 </dom-module>
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698