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

Issue 2215063002: Fix Print Preview Alt + Left Arrow breakage (Closed)

Created:
4 years, 4 months ago by rbpotter
Modified:
4 years, 4 months ago
Reviewers:
Lei Zhang
CC:
chromium-reviews
Base URL:
https://chromium.googlesource.com/chromium/src.git@master
Target Ref:
refs/pending/heads/master
Project:
chromium
Visibility:
Public.

Description

Fix Print Preview Alt + Left Arrow breakage Fixing print preview closing in g-mail bug caused ALT + left arrow to break for certain cases. Changed condition for not closing dialog to be more specific. BUG=636234, 634237 Committed: https://crrev.com/d65b6608c1349ba70606565b2bed9ff8b016473a Committed: https://crrev.com/2224d2c0c1863c313fa3d4fb510091bc067c1d3e Cr-Original-Commit-Position: refs/heads/master@{#410717} Cr-Commit-Position: refs/heads/master@{#412697}

Patch Set 1 #

Total comments: 1

Patch Set 2 : fix indentation #

Patch Set 3 : Add test #

Total comments: 26

Patch Set 4 : Fix comments and style issues #

Total comments: 2

Patch Set 5 : formatting #

Patch Set 6 : Add extra nav check #

Patch Set 7 : more nav checks #

Patch Set 8 : add logging #

Patch Set 9 : more logging #

Patch Set 10 : Two possible tests to fix mac flakes #

Total comments: 5

Patch Set 11 : Use test 1. Revert controller changes. #

Patch Set 12 : Use test 1, revert controller changes #

Unified diffs Side-by-side diffs Delta from patch set Stats (+141 lines, -2 lines) Patch
M chrome/browser/printing/print_preview_dialog_controller.cc View 1 2 3 8 9 10 1 chunk +6 lines, -2 lines 0 comments Download
M chrome/browser/printing/print_preview_dialog_controller_unittest.cc View 1 2 3 4 5 6 7 8 9 10 3 chunks +135 lines, -0 lines 0 comments Download

Messages

Total messages: 42 (22 generated)
rbpotter
4 years, 4 months ago (2016-08-04 20:48:13 UTC) #4
Lei Zhang
Can we add a PrintPreviewDialogControllerUnitTest or maybe PrintPreviewDialogControllerBrowserTest to test for this? https://codereview.chromium.org/2215063002/diff/1/chrome/browser/printing/print_preview_dialog_controller.cc File chrome/browser/printing/print_preview_dialog_controller.cc ...
4 years, 4 months ago (2016-08-04 20:58:24 UTC) #7
Lei Zhang
On 2016/08/04 20:58:24, Lei Zhang wrote: > Can we add a PrintPreviewDialogControllerUnitTest or maybe > ...
4 years, 4 months ago (2016-08-04 21:14:40 UTC) #8
rbpotter
On 2016/08/04 21:14:40, Lei Zhang wrote: > On 2016/08/04 20:58:24, Lei Zhang wrote: > > ...
4 years, 4 months ago (2016-08-04 21:22:28 UTC) #9
rbpotter
4 years, 4 months ago (2016-08-04 21:22:40 UTC) #10
rbpotter
Finally finished writing the test. Can add more navigation cases if desired, this covers the ...
4 years, 4 months ago (2016-08-09 00:05:44 UTC) #11
Lei Zhang
https://codereview.chromium.org/2215063002/diff/40001/chrome/browser/printing/print_preview_dialog_controller_unittest.cc File chrome/browser/printing/print_preview_dialog_controller_unittest.cc (right): https://codereview.chromium.org/2215063002/diff/40001/chrome/browser/printing/print_preview_dialog_controller_unittest.cc#newcode179 chrome/browser/printing/print_preview_dialog_controller_unittest.cc:179: No blank lines at the beginning and end of ...
4 years, 4 months ago (2016-08-09 01:20:17 UTC) #12
rbpotter
https://codereview.chromium.org/2215063002/diff/40001/chrome/browser/printing/print_preview_dialog_controller_unittest.cc File chrome/browser/printing/print_preview_dialog_controller_unittest.cc (right): https://codereview.chromium.org/2215063002/diff/40001/chrome/browser/printing/print_preview_dialog_controller_unittest.cc#newcode179 chrome/browser/printing/print_preview_dialog_controller_unittest.cc:179: On 2016/08/09 01:20:16, Lei Zhang wrote: > No blank ...
4 years, 4 months ago (2016-08-09 02:14:15 UTC) #13
Lei Zhang
lgtm https://codereview.chromium.org/2215063002/diff/60001/chrome/browser/printing/print_preview_dialog_controller_unittest.cc File chrome/browser/printing/print_preview_dialog_controller_unittest.cc (right): https://codereview.chromium.org/2215063002/diff/60001/chrome/browser/printing/print_preview_dialog_controller_unittest.cc#newcode192 chrome/browser/printing/print_preview_dialog_controller_unittest.cc:192: web_contents->GetController(); Fits on previous line. git cl format ...
4 years, 4 months ago (2016-08-09 06:19:59 UTC) #18
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/v2/patch-status/codereview.chromium.org/2215063002/80001
4 years, 4 months ago (2016-08-09 16:31:22 UTC) #21
commit-bot: I haz the power
Committed patchset #5 (id:80001)
4 years, 4 months ago (2016-08-09 17:12:22 UTC) #23
commit-bot: I haz the power
Patchset 5 (id:??) landed as https://crrev.com/d65b6608c1349ba70606565b2bed9ff8b016473a Cr-Commit-Position: refs/heads/master@{#410717}
4 years, 4 months ago (2016-08-09 17:15:22 UTC) #25
foolip
A revert of this CL (patchset #5 id:80001) has been created in https://codereview.chromium.org/2232853002/ by foolip@chromium.org. ...
4 years, 4 months ago (2016-08-10 13:11:38 UTC) #26
rbpotter
Lei, Have 2 possible tests right now. One uses a new subclass of the print ...
4 years, 4 months ago (2016-08-15 19:21:42 UTC) #28
Lei Zhang
Most of the comments probably won't be applicable if we go with the "V1" test. ...
4 years, 4 months ago (2016-08-17 21:27:55 UTC) #29
rbpotter
Lei, Changed to use test 1 only and rolled back the changes to the dialog ...
4 years, 4 months ago (2016-08-17 23:06:27 UTC) #32
Lei Zhang
lgtm
4 years, 4 months ago (2016-08-17 23:16:14 UTC) #33
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/v2/patch-status/codereview.chromium.org/2215063002/220001
4 years, 4 months ago (2016-08-17 23:50:04 UTC) #38
commit-bot: I haz the power
Committed patchset #12 (id:220001)
4 years, 4 months ago (2016-08-17 23:54:26 UTC) #40
commit-bot: I haz the power
4 years, 4 months ago (2016-08-18 00:01:33 UTC) #42
Message was sent while issue was closed.
Patchset 12 (id:??) landed as
https://crrev.com/2224d2c0c1863c313fa3d4fb510091bc067c1d3e
Cr-Commit-Position: refs/heads/master@{#412697}

Powered by Google App Engine
This is Rietveld 408576698