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

Issue 8343017: Print Preview: Hiding margins UI if an error occurs. (Closed)

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

Description

Print Preview: Hiding margins UI if an error occurs. BUG=100818 TEST=Select custom margins, close the initiator tab, the margins UI should be hidden. Committed: http://src.chromium.org/viewvc/chrome?view=rev&revision=106420

Patch Set 1 #

Patch Set 2 : Fixing spelling and also removing margin related event listeners on error. #

Patch Set 3 : Rebasing to trunk #

Patch Set 4 : Adding documentation #

Total comments: 10

Patch Set 5 : Renaming error event #

Patch Set 6 : Addressed comments #

Unified diffs Side-by-side diffs Delta from patch set Stats (+35 lines, -18 lines) Patch
M chrome/browser/resources/print_preview/margin_settings.js View 1 2 3 4 5 1 chunk +13 lines, -0 lines 0 comments Download
M chrome/browser/resources/print_preview/preview_area.js View 1 2 3 4 5 4 chunks +4 lines, -4 lines 0 comments Download
M chrome/browser/resources/print_preview/print_header.js View 1 2 3 4 5 1 chunk +10 lines, -0 lines 0 comments Download
M chrome/browser/resources/print_preview/print_preview.js View 1 2 3 4 5 5 chunks +8 lines, -14 lines 0 comments Download

Messages

Total messages: 13 (0 generated)
dpapad
Added an event whenever an error occurs. I am planning to create string constants for ...
9 years, 2 months ago (2011-10-19 01:19:05 UTC) #1
Lei Zhang
LGTM, but maybe estade or arv would be a better reviewer?
9 years, 2 months ago (2011-10-19 01:40:55 UTC) #2
dpapad
@estade Could you take a look?
9 years, 2 months ago (2011-10-19 18:11:13 UTC) #3
Evan Stade
http://codereview.chromium.org/8343017/diff/2003/chrome/browser/resources/print_preview/preview_area.js File chrome/browser/resources/print_preview/preview_area.js (right): http://codereview.chromium.org/8343017/diff/2003/chrome/browser/resources/print_preview/preview_area.js#newcode211 chrome/browser/resources/print_preview/preview_area.js:211: cr.dispatchSimpleEvent(document, 'errorOccurred'); i'd like to see a more descriptive ...
9 years, 2 months ago (2011-10-19 20:01:55 UTC) #4
dpapad
On 2011/10/19 20:01:55, Evan Stade wrote: > http://codereview.chromium.org/8343017/diff/2003/chrome/browser/resources/print_preview/preview_area.js > File chrome/browser/resources/print_preview/preview_area.js (right): > > http://codereview.chromium.org/8343017/diff/2003/chrome/browser/resources/print_preview/preview_area.js#newcode211 ...
9 years, 2 months ago (2011-10-19 20:06:42 UTC) #5
dpapad
On 2011/10/19 20:06:42, dpapad wrote: > On 2011/10/19 20:01:55, Evan Stade wrote: > > > ...
9 years, 2 months ago (2011-10-19 20:11:59 UTC) #6
Evan Stade
yes, rename it
9 years, 2 months ago (2011-10-19 22:12:26 UTC) #7
dpapad
Addressed comments. http://codereview.chromium.org/8343017/diff/2003/chrome/browser/resources/print_preview/preview_area.js File chrome/browser/resources/print_preview/preview_area.js (right): http://codereview.chromium.org/8343017/diff/2003/chrome/browser/resources/print_preview/preview_area.js#newcode211 chrome/browser/resources/print_preview/preview_area.js:211: cr.dispatchSimpleEvent(document, 'errorOccurred'); On 2011/10/19 20:01:55, Evan Stade ...
9 years, 2 months ago (2011-10-19 22:31:59 UTC) #8
Evan Stade
http://codereview.chromium.org/8343017/diff/2003/chrome/browser/resources/print_preview/margin_settings.js File chrome/browser/resources/print_preview/margin_settings.js (right): http://codereview.chromium.org/8343017/diff/2003/chrome/browser/resources/print_preview/margin_settings.js#newcode301 chrome/browser/resources/print_preview/margin_settings.js:301: onErrorOccurred: function() { private http://codereview.chromium.org/8343017/diff/2003/chrome/browser/resources/print_preview/preview_area.js File chrome/browser/resources/print_preview/preview_area.js (right): http://codereview.chromium.org/8343017/diff/2003/chrome/browser/resources/print_preview/preview_area.js#newcode201 ...
9 years, 2 months ago (2011-10-19 22:34:11 UTC) #9
dpapad
Addressed comments. http://codereview.chromium.org/8343017/diff/2003/chrome/browser/resources/print_preview/margin_settings.js File chrome/browser/resources/print_preview/margin_settings.js (right): http://codereview.chromium.org/8343017/diff/2003/chrome/browser/resources/print_preview/margin_settings.js#newcode301 chrome/browser/resources/print_preview/margin_settings.js:301: onErrorOccurred: function() { On 2011/10/19 22:34:11, Evan ...
9 years, 2 months ago (2011-10-19 22:56:21 UTC) #10
Evan Stade
lgtm
9 years, 2 months ago (2011-10-19 23:18:30 UTC) #11
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/dpapad@chromium.org/8343017/10004
9 years, 2 months ago (2011-10-19 23:19:27 UTC) #12
commit-bot: I haz the power
9 years, 2 months ago (2011-10-20 00:43:04 UTC) #13
Change committed as 106420

Powered by Google App Engine
This is Rietveld 408576698