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

Issue 10384007: First stab at touch optimized omnibox auto-complete per sgabriel's mocks. (Closed)

Created:
8 years, 7 months ago by Jói
Modified:
8 years, 7 months ago
Reviewers:
Peter Kasting, sky
CC:
chromium-reviews, James Su, varunjain, James Cook
Visibility:
Public.

Description

First stab at touch optimized omnibox auto-complete per sgabriel's mocks. This builds on varunjain@'s work from r75157 and r75414 that refactored the auto-complete classes to allow subclasses like this, and introduced a subclass based on older mocks. I think the code had at some point been disconnected and it had bitrotted a little, but mostly it still worked. BUG=126132, 125547 Committed: http://src.chromium.org/viewvc/chrome?view=rev&revision=137009

Patch Set 1 #

Patch Set 2 : . #

Total comments: 21

Patch Set 3 : Address review comments. #

Total comments: 20

Patch Set 4 : Address review comments. #

Patch Set 5 : Remove some redundant code. #

Patch Set 6 : Use stronger color. #

Total comments: 18

Patch Set 7 : Merge to LKGR (pure merge). #

Patch Set 8 : Respond to review comments. #

Total comments: 16

Patch Set 9 : Address review comments. #

Unified diffs Side-by-side diffs Delta from patch set Stats (+180 lines, -105 lines) Patch
M chrome/browser/ui/views/autocomplete/autocomplete_popup_contents_view.h View 1 2 3 3 chunks +16 lines, -5 lines 0 comments Download
M chrome/browser/ui/views/autocomplete/autocomplete_popup_contents_view.cc View 1 2 3 4 5 6 3 chunks +26 lines, -0 lines 0 comments Download
M chrome/browser/ui/views/autocomplete/autocomplete_result_view.h View 1 2 3 4 5 6 7 6 chunks +17 lines, -2 lines 0 comments Download
M chrome/browser/ui/views/autocomplete/autocomplete_result_view.cc View 1 2 3 4 5 6 7 8 6 chunks +31 lines, -25 lines 0 comments Download
M chrome/browser/ui/views/autocomplete/touch_autocomplete_popup_contents_view.h View 1 2 3 1 chunk +0 lines, -2 lines 0 comments Download
M chrome/browser/ui/views/autocomplete/touch_autocomplete_popup_contents_view.cc View 1 2 3 4 5 6 7 8 5 chunks +28 lines, -37 lines 0 comments Download
M chrome/browser/ui/views/location_bar/icon_label_bubble_view.cc View 1 2 3 3 chunks +19 lines, -7 lines 0 comments Download
M chrome/browser/ui/views/location_bar/location_bar_view.h View 1 2 3 4 5 6 7 1 chunk +6 lines, -4 lines 0 comments Download
M chrome/browser/ui/views/location_bar/location_bar_view.cc View 1 2 3 4 5 6 7 9 chunks +34 lines, -19 lines 0 comments Download
M chrome/browser/ui/views/omnibox/omnibox_view_views.cc View 1 2 3 4 5 1 chunk +1 line, -1 line 0 comments Download
M chrome/browser/ui/views/omnibox/omnibox_view_win.cc View 1 2 3 4 5 1 chunk +2 lines, -3 lines 0 comments Download

Messages

