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

Unified Diff: chrome/browser/sync/resources/choose_datatypes.html

Issue 2878012: Revert 50902 - New HTML Sync Setup UI.... (Closed) Base URL: svn://svn.chromium.org/chrome/branches/450/src/
Patch Set: Created 10 years, 6 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 side-by-side diff with in-line comments
Download patch
« no previous file with comments | « chrome/browser/sync/profile_sync_service.cc ('k') | chrome/browser/sync/resources/gaia_login.html » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/browser/sync/resources/choose_datatypes.html
===================================================================
--- chrome/browser/sync/resources/choose_datatypes.html (revision 51166)
+++ chrome/browser/sync/resources/choose_datatypes.html (working copy)
@@ -102,15 +102,6 @@
document.getElementById("extensionsCheckbox").style.display = "none";
document.getElementById("extensionsCheckboxLabel").style.display = "none";
}
- if (args.typedUrlsRegistered) {
- document.getElementById("typedUrlsCheckbox").checked = args.syncTypedUrls;
- document.getElementById("typedUrlsCheckbox").style.display = "inline";
- document.getElementById("typedUrlsCheckboxLabel").style.display =
- "inline";
- } else {
- document.getElementById("typedUrlsCheckbox").style.display = "none";
- document.getElementById("typedUrlsCheckboxLabel").style.display = "none";
- }
}
function setDataTypeCheckboxesEnabled(enabled) {
@@ -120,7 +111,6 @@
document.getElementById("passwordsCheckbox").disabled = !enabled;
document.getElementById("autofillCheckbox").disabled = !enabled;
document.getElementById("extensionsCheckbox").disabled = !enabled;
- document.getElementById("typedUrlsCheckbox").disabled = !enabled;
}
function advanceThrobber() {
@@ -153,8 +143,7 @@
"syncThemes": syncAll || f.themesCheckbox.checked,
"syncPasswords": syncAll || f.passwordsCheckbox.checked,
"syncAutofill": syncAll || f.autofillCheckbox.checked,
- "syncExtensions": syncAll || f.extensionsCheckbox.checked,
- "syncTypedUrls": syncAll || f.typedUrlsCheckbox.checked
+ "syncExtensions": syncAll || f.extensionsCheckbox.checked
});
chrome.send("ChooseDataTypes", [result]);
}
@@ -189,8 +178,8 @@
<label id="bookmarksCheckboxLabel" for="bookmarksCheckbox" i18n-content="bookmarks"></label>
</td>
<td>
- <input id="autofillCheckbox" type="checkbox"/>
- <label id="autofillCheckboxLabel" for="autofillCheckbox" i18n-content="autofill"></label>
+ <input id="passwordsCheckbox" type="checkbox"/>
+ <label id="passwordsCheckboxLabel" for="passwordsCheckbox" i18n-content="passwords"></label>
</td>
</tr>
<tr>
@@ -199,8 +188,8 @@
<label id="preferencesCheckboxLabel" for="preferencesCheckbox" i18n-content="preferences"></label>
</td>
<td>
- <input id="extensionsCheckbox" type="checkbox"/>
- <label id="extensionsCheckboxLabel" for="extensionsCheckbox" i18n-content="extensions"></label>
+ <input id="autofillCheckbox" type="checkbox"/>
+ <label id="autofillCheckboxLabel" for="autofillCheckbox" i18n-content="autofill"></label>
</td>
</tr>
<tr>
@@ -209,18 +198,10 @@
<label id="themesCheckboxLabel" for="themesCheckbox" i18n-content="themes"></label>
</td>
<td>
- <input id="typedUrlsCheckbox" type="checkbox"/>
- <label id="typedUrlsCheckboxLabel" for="typedUrlsCheckbox" i18n-content="typedurls"></label>
+ <input id="extensionsCheckbox" type="checkbox"/>
+ <label id="extensionsCheckboxLabel" for="extensionsCheckbox" i18n-content="extensions"></label>
</td>
</tr>
- <tr>
- <td>
- <input id="passwordsCheckbox" type="checkbox"/>
- <label id="passwordsCheckboxLabel" for="passwordsCheckbox" i18n-content="passwords"></label>
- </td>
- <td>
- </td>
- </tr>
</table>
</td>
</tr>
« no previous file with comments | « chrome/browser/sync/profile_sync_service.cc ('k') | chrome/browser/sync/resources/gaia_login.html » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698