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

Issue 7799019: Print Preview: Add a test for activating the initiator tab on print. (Closed)

Created:
9 years, 3 months ago by Lei Zhang
Modified:
9 years, 3 months ago
CC:
chromium-reviews, Paweł Hajdan Jr., brettw-cc_chromium.org
Visibility:
Public.

Description

Print Preview: Add a test for activating the initiator tab on print. BUG=none TEST=included Committed: http://src.chromium.org/viewvc/chrome?view=rev&revision=99149

Patch Set 1 #

Patch Set 2 : '' #

Patch Set 3 : '' #

Patch Set 4 : reinterpret_cast -> static_cast #

Total comments: 2

Patch Set 5 : '' #

Total comments: 4

Patch Set 6 : '' #

Unified diffs Side-by-side diffs Delta from patch set Stats (+108 lines, -28 lines) Patch
M chrome/browser/printing/print_preview_tab_controller_browsertest.cc View 1 2 3 4 3 chunks +6 lines, -6 lines 0 comments Download
M chrome/browser/printing/print_preview_tab_controller_unittest.cc View 1 2 3 4 4 chunks +8 lines, -8 lines 0 comments Download
M chrome/browser/ui/webui/print_preview_handler.h View 1 2 3 4 1 chunk +2 lines, -0 lines 0 comments Download
A chrome/browser/ui/webui/print_preview_handler_unittest.cc View 1 2 3 4 1 chunk +69 lines, -0 lines 0 comments Download
M chrome/browser/ui/webui/print_preview_ui.h View 1 2 3 4 1 chunk +2 lines, -0 lines 0 comments Download
M chrome/browser/ui/webui/print_preview_ui_unittest.cc View 1 2 3 4 6 chunks +12 lines, -12 lines 0 comments Download
M chrome/chrome_tests.gypi View 1 2 3 4 2 chunks +2 lines, -0 lines 0 comments Download
M chrome/test/base/testing_browser_process.h View 1 2 3 4 2 chunks +3 lines, -1 line 0 comments Download
M chrome/test/base/testing_browser_process.cc View 1 2 3 4 5 2 chunks +4 lines, -1 line 0 comments Download

Messages

Total messages: 9 (0 generated)
Lei Zhang
This adds a test for the fix in r98547. pawel: PTAL at the base/gtest_prod_util.h changes. ...
9 years, 3 months ago (2011-08-30 20:00:01 UTC) #1
Lei Zhang
On 2011/08/30 20:00:01, Lei Zhang wrote: > This adds a test for the fix in ...
9 years, 3 months ago (2011-08-30 20:47:00 UTC) #2
Lei Zhang
PTAL at patch set 3.
9 years, 3 months ago (2011-08-30 21:02:59 UTC) #3
kmadhusu
http://codereview.chromium.org/7799019/diff/13007/chrome/browser/ui/webui/print_preview_handler_unittest.cc File chrome/browser/ui/webui/print_preview_handler_unittest.cc (right): http://codereview.chromium.org/7799019/diff/13007/chrome/browser/ui/webui/print_preview_handler_unittest.cc#newcode65 chrome/browser/ui/webui/print_preview_handler_unittest.cc:65: EXPECT_EQ(initiator_tab, browser()->GetSelectedTabContentsWrapper()); Can you also verify that background printing ...
9 years, 3 months ago (2011-08-31 17:24:38 UTC) #4
Lei Zhang
http://codereview.chromium.org/7799019/diff/13007/chrome/browser/ui/webui/print_preview_handler_unittest.cc File chrome/browser/ui/webui/print_preview_handler_unittest.cc (right): http://codereview.chromium.org/7799019/diff/13007/chrome/browser/ui/webui/print_preview_handler_unittest.cc#newcode65 chrome/browser/ui/webui/print_preview_handler_unittest.cc:65: EXPECT_EQ(initiator_tab, browser()->GetSelectedTabContentsWrapper()); On 2011/08/31 17:24:39, kmadhusu wrote: > Can ...
9 years, 3 months ago (2011-08-31 21:43:08 UTC) #5
kmadhusu
http://codereview.chromium.org/7799019/diff/15001/chrome/browser/ui/webui/print_preview_handler_unittest.cc File chrome/browser/ui/webui/print_preview_handler_unittest.cc (right): http://codereview.chromium.org/7799019/diff/15001/chrome/browser/ui/webui/print_preview_handler_unittest.cc#newcode24 chrome/browser/ui/webui/print_preview_handler_unittest.cc:24: #if !defined(GOOGLE_CHROME_BUILD) || defined(OS_CHROMEOS) This code will not be ...
9 years, 3 months ago (2011-08-31 21:59:17 UTC) #6
Lei Zhang
http://codereview.chromium.org/7799019/diff/15001/chrome/browser/ui/webui/print_preview_handler_unittest.cc File chrome/browser/ui/webui/print_preview_handler_unittest.cc (right): http://codereview.chromium.org/7799019/diff/15001/chrome/browser/ui/webui/print_preview_handler_unittest.cc#newcode24 chrome/browser/ui/webui/print_preview_handler_unittest.cc:24: #if !defined(GOOGLE_CHROME_BUILD) || defined(OS_CHROMEOS) On 2011/08/31 21:59:17, kmadhusu wrote: ...
9 years, 3 months ago (2011-08-31 23:24:04 UTC) #7
kmadhusu
LGTM
9 years, 3 months ago (2011-08-31 23:27:46 UTC) #8
commit-bot: I haz the power
9 years, 3 months ago (2011-09-01 06:49:44 UTC) #9
Change committed as 99149

Powered by Google App Engine
This is Rietveld 408576698