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

Unified Diff: chrome/browser/resources/print_preview/settings/other_options_settings.html

Issue 2576233003: Print Preview: Simplify other_options_settings javascript code. (Closed)
Patch Set: fix indent Created 4 years 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 | « no previous file | chrome/browser/resources/print_preview/settings/other_options_settings.js » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/browser/resources/print_preview/settings/other_options_settings.html
diff --git a/chrome/browser/resources/print_preview/settings/other_options_settings.html b/chrome/browser/resources/print_preview/settings/other_options_settings.html
index 36f4a608b49dcb0566a88347a74f8c20de2058e1..f981b253b3c00999e9594c498d723c40a94e953c 100644
--- a/chrome/browser/resources/print_preview/settings/other_options_settings.html
+++ b/chrome/browser/resources/print_preview/settings/other_options_settings.html
@@ -1,38 +1,38 @@
<div id="other-options-settings"
class="other-options-settings two-column" hidden>
<div class="left-column">
- <h1 i18n-content="optionsLabel"></h1>
+ <h1>$i18n{optionsLabel}</h1>
</div>
<div class="right-column checkbox">
<div id="other-options-collapsible" class="collapsible">
- <div class="header-footer-container checkbox">
+ <div id="header-footer-container">
<label aria-live="polite">
- <input class="header-footer-checkbox" type="checkbox">
- <span i18n-content="optionHeaderFooter"></span>
+ <input class="checkbox" type="checkbox">
+ <span>$i18n{optionHeaderFooter}</span>
</label>
</div>
- <div class="fit-to-page-container checkbox">
+ <div id="fit-to-page-container">
<label aria-live="polite">
- <input class="fit-to-page-checkbox" type="checkbox">
- <span i18n-content="optionFitToPage"></span>
+ <input class="checkbox" type="checkbox">
+ <span>$i18n{optionFitToPage}</span>
</label>
</div>
- <div class="duplex-container checkbox">
+ <div id="duplex-container">
<label aria-live="polite">
- <input class="duplex-checkbox" type="checkbox">
- <span i18n-content="optionTwoSided"></span>
+ <input class="checkbox" type="checkbox">
+ <span>$i18n{optionTwoSided}</span>
</label>
</div>
- <div class="css-background-container checkbox">
+ <div id="css-background-container">
<label aria-live="polite">
- <input class="css-background-checkbox" type="checkbox">
- <span i18n-content="optionBackgroundColorsAndImages"></span>
+ <input class="checkbox" type="checkbox">
+ <span>$i18n{optionBackgroundColorsAndImages}</span>
</label>
</div>
- <div class="selection-only-container checkbox">
+ <div id="selection-only-container">
<label aria-live="polite">
- <input class="selection-only-checkbox" type="checkbox">
- <span i18n-content="optionSelectionOnly"></span>
+ <input class="checkbox" type="checkbox">
+ <span>$i18n{optionSelectionOnly}</span>
</label>
</div>
</div>
« no previous file with comments | « no previous file | chrome/browser/resources/print_preview/settings/other_options_settings.js » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698