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

Issue 1943683002: Refactor OmniboxEditModel::user_text_ to not include keyword (Closed)

Created:
4 years, 7 months ago by Tom (Use chromium acct)
Modified:
4 years, 7 months ago
Reviewers:
Peter Kasting
CC:
chromium-reviews
Base URL:
https://chromium.googlesource.com/chromium/src.git@master
Target Ref:
refs/pending/heads/master
Project:
chromium
Visibility:
Public.

Description

Refactor OmniboxEditModel::user_text_ to not include keyword Committed: https://crrev.com/2f005e51521f7e9f9695758b3400e0acd4d7bfc0 Cr-Commit-Position: refs/heads/master@{#394553}

Patch Set 1 #

Patch Set 2 : Cleaned up a bit #

Total comments: 8

Patch Set 3 : Refactor, remove unnecessary calls to MaybeStripKeyword #

Total comments: 12

Patch Set 4 : Bugfixes #

Patch Set 5 : Fix unit test compilation #

Patch Set 6 : Fix Windows test #

Patch Set 7 : Bugfixes #

Patch Set 8 : Restore keyword state on tab switch #

Total comments: 16

Patch Set 9 : Add test coverage & refactor #

Unified diffs Side-by-side diffs Delta from patch set Stats (+68 lines, -54 lines) Patch
M chrome/browser/ui/omnibox/omnibox_view_browsertest.cc View 1 2 3 4 5 6 7 8 4 chunks +21 lines, -4 lines 0 comments Download
M chrome/browser/ui/views/accessibility/navigation_accessibility_uitest_win.cc View 1 2 3 4 5 1 chunk +0 lines, -1 line 0 comments Download
M chrome/browser/ui/views/omnibox/omnibox_view_views.h View 1 2 3 1 chunk +0 lines, -1 line 0 comments Download
M chrome/browser/ui/views/omnibox/omnibox_view_views.cc View 1 2 3 2 chunks +2 lines, -3 lines 0 comments Download
M components/omnibox/browser/omnibox_edit_model.h View 1 chunk +2 lines, -2 lines 0 comments Download
M components/omnibox/browser/omnibox_edit_model.cc View 1 2 3 4 5 6 7 8 15 chunks +40 lines, -36 lines 0 comments Download
M components/omnibox/browser/omnibox_edit_unittest.cc View 1 2 3 4 1 chunk +1 line, -2 lines 0 comments Download
M components/omnibox/browser/omnibox_view.h View 1 2 3 1 chunk +0 lines, -1 line 0 comments Download
M components/omnibox/browser/omnibox_view.cc View 1 2 3 1 chunk +2 lines, -4 lines 0 comments Download

Messages

