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

Issue 557263002: Adding option to move suggestion popup item text to omnibox. (Closed)

Created:
6 years, 3 months ago by ankit
Modified:
6 years, 3 months ago
Reviewers:
Bernhard Bauer, Ted C
CC:
chromium-reviews
Base URL:
https://chromium.googlesource.com/chromium/src.git@master
Project:
chromium
Visibility:
Public.

Description

Adding option to move suggestion popup item text to omnibox. Currently there is no way to move suggestion item text to omnibox to refine suggestion in a single step. With this change an arrow will be appearing along with suggestion text and url. On clicking the arrow corresponding suggestion text is moved to omnibox and suggestions are refined accordingly. BUG= Committed: https://crrev.com/bfc368c441b4f318bc32ab889ff04faefebec379 Cr-Commit-Position: refs/heads/master@{#294542}

Patch Set 1 #

Total comments: 9

Patch Set 2 : Modified code as per review comments. #

Unified diffs Side-by-side diffs Delta from patch set Stats (+82 lines, -9 lines) Patch
M chrome/android/shell/java/src/org/chromium/chrome/shell/omnibox/SuggestionArrayAdapter.java View 1 3 chunks +20 lines, -5 lines 0 comments Download
M chrome/android/shell/java/src/org/chromium/chrome/shell/omnibox/SuggestionPopup.java View 1 4 chunks +6 lines, -4 lines 0 comments Download
A chrome/android/shell/res/drawable/suggestion_arrow.png View Binary file 0 comments Download
A chrome/android/shell/res/layout/suggestion_item.xml View 1 1 chunk +56 lines, -0 lines 0 comments Download

Messages

Total messages: 14 (2 generated)
ankit
@Bernhard,Ted PTAL
6 years, 3 months ago (2014-09-10 07:15:00 UTC) #2
Bernhard Bauer
https://codereview.chromium.org/557263002/diff/1/chrome/android/shell/java/src/org/chromium/chrome/shell/omnibox/SuggestionArrayAdapter.java File chrome/android/shell/java/src/org/chromium/chrome/shell/omnibox/SuggestionArrayAdapter.java (right): https://codereview.chromium.org/557263002/diff/1/chrome/android/shell/java/src/org/chromium/chrome/shell/omnibox/SuggestionArrayAdapter.java#newcode49 chrome/android/shell/java/src/org/chromium/chrome/shell/omnibox/SuggestionArrayAdapter.java:49: t1.setText(suggestionText); I think you could directly inline this. https://codereview.chromium.org/557263002/diff/1/chrome/android/shell/java/src/org/chromium/chrome/shell/omnibox/SuggestionPopup.java ...
6 years, 3 months ago (2014-09-10 07:53:31 UTC) #3
ankit
@Bernhard PTAL comment and suggest. https://codereview.chromium.org/557263002/diff/1/chrome/android/shell/java/src/org/chromium/chrome/shell/omnibox/SuggestionArrayAdapter.java File chrome/android/shell/java/src/org/chromium/chrome/shell/omnibox/SuggestionArrayAdapter.java (right): https://codereview.chromium.org/557263002/diff/1/chrome/android/shell/java/src/org/chromium/chrome/shell/omnibox/SuggestionArrayAdapter.java#newcode49 chrome/android/shell/java/src/org/chromium/chrome/shell/omnibox/SuggestionArrayAdapter.java:49: t1.setText(suggestionText); On 2014/09/10 07:53:31, ...
6 years, 3 months ago (2014-09-10 09:15:52 UTC) #4
Bernhard Bauer
https://codereview.chromium.org/557263002/diff/1/chrome/android/shell/java/src/org/chromium/chrome/shell/omnibox/SuggestionArrayAdapter.java File chrome/android/shell/java/src/org/chromium/chrome/shell/omnibox/SuggestionArrayAdapter.java (right): https://codereview.chromium.org/557263002/diff/1/chrome/android/shell/java/src/org/chromium/chrome/shell/omnibox/SuggestionArrayAdapter.java#newcode49 chrome/android/shell/java/src/org/chromium/chrome/shell/omnibox/SuggestionArrayAdapter.java:49: t1.setText(suggestionText); On 2014/09/10 09:15:52, ankit wrote: > On 2014/09/10 ...
6 years, 3 months ago (2014-09-10 10:40:35 UTC) #5
ankit
@Bernhard PTAL new patch. I have incorporated review comments. https://codereview.chromium.org/557263002/diff/1/chrome/android/shell/java/src/org/chromium/chrome/shell/omnibox/SuggestionPopup.java File chrome/android/shell/java/src/org/chromium/chrome/shell/omnibox/SuggestionPopup.java (right): https://codereview.chromium.org/557263002/diff/1/chrome/android/shell/java/src/org/chromium/chrome/shell/omnibox/SuggestionPopup.java#newcode144 chrome/android/shell/java/src/org/chromium/chrome/shell/omnibox/SuggestionPopup.java:144: ...
6 years, 3 months ago (2014-09-10 11:16:56 UTC) #6
Bernhard Bauer
LG, but please wait for Ted's review before landing. Thanks!
6 years, 3 months ago (2014-09-10 11:24:09 UTC) #7
ankit
On 2014/09/10 11:24:09, Bernhard Bauer wrote: > LG, but please wait for Ted's review before ...
6 years, 3 months ago (2014-09-10 11:57:03 UTC) #8
Ted C
On 2014/09/10 11:57:03, ankit wrote: > On 2014/09/10 11:24:09, Bernhard Bauer wrote: > > LG, ...
6 years, 3 months ago (2014-09-11 20:25:59 UTC) #9
ankit
On 2014/09/11 20:25:59, Ted C wrote: > On 2014/09/10 11:57:03, ankit wrote: > > On ...
6 years, 3 months ago (2014-09-12 03:38:36 UTC) #10
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patchset/557263002/20001
6 years, 3 months ago (2014-09-12 03:39:54 UTC) #12
commit-bot: I haz the power
Committed patchset #2 (id:20001) as e4a16d293aca3a8ef30e607f0809956b519d651d
6 years, 3 months ago (2014-09-12 04:43:22 UTC) #13
commit-bot: I haz the power
6 years, 3 months ago (2014-09-12 04:45:09 UTC) #14
Message was sent while issue was closed.
Patchset 2 (id:??) landed as
https://crrev.com/bfc368c441b4f318bc32ab889ff04faefebec379
Cr-Commit-Position: refs/heads/master@{#294542}

Powered by Google App Engine
This is Rietveld 408576698