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

Issue 15003002: Omnibox refactor. Move StartAutocomplete and DoInstant to controller. (Closed)

Created:
7 years, 7 months ago by beaudoin
Modified:
7 years, 6 months ago
CC:
chromium-reviews
Visibility:
Public.

Description

Patch Set 1 #

Patch Set 2 : #

Patch Set 3 : Passing InstantController as a parameter. #

Patch Set 4 : Rebased #

Patch Set 5 : Rebased on ToT. #

Patch Set 6 : Reverted dummy test. #

Total comments: 4

Patch Set 7 : Fixed nits #

Patch Set 8 : Fixed mac build #

Patch Set 9 : Fixed failing browser test. #

Patch Set 10 : Using InstantExtended from Browser again, as it can die before OmniboxController. #

Patch Set 11 : Fixed unit test. #

Total comments: 8

Patch Set 12 : Answered Sreeram's comments. #

Total comments: 2

Patch Set 13 : FIxed NIT #

Unified diffs Side-by-side diffs Delta from patch set Stats (+183 lines, -156 lines) Patch
M chrome/browser/ui/browser_instant_controller.h View 1 2 3 4 5 6 7 8 9 10 11 1 chunk +0 lines, -4 lines 0 comments Download
M chrome/browser/ui/browser_instant_controller.cc View 1 2 3 4 5 6 7 8 9 10 11 1 chunk +0 lines, -6 lines 0 comments Download
M chrome/browser/ui/cocoa/omnibox/omnibox_view_mac.mm View 1 2 3 4 5 6 7 8 9 1 chunk +1 line, -1 line 0 comments Download
M chrome/browser/ui/gtk/omnibox/omnibox_view_gtk.cc View 1 2 3 4 5 6 7 8 9 2 chunks +2 lines, -2 lines 0 comments Download
M chrome/browser/ui/omnibox/omnibox_controller.h View 1 2 3 4 5 6 7 8 9 4 chunks +31 lines, -1 line 0 comments Download
M chrome/browser/ui/omnibox/omnibox_controller.cc View 1 2 3 4 5 6 7 8 9 10 11 5 chunks +87 lines, -9 lines 0 comments Download
M chrome/browser/ui/omnibox/omnibox_controller_unittest.cc View 1 2 3 4 5 6 7 8 9 10 2 chunks +0 lines, -5 lines 0 comments Download
M chrome/browser/ui/omnibox/omnibox_edit_model.h View 1 2 3 4 5 6 7 8 9 6 chunks +13 lines, -21 lines 0 comments Download
M chrome/browser/ui/omnibox/omnibox_edit_model.cc View 1 2 3 4 5 6 7 8 9 10 11 12 15 chunks +47 lines, -105 lines 0 comments Download
M chrome/browser/ui/views/omnibox/omnibox_view_views.cc View 1 2 3 4 5 6 7 8 9 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 6 7 8 9 1 chunk +1 line, -1 line 0 comments Download

Messages

Total messages: 14 (0 generated)
beaudoin
Here's the third round of the refactor. A lot of Autocomplete + Instant is now ...
7 years, 7 months ago (2013-05-07 16:52:05 UTC) #1
beaudoin
+pkasting for OWNERS This is ready for review. Sreeram should check the logic but I'm ...
7 years, 7 months ago (2013-05-24 16:38:25 UTC) #2
beaudoin
+asvitkine for cocoa +estade for GTK Needs two other OWNERS. Changes are trivial.
7 years, 7 months ago (2013-05-24 16:41:22 UTC) #3
Alexei Svitkine (slow)
trivial cocoa/ change lgtm
7 years, 7 months ago (2013-05-24 16:50:53 UTC) #4
Evan Stade
gtk lgtm
7 years, 7 months ago (2013-05-24 21:15:29 UTC) #5
Peter Kasting
The majority of the changes here affect instant-related code that I'm not really familiar with. ...
7 years, 7 months ago (2013-05-24 22:45:17 UTC) #6
beaudoin
https://codereview.chromium.org/15003002/diff/18012/chrome/browser/ui/omnibox/omnibox_edit_model.h File chrome/browser/ui/omnibox/omnibox_edit_model.h (right): https://codereview.chromium.org/15003002/diff/18012/chrome/browser/ui/omnibox/omnibox_edit_model.h#newcode163 chrome/browser/ui/omnibox/omnibox_edit_model.h:163: // Commits the gray suggested text as if it's ...
7 years, 7 months ago (2013-05-27 18:10:54 UTC) #7
sreeram
https://codereview.chromium.org/15003002/diff/58001/chrome/browser/ui/browser_instant_controller.h File chrome/browser/ui/browser_instant_controller.h (right): https://codereview.chromium.org/15003002/diff/58001/chrome/browser/ui/browser_instant_controller.h#newcode71 chrome/browser/ui/browser_instant_controller.h:71: void CommitSuggestedText(); I think this method can be entirely ...
7 years, 6 months ago (2013-05-29 15:40:24 UTC) #8
beaudoin
https://codereview.chromium.org/15003002/diff/58001/chrome/browser/ui/browser_instant_controller.h File chrome/browser/ui/browser_instant_controller.h (right): https://codereview.chromium.org/15003002/diff/58001/chrome/browser/ui/browser_instant_controller.h#newcode71 chrome/browser/ui/browser_instant_controller.h:71: void CommitSuggestedText(); On 2013/05/29 15:40:24, sreeram wrote: > I ...
7 years, 6 months ago (2013-05-29 16:19:40 UTC) #9
sreeram
LGTM All this moving stuff around is good, but the real stuff will happen once ...
7 years, 6 months ago (2013-05-29 16:34:01 UTC) #10
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/beaudoin@chromium.org/15003002/41002
7 years, 6 months ago (2013-05-29 17:00:58 UTC) #11
beaudoin
CQ bit flipped! https://codereview.chromium.org/15003002/diff/62001/chrome/browser/ui/omnibox/omnibox_edit_model.cc File chrome/browser/ui/omnibox/omnibox_edit_model.cc (right): https://codereview.chromium.org/15003002/diff/62001/chrome/browser/ui/omnibox/omnibox_edit_model.cc#newcode325 chrome/browser/ui/omnibox/omnibox_edit_model.cc:325: string16 user_text = has_temporary_text_ ? current_match.fill_into_edit ...
7 years, 6 months ago (2013-05-29 17:02:25 UTC) #12
commit-bot: I haz the power
Change committed as 202974
7 years, 6 months ago (2013-05-29 21:20:38 UTC) #13
tfarina
7 years, 6 months ago (2013-05-29 21:42:03 UTC) #14
Message was sent while issue was closed.
Your CL description says nothing about what it changes/does. It's pretty vague. 

Just "refactor".

Please, next time, go further and describe what you are doing in your CL.

If you are clean up a class, see for example how Peter describe his change in
https://codereview.chromium.org/16209002/

Powered by Google App Engine
This is Rietveld 408576698