Total messages: 43 (15 generated)
Tom (Use chromium acct)
4 years, 7 months ago (2016-05-07 01:03:27 UTC) #2
Peter Kasting
https://codereview.chromium.org/1943683002/diff/20001/components/omnibox/browser/omnibox_edit_model.cc File components/omnibox/browser/omnibox_edit_model.cc (right): https://codereview.chromium.org/1943683002/diff/20001/components/omnibox/browser/omnibox_edit_model.cc#newcode248 components/omnibox/browser/omnibox_edit_model.cc:248: state->user_text, false); Nit: Rewrap https://codereview.chromium.org/1943683002/diff/20001/components/omnibox/browser/omnibox_edit_model.cc#newcode343 components/omnibox/browser/omnibox_edit_model.cc:343: user_text_ = MaybeStripKeyword(temp); ...
4 years, 7 months ago (2016-05-07 01:42:40 UTC) #3
Tom (Use chromium acct)
https://codereview.chromium.org/1943683002/diff/20001/components/omnibox/browser/omnibox_edit_model.cc File components/omnibox/browser/omnibox_edit_model.cc (right): https://codereview.chromium.org/1943683002/diff/20001/components/omnibox/browser/omnibox_edit_model.cc#newcode248 components/omnibox/browser/omnibox_edit_model.cc:248: state->user_text, false); On 2016/05/07 01:42:39, Peter Kasting wrote: > ...
4 years, 7 months ago (2016-05-09 18:53:49 UTC) #4
Peter Kasting
https://codereview.chromium.org/1943683002/diff/40001/components/omnibox/browser/omnibox_edit_model.cc File components/omnibox/browser/omnibox_edit_model.cc (right): https://codereview.chromium.org/1943683002/diff/40001/components/omnibox/browser/omnibox_edit_model.cc#newcode206 components/omnibox/browser/omnibox_edit_model.cc:206: const base::string16 user_text(user_text_); I think this change means we'll ...
4 years, 7 months ago (2016-05-09 23:15:54 UTC) #5
Tom (Use chromium acct)
https://codereview.chromium.org/1943683002/diff/40001/components/omnibox/browser/omnibox_edit_model.cc File components/omnibox/browser/omnibox_edit_model.cc (right): https://codereview.chromium.org/1943683002/diff/40001/components/omnibox/browser/omnibox_edit_model.cc#newcode206 components/omnibox/browser/omnibox_edit_model.cc:206: const base::string16 user_text(user_text_); On 2016/05/09 23:15:53, Peter Kasting wrote: ...
4 years, 7 months ago (2016-05-10 04:54:50 UTC) #6
commit-bot: I haz the power
Dry run: CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1943683002/60001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1943683002/60001
4 years, 7 months ago (2016-05-10 04:55:19 UTC) #8
commit-bot: I haz the power
Dry run: Try jobs failed on following builders: ios-device-gn on tryserver.chromium.mac (JOB_FAILED, http://build.chromium.org/p/tryserver.chromium.mac/builders/ios-device-gn/builds/2875) ios-simulator-gn on ...
4 years, 7 months ago (2016-05-10 05:01:53 UTC) #10
commit-bot: I haz the power
Dry run: CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1943683002/80001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1943683002/80001
4 years, 7 months ago (2016-05-10 16:52:26 UTC) #12
commit-bot: I haz the power
Dry run: Try jobs failed on following builders: win_chromium_rel_ng on tryserver.chromium.win (JOB_FAILED, http://build.chromium.org/p/tryserver.chromium.win/builders/win_chromium_rel_ng/builds/219053)
4 years, 7 months ago (2016-05-10 17:16:54 UTC) #14
Tom (Use chromium acct)
I'm debugging the new test failures, specifically OmniboxViewTest::AcceptKeywordBySpace, and it looks like there's a race ...
4 years, 7 months ago (2016-05-10 19:59:44 UTC) #15
Peter Kasting
On 2016/05/10 19:59:44, Tom Anderson wrote: > I'm debugging the new test failures, specifically > ...
4 years, 7 months ago (2016-05-11 00:39:06 UTC) #16
commit-bot: I haz the power
Dry run: CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1943683002/100001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1943683002/100001
4 years, 7 months ago (2016-05-11 05:40:23 UTC) #18
commit-bot: I haz the power
Dry run: Try jobs failed on following builders: linux_chromium_chromeos_ozone_rel_ng on tryserver.chromium.linux (JOB_FAILED, http://build.chromium.org/p/tryserver.chromium.linux/builders/linux_chromium_chromeos_ozone_rel_ng/builds/168139)
4 years, 7 months ago (2016-05-11 06:17:34 UTC) #20
commit-bot: I haz the power
Dry run: CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1943683002/120001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1943683002/120001
4 years, 7 months ago (2016-05-14 05:07:33 UTC) #22
commit-bot: I haz the power
Dry run: Try jobs failed on following builders: mac_chromium_rel_ng on tryserver.chromium.mac (JOB_FAILED, http://build.chromium.org/p/tryserver.chromium.mac/builders/mac_chromium_rel_ng/builds/227759)
4 years, 7 months ago (2016-05-14 06:02:37 UTC) #24
commit-bot: I haz the power
Dry run: CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1943683002/140001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1943683002/140001
4 years, 7 months ago (2016-05-14 19:45:16 UTC) #26
commit-bot: I haz the power
Dry run: This issue passed the CQ dry run.
4 years, 7 months ago (2016-05-14 21:10:23 UTC) #28
Tom (Use chromium acct)
Fixed tests
4 years, 7 months ago (2016-05-14 21:26:37 UTC) #29
Tom (Use chromium acct)
On 2016/05/14 21:26:37, Tom Anderson wrote: > Fixed tests Ping
4 years, 7 months ago (2016-05-17 18:27:10 UTC) #30
Peter Kasting
https://codereview.chromium.org/1943683002/diff/140001/components/omnibox/browser/omnibox_edit_model.cc File components/omnibox/browser/omnibox_edit_model.cc (right): https://codereview.chromium.org/1943683002/diff/140001/components/omnibox/browser/omnibox_edit_model.cc#newcode311 components/omnibox/browser/omnibox_edit_model.cc:311: is_keyword_hint_ = false; What caller(s) of this function require ...
4 years, 7 months ago (2016-05-18 03:32:23 UTC) #31
Peter Kasting
Also, is it possible to add tests for any of the problems I've pointed out ...
4 years, 7 months ago (2016-05-18 03:33:15 UTC) #32
Tom (Use chromium acct)
https://codereview.chromium.org/1943683002/diff/140001/components/omnibox/browser/omnibox_edit_model.cc File components/omnibox/browser/omnibox_edit_model.cc (right): https://codereview.chromium.org/1943683002/diff/140001/components/omnibox/browser/omnibox_edit_model.cc#newcode311 components/omnibox/browser/omnibox_edit_model.cc:311: is_keyword_hint_ = false; On 2016/05/18 03:32:22, Peter Kasting wrote: ...
4 years, 7 months ago (2016-05-18 19:15:36 UTC) #34
commit-bot: I haz the power
Dry run: CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1943683002/160001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1943683002/160001
4 years, 7 months ago (2016-05-18 19:16:00 UTC) #35
Peter Kasting
LGTM
4 years, 7 months ago (2016-05-18 19:24:08 UTC) #36
commit-bot: I haz the power
Dry run: This issue passed the CQ dry run.
4 years, 7 months ago (2016-05-18 20:06:18 UTC) #38
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1943683002/160001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1943683002/160001
4 years, 7 months ago (2016-05-18 21:19:18 UTC) #40
commit-bot: I haz the power
Committed patchset #9 (id:160001)
4 years, 7 months ago (2016-05-18 21:28:39 UTC) #41
commit-bot: I haz the power
4 years, 7 months ago (2016-05-18 21:30:33 UTC) #43
Message was sent while issue was closed.
Patchset 9 (id:??) landed as
https://crrev.com/2f005e51521f7e9f9695758b3400e0acd4d7bfc0
Cr-Commit-Position: refs/heads/master@{#394553}

Powered by Google App Engine
This is Rietveld 408576698