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

Issue 8395006: Print Preview: Hiding header/footer options when 'no margins' is selected (Closed)

Created:
9 years, 2 months ago by dpapad
Modified:
9 years ago
CC:
chromium-reviews, arv (Not doing code reviews)
Visibility:
Public.

Description

Print Preview: Hiding header/footer options when 'no margins' is selected BUG=101457 TEST=Select "None" in the margins drop-down. The headers/footers option should disappear. Select 'Default' or 'Custom', it should reappear. Committed: http://src.chromium.org/viewvc/chrome?view=rev&revision=112403

Patch Set 1 #

Patch Set 2 : Adding documentation #

Patch Set 3 : Rebasing #

Patch Set 4 : Resolving conflicts, rebasing #

Total comments: 3

Patch Set 5 : Addressing comments #

Patch Set 6 : Nits #

Total comments: 4

Patch Set 7 : Addressing thestig's comments #

Patch Set 8 : . #

Patch Set 9 : Rebasing #

Unified diffs Side-by-side diffs Delta from patch set Stats (+34 lines, -4 lines) Patch
M chrome/browser/resources/print_preview/header_footer_settings.js View 1 2 3 4 5 6 4 chunks +23 lines, -4 lines 0 comments Download
M chrome/browser/resources/print_preview/margin_settings.js View 1 2 3 4 5 2 chunks +9 lines, -0 lines 0 comments Download
M chrome/browser/resources/print_preview/print_preview.js View 1 2 3 4 1 chunk +2 lines, -0 lines 0 comments Download

Messages

Total messages: 17 (0 generated)
dpapad
9 years, 2 months ago (2011-10-25 16:06:49 UTC) #1
Lei Zhang
lgtm
9 years, 2 months ago (2011-10-25 17:10:04 UTC) #2
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/dpapad@chromium.org/8395006/3003
9 years, 2 months ago (2011-10-25 17:16:00 UTC) #3
kmadhusu
When the user selects "None", we should not only disable the header footer option but ...
9 years, 1 month ago (2011-11-24 00:34:34 UTC) #4
dpapad
On 2011/11/24 00:34:34, kmadhusu wrote: > When the user selects "None", we should not only ...
9 years ago (2011-11-29 17:27:34 UTC) #5
dpapad
http://codereview.chromium.org/8395006/diff/6001/chrome/browser/resources/print_preview/header_footer_settings.js File chrome/browser/resources/print_preview/header_footer_settings.js (right): http://codereview.chromium.org/8395006/diff/6001/chrome/browser/resources/print_preview/header_footer_settings.js#newcode84 chrome/browser/resources/print_preview/header_footer_settings.js:84: this.headerFooterCheckbox_.checked = false; When hiding this option we also ...
9 years ago (2011-11-29 17:29:09 UTC) #6
kmadhusu
http://codereview.chromium.org/8395006/diff/6001/chrome/browser/resources/print_preview/header_footer_settings.js File chrome/browser/resources/print_preview/header_footer_settings.js (right): http://codereview.chromium.org/8395006/diff/6001/chrome/browser/resources/print_preview/header_footer_settings.js#newcode84 chrome/browser/resources/print_preview/header_footer_settings.js:84: this.headerFooterCheckbox_.checked = false; On 2011/11/29 17:29:09, dpapad wrote: > ...
9 years ago (2011-11-29 17:48:59 UTC) #7
dpapad
http://codereview.chromium.org/8395006/diff/6001/chrome/browser/resources/print_preview/header_footer_settings.js File chrome/browser/resources/print_preview/header_footer_settings.js (right): http://codereview.chromium.org/8395006/diff/6001/chrome/browser/resources/print_preview/header_footer_settings.js#newcode84 chrome/browser/resources/print_preview/header_footer_settings.js:84: this.headerFooterCheckbox_.checked = false; On 2011/11/29 17:48:59, kmadhusu wrote: > ...
9 years ago (2011-11-29 19:32:07 UTC) #8
Lei Zhang
http://codereview.chromium.org/8395006/diff/16001/chrome/browser/resources/print_preview/header_footer_settings.js File chrome/browser/resources/print_preview/header_footer_settings.js (right): http://codereview.chromium.org/8395006/diff/16001/chrome/browser/resources/print_preview/header_footer_settings.js#newcode16 chrome/browser/resources/print_preview/header_footer_settings.js:16: this.headerFooterApplies_; do you need to initialize this here? http://codereview.chromium.org/8395006/diff/16001/chrome/browser/resources/print_preview/header_footer_settings.js#newcode73 ...
9 years ago (2011-11-29 19:45:15 UTC) #9
dpapad
Addressed Lei's comments. http://codereview.chromium.org/8395006/diff/16001/chrome/browser/resources/print_preview/header_footer_settings.js File chrome/browser/resources/print_preview/header_footer_settings.js (right): http://codereview.chromium.org/8395006/diff/16001/chrome/browser/resources/print_preview/header_footer_settings.js#newcode16 chrome/browser/resources/print_preview/header_footer_settings.js:16: this.headerFooterApplies_; On 2011/11/29 19:45:15, Lei Zhang ...
9 years ago (2011-11-29 20:40:26 UTC) #10
kmadhusu
lgtm
9 years ago (2011-11-29 20:48:16 UTC) #11
Lei Zhang
On 2011/11/29 20:48:16, kmadhusu wrote: > lgtm lgtm++
9 years ago (2011-11-29 21:03:23 UTC) #12
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/dpapad@chromium.org/8395006/17001
9 years ago (2011-11-29 21:06:03 UTC) #13
commit-bot: I haz the power
Presubmit check for 8395006-17001 failed and returned exit status 1. Running presubmit commit checks ...
9 years ago (2011-11-29 21:06:06 UTC) #14
dpapad
Added estade as a reviewer since he is in OWNERS.
9 years ago (2011-11-30 00:09:38 UTC) #15
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/dpapad@chromium.org/8395006/24001
9 years ago (2011-12-01 02:51:27 UTC) #16
commit-bot: I haz the power
9 years ago (2011-12-01 04:38:09 UTC) #17
Change committed as 112403

Powered by Google App Engine
This is Rietveld 408576698