Total messages: 21 (0 generated)
Jói
8 years, 7 months ago (2012-05-04 17:20:27 UTC) #1
sky
Peter should review this one.
8 years, 7 months ago (2012-05-04 19:06:43 UTC) #2
Peter Kasting
http://codereview.chromium.org/10384007/diff/10/chrome/browser/ui/views/autocomplete/autocomplete_popup_contents_view.cc File chrome/browser/ui/views/autocomplete/autocomplete_popup_contents_view.cc (right): http://codereview.chromium.org/10384007/diff/10/chrome/browser/ui/views/autocomplete/autocomplete_popup_contents_view.cc#newcode26 chrome/browser/ui/views/autocomplete/autocomplete_popup_contents_view.cc:26: #include "ui/base/layout.h" Nit: I think this goes below the ...
8 years, 7 months ago (2012-05-04 23:33:31 UTC) #3
Jói
Peter, thanks for the thorough review. I wanted to address some of the points you ...
8 years, 7 months ago (2012-05-04 23:52:19 UTC) #4
Jói
Please take another look, I've addressed all comments. Cheers, Jói http://codereview.chromium.org/10384007/diff/10/chrome/browser/ui/views/autocomplete/autocomplete_popup_contents_view.cc File chrome/browser/ui/views/autocomplete/autocomplete_popup_contents_view.cc (right): http://codereview.chromium.org/10384007/diff/10/chrome/browser/ui/views/autocomplete/autocomplete_popup_contents_view.cc#newcode26 ...
8 years, 7 months ago (2012-05-07 16:26:18 UTC) #5
Peter Kasting
http://codereview.chromium.org/10384007/diff/8001/chrome/browser/ui/views/autocomplete/autocomplete_popup_contents_view.h File chrome/browser/ui/views/autocomplete/autocomplete_popup_contents_view.h (right): http://codereview.chromium.org/10384007/diff/8001/chrome/browser/ui/views/autocomplete/autocomplete_popup_contents_view.h#newcode43 chrome/browser/ui/views/autocomplete/autocomplete_popup_contents_view.h:43: AutocompletePopupContentsView(const gfx::Font& font, Nit: This can become protected. http://codereview.chromium.org/10384007/diff/8001/chrome/browser/ui/views/autocomplete/autocomplete_popup_contents_view.h#newcode49 ...
8 years, 7 months ago (2012-05-07 21:03:12 UTC) #6
Jói
Hi, sorry, forgot to update my auto-responder to say that I would be on a ...
8 years, 7 months ago (2012-05-08 01:57:52 UTC) #7
Jói
Remove some redundant code.
8 years, 7 months ago (2012-05-10 18:32:29 UTC) #8
Jói
Hi Peter, Please take another look. I believe this addresses the stuff we talked about ...
8 years, 7 months ago (2012-05-10 18:33:07 UTC) #9
Jói
Friendly ping :) On Thu, May 10, 2012 at 11:33 AM, <joi@chromium.org> wrote: > Hi ...
8 years, 7 months ago (2012-05-11 17:35:09 UTC) #10
Jói
Use stronger color.
8 years, 7 months ago (2012-05-11 22:08:19 UTC) #11
Peter Kasting
http://codereview.chromium.org/10384007/diff/13017/chrome/browser/ui/views/autocomplete/autocomplete_result_view.cc File chrome/browser/ui/views/autocomplete/autocomplete_result_view.cc (right): http://codereview.chromium.org/10384007/diff/13017/chrome/browser/ui/views/autocomplete/autocomplete_result_view.cc#newcode180 chrome/browser/ui/views/autocomplete/autocomplete_result_view.cc:180: colors[i][DIVIDER] = color_utils::AlphaBlend(colors[i][TEXT], Nit: How about just: // TODO(joi): ...
8 years, 7 months ago (2012-05-11 23:01:40 UTC) #12
Jói
Will address your nits later, but wanted to address one question right away. Hoping you ...
8 years, 7 months ago (2012-05-11 23:09:24 UTC) #13
Jói
Merge to LKGR (pure merge).
8 years, 7 months ago (2012-05-14 17:48:39 UTC) #14
Jói
Respond to review comments.
8 years, 7 months ago (2012-05-14 18:28:51 UTC) #15
Jói
http://codereview.chromium.org/10384007/diff/13017/chrome/browser/ui/views/autocomplete/autocomplete_result_view.cc File chrome/browser/ui/views/autocomplete/autocomplete_result_view.cc (right): http://codereview.chromium.org/10384007/diff/13017/chrome/browser/ui/views/autocomplete/autocomplete_result_view.cc#newcode180 chrome/browser/ui/views/autocomplete/autocomplete_result_view.cc:180: colors[i][DIVIDER] = color_utils::AlphaBlend(colors[i][TEXT], On 2012/05/11 23:01:41, Peter Kasting wrote: ...
8 years, 7 months ago (2012-05-14 18:29:44 UTC) #16
Peter Kasting
LGTM, remaining comments are trivial formatting http://codereview.chromium.org/10384007/diff/15004/chrome/browser/ui/views/autocomplete/autocomplete_result_view.cc File chrome/browser/ui/views/autocomplete/autocomplete_result_view.cc (right): http://codereview.chromium.org/10384007/diff/15004/chrome/browser/ui/views/autocomplete/autocomplete_result_view.cc#newcode180 chrome/browser/ui/views/autocomplete/autocomplete_result_view.cc:180: colors[i][DIVIDER] = color_utils::AlphaBlend(colors[i][TEXT], ...
8 years, 7 months ago (2012-05-14 20:16:20 UTC) #17
Jói
Address review comments.
8 years, 7 months ago (2012-05-14 21:08:57 UTC) #18
Jói
Thanks, committing. http://codereview.chromium.org/10384007/diff/15004/chrome/browser/ui/views/autocomplete/autocomplete_result_view.cc File chrome/browser/ui/views/autocomplete/autocomplete_result_view.cc (right): http://codereview.chromium.org/10384007/diff/15004/chrome/browser/ui/views/autocomplete/autocomplete_result_view.cc#newcode180 chrome/browser/ui/views/autocomplete/autocomplete_result_view.cc:180: colors[i][DIVIDER] = color_utils::AlphaBlend(colors[i][TEXT], On 2012/05/14 20:16:21, Peter ...
8 years, 7 months ago (2012-05-14 21:09:24 UTC) #19
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/joi@chromium.org/10384007/21001
8 years, 7 months ago (2012-05-14 21:09:43 UTC) #20
commit-bot: I haz the power
8 years, 7 months ago (2012-05-14 23:39:12 UTC) #21
Change committed as 137009

Powered by Google App Engine
This is Rietveld 408576698