Commit 3bbf02bb authored by rbpotter's avatar rbpotter Committed by Commit Bot

Print Preview: Fix button reversal

Print button should be on the left on Windows and Chrome OS.

Bug: 880562
Change-Id: If4a0cec12e506846444f753361653b7407db99e7
Reviewed-on: https://chromium-review.googlesource.com/1205201Reviewed-by: default avatarLei Zhang <thestig@chromium.org>
Reviewed-by: default avatarScott Chen <scottchen@chromium.org>
Commit-Queue: Rebekah Potter <rbpotter@chromium.org>
Cr-Commit-Position: refs/heads/master@{#588745}
parent a3c6dea1
......@@ -74,11 +74,16 @@
inner-h-t-m-l="[[summary_]]">
</span>
<div id="button-strip">
<if expr="not chromeos and not is_win">
<button class="cancel" on-click="onCancelClick_">$i18n{cancel}</button>
</if>
<button class="print default" on-click="onPrintClick_"
disabled$="[[!printButtonEnabled_]]">
[[getPrintButton_(destination.id)]]
</button>
<if expr="chromeos or is_win">
<button class="cancel" on-click="onCancelClick_">$i18n{cancel}</button>
</if>
</div>
</template>
<script src="header.js"></script>
......
......@@ -165,7 +165,8 @@
type="chrome_html" />
<structure name="IDR_PRINT_PREVIEW_NEW_HEADER_HTML"
file="new/header.html"
type="chrome_html" />
type="chrome_html"
preprocess="true" />
<structure name="IDR_PRINT_PREVIEW_NEW_HEADER_JS"
file="new/header.js"
type="chrome_html" />
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment