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

Issue 21042013: Have SearchProvider look up the omnibox start margin directly. (Closed)

Created:
7 years, 4 months ago by jeremycho
Modified:
7 years, 4 months ago
CC:
chromium-reviews, skanuj+watch_chromium.org, melevin+watch_chromium.org, dhollowa+watch_chromium.org, dougw+watch_chromium.org, donnd+watch_chromium.org, mad+watch_chromium.org, dominich, jfweitz+watch_chromium.org, David Black, samarth+watch_chromium.org, tfarina, kmadhusu+watch_chromium.org, James Su, Jered
Base URL:
https://git.chromium.org/chromium/src.git@master
Visibility:
Public.

Description

Have SearchProvider look up the omnibox start margin directly. BUG=261834 Committed: https://src.chromium.org/viewvc/chrome?view=rev&revision=216812

Patch Set 1 #

Patch Set 2 : Rebase. #

Total comments: 2

Patch Set 3 : Rebase. #

Patch Set 4 : Respond to comments. #

Total comments: 4

Patch Set 5 : Respond to comments. #

Total comments: 4

Patch Set 6 : Rebase and respond to comments. #

Total comments: 1
Unified diffs Side-by-side diffs Delta from patch set Stats (+33 lines, -52 lines) Patch
M chrome/browser/autocomplete/search_provider.h View 1 2 2 chunks +0 lines, -6 lines 0 comments Download
M chrome/browser/autocomplete/search_provider.cc View 1 2 3 4 5 4 chunks +21 lines, -7 lines 1 comment Download
M chrome/browser/ui/cocoa/location_bar/location_bar_view_mac.h View 1 chunk +0 lines, -1 line 0 comments Download
M chrome/browser/ui/cocoa/location_bar/location_bar_view_mac.mm View 1 chunk +0 lines, -4 lines 0 comments Download
M chrome/browser/ui/cocoa/omnibox/omnibox_view_mac_unittest.mm View 2 chunks +0 lines, -2 lines 0 comments Download
M chrome/browser/ui/gtk/location_bar_view_gtk.h View 1 chunk +0 lines, -1 line 0 comments Download
M chrome/browser/ui/gtk/location_bar_view_gtk.cc View 1 2 chunks +0 lines, -7 lines 0 comments Download
M chrome/browser/ui/gtk/omnibox/omnibox_view_gtk_unittest.cc View 2 chunks +0 lines, -2 lines 0 comments Download
M chrome/browser/ui/omnibox/omnibox_controller.h View 1 1 chunk +1 line, -2 lines 0 comments Download
M chrome/browser/ui/omnibox/omnibox_controller.cc View 1 1 chunk +1 line, -7 lines 0 comments Download
M chrome/browser/ui/omnibox/omnibox_edit_controller.h View 2 chunks +0 lines, -4 lines 0 comments Download
M chrome/browser/ui/omnibox/omnibox_edit_model.cc View 1 2 3 4 5 1 chunk +1 line, -2 lines 0 comments Download
M chrome/browser/ui/omnibox/omnibox_edit_unittest.cc View 2 chunks +0 lines, -2 lines 0 comments Download
M chrome/browser/ui/search/instant_controller.h View 1 2 3 4 5 2 chunks +9 lines, -0 lines 0 comments Download
M chrome/browser/ui/views/location_bar/location_bar_view.h View 1 chunk +0 lines, -1 line 0 comments Download
M chrome/browser/ui/views/location_bar/location_bar_view.cc View 1 1 chunk +0 lines, -4 lines 0 comments Download

Messages

Total messages: 15 (0 generated)
jeremycho
Hi Samarth - can you take a look before I send this out for OWNERs ...
7 years, 4 months ago (2013-07-31 19:48:24 UTC) #1
jeremycho
friendly ping
7 years, 4 months ago (2013-08-02 20:10:29 UTC) #2
samarth
FYI I'd prefer to take all of this out (c.f. the other thread about inline ...
7 years, 4 months ago (2013-08-02 22:46:57 UTC) #3
samarth
Ok, we should fix crbug.com/247517 but in the meantime, this does improve things. Can you ...
7 years, 4 months ago (2013-08-06 18:09:32 UTC) #4
jeremycho
Rebased. https://codereview.chromium.org/21042013/diff/5001/chrome/browser/ui/search/instant_controller.h File chrome/browser/ui/search/instant_controller.h (right): https://codereview.chromium.org/21042013/diff/5001/chrome/browser/ui/search/instant_controller.h#newcode63 chrome/browser/ui/search/instant_controller.h:63: gfx::Rect GetOmniboxBounds(); On 2013/08/06 18:09:32, samarth wrote: > ...
7 years, 4 months ago (2013-08-06 21:03:04 UTC) #5
samarth
lgtm for search +pkasting for OWNERS. Peter, see my comment above and the updates in ...
7 years, 4 months ago (2013-08-07 16:19:06 UTC) #6
jeremycho
https://codereview.chromium.org/21042013/diff/17001/chrome/browser/autocomplete/search_provider.cc File chrome/browser/autocomplete/search_provider.cc (right): https://codereview.chromium.org/21042013/diff/17001/chrome/browser/autocomplete/search_provider.cc#newcode1385 chrome/browser/autocomplete/search_provider.cc:1385: #if !defined(OS_ANDROID) On 2013/08/07 16:19:07, samarth wrote: > nit: ...
7 years, 4 months ago (2013-08-07 22:16:04 UTC) #7
jeremycho
ping pkasting
7 years, 4 months ago (2013-08-09 16:43:48 UTC) #8
Peter Kasting
LGTM https://codereview.chromium.org/21042013/diff/22001/chrome/browser/autocomplete/search_provider.cc File chrome/browser/autocomplete/search_provider.cc (right): https://codereview.chromium.org/21042013/diff/22001/chrome/browser/autocomplete/search_provider.cc#newcode1385 chrome/browser/autocomplete/search_provider.cc:1385: // browser_finder does not exist for Android. On ...
7 years, 4 months ago (2013-08-09 21:03:46 UTC) #9
jeremycho
https://codereview.chromium.org/21042013/diff/22001/chrome/browser/autocomplete/search_provider.cc File chrome/browser/autocomplete/search_provider.cc (right): https://codereview.chromium.org/21042013/diff/22001/chrome/browser/autocomplete/search_provider.cc#newcode1385 chrome/browser/autocomplete/search_provider.cc:1385: // browser_finder does not exist for Android. On IOS, ...
7 years, 4 months ago (2013-08-09 23:55:09 UTC) #10
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/jeremycho@chromium.org/21042013/35001
7 years, 4 months ago (2013-08-09 23:57:43 UTC) #11
commit-bot: I haz the power
Step "update" is always a major failure. Look at the try server FAQ for more ...
7 years, 4 months ago (2013-08-10 00:28:08 UTC) #12
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/jeremycho@chromium.org/21042013/35001
7 years, 4 months ago (2013-08-10 01:40:44 UTC) #13
commit-bot: I haz the power
Change committed as 216812
7 years, 4 months ago (2013-08-10 07:06:43 UTC) #14
pkl (ping after 24h if needed)
7 years, 4 months ago (2013-08-14 13:25:15 UTC) #15
Message was sent while issue was closed.
jeremycho: It would be great if you can fix the IOS -> OS_IOS in an upstream CL.
Otherwise, I'll fix it later.

Peter.

https://chromiumcodereview.appspot.com/21042013/diff/35001/chrome/browser/aut...
File chrome/browser/autocomplete/search_provider.cc (right):

https://chromiumcodereview.appspot.com/21042013/diff/35001/chrome/browser/aut...
chrome/browser/autocomplete/search_provider.cc:1387: #if !defined(OS_ANDROID) &&
!defined(IOS)
iOS should be !defined(OS_IOS)
Unfortunately, this mistake often happens.

Powered by Google App Engine
This is Rietveld 408576698