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

Issue 12224052: Alternate NTP: Fix bug where shadow is not removed (Closed)

Created:
7 years, 10 months ago by sail
Modified:
7 years, 10 months ago
Reviewers:
dhollowa
CC:
chromium-reviews, melevin, sreeram, sail+watch_chromium.org, gideonwald, dominich, David Black, samarth+watch_chromium.org, Jered
Visibility:
Public.

Description

Alternate NTP: Fix bug where shadow is not removed Opening a link in a new tab from instant search results would cause the instant search result shadow to stay visible. The problem was that there were three ways the shadow could be hidden: (1) -showPreview:..:drawDropShadow:NO (2) - hidePreview (3) - onActivateTabWithContents: (1) and (2) correctly hid the shadow but (3) didn't. Fix was consolidate all the code into (1) and have everyone call that method. BUG=173778 TEST=See comment 7 in bug 173778 for an easy way to reproduce this bug. Verified that without my fix the shadow is not removed and with my fix the shadow is removed. Committed: https://src.chromium.org/viewvc/chrome?view=rev&revision=181865

Patch Set 1 #

Patch Set 2 : " #

Patch Set 3 : fix test #

Patch Set 4 : fix tests #

Unified diffs Side-by-side diffs Delta from patch set Stats (+47 lines, -41 lines) Patch
M chrome/browser/ui/cocoa/tab_contents/instant_preview_controller_mac.mm View 1 chunk +8 lines, -5 lines 0 comments Download
M chrome/browser/ui/cocoa/tab_contents/previewable_contents_controller.h View 1 1 chunk +6 lines, -8 lines 0 comments Download
M chrome/browser/ui/cocoa/tab_contents/previewable_contents_controller.mm View 1 2 3 4 chunks +22 lines, -28 lines 0 comments Download
M chrome/browser/ui/cocoa/tab_contents/previewable_contents_controller_browsertest.mm View 1 1 chunk +11 lines, -0 lines 0 comments Download

Messages

Total messages: 12 (0 generated)
sail
7 years, 10 months ago (2013-02-07 12:05:23 UTC) #1
sail
dhollowa: ping!
7 years, 10 months ago (2013-02-11 18:02:32 UTC) #2
dhollowa
lgtm
7 years, 10 months ago (2013-02-11 18:14:56 UTC) #3
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/sail@chromium.org/12224052/2001
7 years, 10 months ago (2013-02-11 18:18:41 UTC) #4
commit-bot: I haz the power
Retried try job too often on mac_rel for step(s) interactive_ui_tests http://build.chromium.org/p/tryserver.chromium/buildstatus?builder=mac_rel&number=98137
7 years, 10 months ago (2013-02-11 19:22:25 UTC) #5
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/sail@chromium.org/12224052/2001
7 years, 10 months ago (2013-02-11 19:25:36 UTC) #6
commit-bot: I haz the power
Retried try job too often on mac_rel for step(s) interactive_ui_tests http://build.chromium.org/p/tryserver.chromium/buildstatus?builder=mac_rel&number=98162
7 years, 10 months ago (2013-02-11 20:21:09 UTC) #7
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/sail@chromium.org/12224052/12001
7 years, 10 months ago (2013-02-11 20:54:46 UTC) #8
commit-bot: I haz the power
Retried try job too often on mac_rel for step(s) interactive_ui_tests http://build.chromium.org/p/tryserver.chromium/buildstatus?builder=mac_rel&number=98204
7 years, 10 months ago (2013-02-11 21:42:16 UTC) #9
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/sail@chromium.org/12224052/2004
7 years, 10 months ago (2013-02-11 22:07:22 UTC) #10
commit-bot: I haz the power
Retried try job too often on linux_chromeos for step(s) browser_tests http://build.chromium.org/p/tryserver.chromium/buildstatus?builder=linux_chromeos&number=83253
7 years, 10 months ago (2013-02-12 02:23:30 UTC) #11
commit-bot: I haz the power
7 years, 10 months ago (2013-02-12 02:33:54 UTC) #12

Powered by Google App Engine
This is Rietveld 408576698