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

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

Issue 7358002: Print Preview: Refactoring layout mode related logic to LayoutSettings class. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Addressing nits Created 9 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 side-by-side diff with in-line comments
Download patch
Index: chrome/browser/resources/print_preview/print_preview.html
diff --git a/chrome/browser/resources/print_preview/print_preview.html b/chrome/browser/resources/print_preview/print_preview.html
index 981e5dfde823aff2acf797bc645c501ffcc03af8..0aef75cc92dffbda6e4ca1cbb6fc5ec64bde9786 100644
--- a/chrome/browser/resources/print_preview/print_preview.html
+++ b/chrome/browser/resources/print_preview/print_preview.html
@@ -16,6 +16,7 @@
<script src="print_preview_utils.js"></script>
<script src="page_settings.js"></script>
<script src="copies_settings.js"></script>
+<script src="layout_settings.js"></script>
</head>
<body>
<div id="sidebar">
@@ -38,19 +39,7 @@
<hr id="hr-before-copies" class="invisible">
<include src="copies_settings.html"></include>
<hr>
- <div id="landscape-option" class="two-column option visible">
- <h1 i18n-content="layoutLabel"></h1>
- <div>
- <div>
- <input id="portrait" type="radio" name="layout" checked/>
- <label for="portrait" i18n-content="optionPortrait"></label>
- </div>
- <div>
- <input id="landscape" type="radio" name="layout"/>
- <label for="landscape" i18n-content="optionLandscape"></label>
- </div>
- </div>
- </div>
+ <include src="layout_settings.html"></include>
<hr>
<div id="color-options" class="two-column option" aria-hidden="true"
aria-live="polite">
« no previous file with comments | « chrome/browser/resources/print_preview/page_settings.js ('k') | chrome/browser/resources/print_preview/print_preview.js » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698