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

Issue 2781563002: Skip expanded state for Contextual Search when swiping down (Closed)

Created:
3 years, 8 months ago by mdjones
Modified:
3 years, 8 months ago
Reviewers:
Donn Denman, Theresa
CC:
chromium-reviews, mdjones+watch_chromium.org, donnd+watch_chromium.org, agrieve+watch_chromium.org
Target Ref:
refs/heads/master
Project:
chromium
Visibility:
Public.

Description

Skip expanded state for Contextual Search when swiping down This change is for feature parity with Chrome Home. When swiping down on the Contextual Search panel the expanded state is skipped as it is unlikely that that user wants to see half as much content but not interact with the web page. BUG=705553 Review-Url: https://codereview.chromium.org/2781563002 Cr-Commit-Position: refs/heads/master@{#459931} Committed: https://chromium.googlesource.com/chromium/src/+/61e342e6e7a1a0d6dff3159d87437b5f8442b442

Patch Set 1 #

Total comments: 6

Patch Set 2 : nits #

Unified diffs Side-by-side diffs Delta from patch set Stats (+17 lines, -2 lines) Patch
M chrome/android/java/src/org/chromium/chrome/browser/compositor/bottombar/contextualsearch/ContextualSearchPanel.java View 1 4 chunks +17 lines, -2 lines 0 comments Download

Messages

Total messages: 15 (6 generated)
Donn Denman
Added myself as a reviewer and noted a few nits. Let me know if you ...
3 years, 8 months ago (2017-03-27 18:32:31 UTC) #2
mdjones
https://codereview.chromium.org/2781563002/diff/1/chrome/android/java/src/org/chromium/chrome/browser/compositor/bottombar/contextualsearch/ContextualSearchPanel.java File chrome/android/java/src/org/chromium/chrome/browser/compositor/bottombar/contextualsearch/ContextualSearchPanel.java (right): https://codereview.chromium.org/2781563002/diff/1/chrome/android/java/src/org/chromium/chrome/browser/compositor/bottombar/contextualsearch/ContextualSearchPanel.java#newcode229 chrome/android/java/src/org/chromium/chrome/browser/compositor/bottombar/contextualsearch/ContextualSearchPanel.java:229: if (mCurrentSwipeVelocity > 0 && state == PanelState.EXPANDED) return ...
3 years, 8 months ago (2017-03-27 20:09:47 UTC) #3
Donn Denman
Thanks Matt! (LGTM)
3 years, 8 months ago (2017-03-27 20:11:02 UTC) #4
mdjones
+twellington Should we instead close the panel or keep it minimized?
3 years, 8 months ago (2017-03-27 20:22:32 UTC) #7
Theresa
On 2017/03/27 20:22:32, mdjones wrote: > +twellington Should we instead close the panel or keep ...
3 years, 8 months ago (2017-03-27 20:30:24 UTC) #8
Donn Denman
On 2017/03/27 20:30:24, Theresa wrote: > On 2017/03/27 20:22:32, mdjones wrote: > > +twellington Should ...
3 years, 8 months ago (2017-03-27 20:40:28 UTC) #9
Theresa
lgtm
3 years, 8 months ago (2017-03-27 21:54:33 UTC) #10
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/2781563002/20001
3 years, 8 months ago (2017-03-27 22:33:57 UTC) #12
commit-bot: I haz the power
3 years, 8 months ago (2017-03-27 23:23:26 UTC) #15
Message was sent while issue was closed.
Committed patchset #2 (id:20001) as
https://chromium.googlesource.com/chromium/src/+/61e342e6e7a1a0d6dff3159d8743...

Powered by Google App Engine
This is Rietveld 408576698