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

Side by Side Diff: chrome/browser/resources/options/sync_section.html

Issue 171763004: Remove pp_ifdef from resource files in chrome/browser and chrome/renderer. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: rebase Created 6 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 | Annotate | Revision Log
OLDNEW
1 <if expr="not pp_ifdef('chromeos')"> 1 <if expr="not chromeos">
2 <section id="sync-section"> 2 <section id="sync-section">
3 <h3 i18n-content="sectionTitleSync"></h3> 3 <h3 i18n-content="sectionTitleSync"></h3>
4 </if> 4 </if>
5 <if expr="pp_ifdef('chromeos')"> 5 <if expr="chromeos">
6 <div id="sync-section"> 6 <div id="sync-section">
7 </if> 7 </if>
8 8
9 <div id="sync-overview" class="settings-row" hidden> 9 <div id="sync-overview" class="settings-row" hidden>
10 <p i18n-content="syncOverview"></p> 10 <p i18n-content="syncOverview"></p>
11 <a i18n-values="href:syncLearnMoreURL" i18n-content="learnMore" 11 <a i18n-values="href:syncLearnMoreURL" i18n-content="learnMore"
12 target="_blank"></a> 12 target="_blank"></a>
13 </div> 13 </div>
14 14
15 <if expr="pp_ifdef('chromeos')"> 15 <if expr="chromeos">
16 <div id="account-picture-wrapper"> 16 <div id="account-picture-wrapper">
17 <div id="account-picture-control"> 17 <div id="account-picture-control">
18 <input type="image" id="account-picture" tabindex="0" 18 <input type="image" id="account-picture" tabindex="0"
19 alt="" i18n-values="aria-label:changePicture"> 19 alt="" i18n-values="aria-label:changePicture">
20 <div id="change-picture-caption" i18n-content="changePicture"></div> 20 <div id="change-picture-caption" i18n-content="changePicture"></div>
21 </div> 21 </div>
22 <span id="account-picture-indicator" class="controlled-setting-indicator"> 22 <span id="account-picture-indicator" class="controlled-setting-indicator">
23 </span> 23 </span>
24 </div> 24 </div>
25 <div id="sync-general"> 25 <div id="sync-general">
26 </if> <!-- pp_ifdef('chromeos') --> 26 </if> <!-- chromeos -->
27 27
28 <div id="sync-status" class="settings-row" hidden> 28 <div id="sync-status" class="settings-row" hidden>
29 <span id="sync-status-text"></span> 29 <span id="sync-status-text"></span>
30 <button id="sync-action-link" class="link-button"></button> 30 <button id="sync-action-link" class="link-button"></button>
31 </div> 31 </div>
32 32
33 <if expr="pp_ifdef('chromeos')"> 33 <if expr="chromeos">
34 <div class="checkbox"> 34 <div class="checkbox">
35 <span class="controlled-setting-with-label"> 35 <span class="controlled-setting-with-label">
36 <input id="enable-screen-lock" type="checkbox" 36 <input id="enable-screen-lock" type="checkbox"
37 pref="settings.enable_screen_lock"> 37 pref="settings.enable_screen_lock">
38 <span> 38 <span>
39 <label for="enable-screen-lock" i18n-content="enableScreenlock"> 39 <label for="enable-screen-lock" i18n-content="enableScreenlock">
40 </label> 40 </label>
41 <span class="controlled-setting-indicator" 41 <span class="controlled-setting-indicator"
42 pref="settings.enable_screen_lock"> 42 pref="settings.enable_screen_lock">
43 </span> 43 </span>
44 </span> 44 </span>
45 </span> 45 </span>
46 </div> 46 </div>
47 </div> 47 </div>
48 </if> <!-- pp_ifdef('chromeos') --> 48 </if> <!-- chromeos -->
49 49
50 <div id="sync-buttons" class="settings-row"> 50 <div id="sync-buttons" class="settings-row">
51 <button id="start-stop-sync" hidden></button> 51 <button id="start-stop-sync" hidden></button>
52 <span id="start-stop-sync-indicator" 52 <span id="start-stop-sync-indicator"
53 class="controlled-setting-indicator" hidden> 53 class="controlled-setting-indicator" hidden>
54 </span> 54 </span>
55 <button id="customize-sync" i18n-content="customizeSync" 55 <button id="customize-sync" i18n-content="customizeSync"
56 pref="sync.managed" hidden> 56 pref="sync.managed" hidden>
57 </button> 57 </button>
58 <if expr="pp_ifdef('chromeos')"> 58 <if expr="chromeos">
59 <button id="manage-accounts-button" 59 <button id="manage-accounts-button"
60 i18n-content="manageAccountsButtonTitle"> 60 i18n-content="manageAccountsButtonTitle">
61 </button> 61 </button>
62 </if> <!-- pp_ifdef('chromeos') --> 62 </if> <!-- chromeos -->
63 <div id="enable-auto-login-checkbox" class="checkbox" hidden> 63 <div id="enable-auto-login-checkbox" class="checkbox" hidden>
64 <label> 64 <label>
65 <input id="enable-auto-login" pref="autologin.enabled" 65 <input id="enable-auto-login" pref="autologin.enabled"
66 metric="Options_Autologin" type="checkbox"> 66 metric="Options_Autologin" type="checkbox">
67 <span i18n-content="autologinEnabled"></span> 67 <span i18n-content="autologinEnabled"></span>
68 </label> 68 </label>
69 </div> 69 </div>
70 </div> 70 </div>
71 71
72 <if expr="not pp_ifdef('chromeos')"> 72 <if expr="not chromeos">
73 </section> 73 </section>
74 </if> 74 </if>
75 <if expr="pp_ifdef('chromeos')"> 75 <if expr="chromeos">
76 </div> 76 </div>
77 </if> 77 </if>
OLDNEW
« no previous file with comments | « chrome/browser/resources/options/options_bundle.js ('k') | chrome/browser/resources/plugins.html » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698