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

Issue 2829523002: [Home] Close the BottomSheet when a URL is loaded on the NTP (Closed)

Created:
3 years, 8 months ago by Theresa
Modified:
3 years, 8 months ago
CC:
chromium-reviews, noyau+watch_chromium.org, ntp-dev+reviews_chromium.org, agrieve+watch_chromium.org
Target Ref:
refs/heads/master
Project:
chromium
Visibility:
Public.

Description

[Home] Close the BottomSheet when a URL is loaded on the NTP This ensures that a click on the doodle will close the BottomSheet. BUG=712607 Review-Url: https://codereview.chromium.org/2829523002 Cr-Commit-Position: refs/heads/master@{#465604} Committed: https://chromium.googlesource.com/chromium/src/+/2a80017ed38340c00d1d214a3a2445acf5a9ed05

Patch Set 1 #

Unified diffs Side-by-side diffs Delta from patch set Stats (+6 lines, -0 lines) Patch
M chrome/android/java/src/org/chromium/chrome/browser/ntp/ChromeHomeNewTabPageBase.java View 2 chunks +6 lines, -0 lines 0 comments Download

Messages

Total messages: 13 (8 generated)
Theresa
ptal
3 years, 8 months ago (2017-04-18 22:56:46 UTC) #2
Michael van Ouwerkerk
lgtm
3 years, 8 months ago (2017-04-19 09:10:27 UTC) #3
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/2829523002/1
3 years, 8 months ago (2017-04-19 14:57:46 UTC) #9
commit-bot: I haz the power
Committed patchset #1 (id:1) as https://chromium.googlesource.com/chromium/src/+/2a80017ed38340c00d1d214a3a2445acf5a9ed05
3 years, 8 months ago (2017-04-19 15:02:52 UTC) #12
Theresa
3 years, 8 months ago (2017-04-19 20:11:45 UTC) #13
Message was sent while issue was closed.
A revert of this CL (patchset #1 id:1) has been created in
https://codereview.chromium.org/2830743003/ by twellington@chromium.org.

The reason for reverting is: Broke Lollipop Tester

junit.framework.AssertionFailedError: Sheet should be at half height
expected:<1> but was:<3>
	at
org.chromium.chrome.browser.ntp.ChromeHomeNewTabPageTest.validateState(ChromeHomeNewTabPageTest.java:197)
	at
org.chromium.chrome.browser.ntp.ChromeHomeNewTabPageTest.createNewTab(ChromeHomeNewTabPageTest.java:168)
	at
org.chromium.chrome.browser.ntp.ChromeHomeNewTabPageTest.testCloseNTP_TwoTabs(ChromeHomeNewTabPageTest.java:92)
	at
android.test.InstrumentationTestCase.runMethod(InstrumentationTestCase.java:214)
	at
android.test.InstrumentationTestCase.runTest(InstrumentationTestCase.java:199)
	at
android.test.ActivityInstrumentationTestCase2.runTest(ActivityInstrumentationTestCase2.java:192)
	at
org.chromium.chrome.test.ChromeActivityTestCaseBase.runTest(ChromeActivityTestCaseBase.java:758)
	at
org.chromium.base.test.BaseTestResult.runParameterized(BaseTestResult.java:161)
	at org.chromium.base.test.BaseTestResult.run(BaseTestResult.java:124)
	at android.test.AndroidTestRunner.runTest(AndroidTestRunner.java:191)
	at android.test.AndroidTestRunner.runTest(AndroidTestRunner.java:176)
	at
android.test.InstrumentationTestRunner.onStart(InstrumentationTestRunner.java:555)
	at
android.app.Instrumentation$InstrumentationThread.run(Instrumentation.java:1853).

Powered by Google App Engine
This is Rietveld 408576698