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

Issue 2373773002: Fix a bug that viewed Omnibox hint when hint loses focus (Closed)

Created:
4 years, 2 months ago by Marco Koo
Modified:
3 years, 9 months ago
Reviewers:
Peter Kasting
CC:
chromium-reviews, simonhong, zino
Target Ref:
refs/pending/heads/master
Project:
chromium
Visibility:
Public.

Description

Fix a bug that viewed Omnibox hint when hint loses focus. In the current implementation, If we input search engine such as 'google.com' in omnibox, 'Press tab to search' hint displays. Then the hint does not disappear in spite of the loss of omnibox focus. So, I modified OnFocus() and OnBlur() in omnibox_view_views.cc that focus changes affect the visibility of any keyword hint. BUG=649938 Review-Url: https://codereview.chromium.org/2373773002 Cr-Commit-Position: refs/heads/master@{#455429} Committed: https://chromium.googlesource.com/chromium/src/+/8af82bd5840c4c51bb1e31055446808abda90e7b

Patch Set 1 : Add my name #

Patch Set 2 : Fixed a bug that viewed Omnibox hint when hint loses focus #

Patch Set 3 : Fixed a bug that viewed Omnibox hint when hint loses focus #

Patch Set 4 : Revise code indentation and add comment #

Total comments: 7

Patch Set 5 : Fixed a bug that viewed Omnibox hint when hint loses focus #

Total comments: 4

Patch Set 6 : Fixed a bug that viewed Omnibox hint when hint loses focus #

Patch Set 7 : Fixed a bug that viewed Omnibox hint when hint loses focus #

Patch Set 8 : Fixed a bug that viewed Omnibox hint when hint loses focus #

Total comments: 2

Patch Set 9 : Fixed a bug that viewed Omnibox hint when hint loses focus. #

Total comments: 1

Patch Set 10 : Fixed a bug that viewed Omnibox hint when hint loses focus. #

Patch Set 11 : Fixed a bug that viewed Omnibox hint when hint loses focus. #

Unified diffs Side-by-side diffs Delta from patch set Stats (+12 lines, -2 lines) Patch
M AUTHORS View 1 2 3 4 5 2 chunks +2 lines, -1 line 0 comments Download
M chrome/browser/ui/views/location_bar/location_bar_view.cc View 1 2 3 4 5 6 7 1 chunk +2 lines, -1 line 0 comments Download
M chrome/browser/ui/views/omnibox/omnibox_view_views.cc View 1 2 3 4 5 6 7 8 9 2 chunks +8 lines, -0 lines 0 comments Download

Messages

Total messages: 58 (36 generated)
Marco Koo
PTAL
4 years, 2 months ago (2016-09-29 18:02:18 UTC) #4
Peter Kasting
Thanks for contributing to Chromium. A couple process notes: * Prefer to work on bugs ...
4 years, 2 months ago (2016-09-30 22:47:26 UTC) #10
Marco Koo
Thank you for your comment. I wonder what you think about this issue will be ...
4 years, 2 months ago (2016-10-02 15:10:48 UTC) #12
Peter Kasting
On 2016/10/02 15:10:48, min wrote: > Thank you for your comment. > I wonder what ...
4 years, 2 months ago (2016-10-02 19:01:37 UTC) #13
Peter Kasting
What's the status of this CL? Note also https://codereview.chromium.org/2381373003/ and my comments there.
3 years, 10 months ago (2017-02-11 01:57:54 UTC) #14
Marco Koo
On 2016/10/02 19:01:37, Peter Kasting wrote: > On 2016/10/02 15:10:48, min wrote: > > Thank ...
3 years, 10 months ago (2017-02-12 06:19:55 UTC) #16
Peter Kasting
On 2017/02/12 06:19:55, min wrote: > I modified it according to your advice, but it ...
3 years, 10 months ago (2017-02-12 07:36:39 UTC) #17
Marco Koo
On 2017/02/12 07:36:39, Peter Kasting wrote: > On 2017/02/12 06:19:55, min wrote: > > I ...
3 years, 10 months ago (2017-02-14 10:58:23 UTC) #19
Peter Kasting
Just setting the visibility of the view seems potentially wrong, since the rest of layout ...
3 years, 10 months ago (2017-02-14 11:13:08 UTC) #20
Marco Koo
On 2017/02/14 11:13:08, Peter Kasting wrote: > Just setting the visibility of the view seems ...
3 years, 10 months ago (2017-02-15 04:31:23 UTC) #26
Peter Kasting
On 2017/02/15 04:31:23, min wrote: > On 2017/02/14 11:13:08, Peter Kasting wrote: > > Just ...
3 years, 10 months ago (2017-02-15 05:24:56 UTC) #27
Marco Koo
Could you check patch set 8? I call layout when gaining or losing focus.
3 years, 10 months ago (2017-02-24 04:02:04 UTC) #30
Peter Kasting
LGTM https://codereview.chromium.org/2373773002/diff/220001/chrome/browser/ui/views/omnibox/omnibox_view_views.cc File chrome/browser/ui/views/omnibox/omnibox_view_views.cc (right): https://codereview.chromium.org/2373773002/diff/220001/chrome/browser/ui/views/omnibox/omnibox_view_views.cc#newcode809 chrome/browser/ui/views/omnibox/omnibox_view_views.cc:809: // Hint is being visible. If losing focus, ...
3 years, 10 months ago (2017-02-25 05:23:09 UTC) #31
zino
min@, Could you update this issue? Once you fix the owner's comments, you can land ...
3 years, 9 months ago (2017-03-07 03:13:12 UTC) #32
Marco Koo
On 2017/02/25 05:23:09, Peter Kasting wrote: > LGTM > > https://codereview.chromium.org/2373773002/diff/220001/chrome/browser/ui/views/omnibox/omnibox_view_views.cc > File chrome/browser/ui/views/omnibox/omnibox_view_views.cc (right): ...
3 years, 9 months ago (2017-03-07 04:02:51 UTC) #33
Peter Kasting
LGTM There's no need to get a re-review after LGTM if you've addressed all feedback; ...
3 years, 9 months ago (2017-03-07 04:11:23 UTC) #34
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/v2/patch-status/codereview.chromium.org/2373773002/260001
3 years, 9 months ago (2017-03-07 05:11:33 UTC) #37
commit-bot: I haz the power
Try jobs failed on following builders: chromium_presubmit on master.tryserver.chromium.linux (JOB_FAILED, http://build.chromium.org/p/tryserver.chromium.linux/builders/chromium_presubmit/builds/379488)
3 years, 9 months ago (2017-03-07 05:24:32 UTC) #39
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/v2/patch-status/codereview.chromium.org/2373773002/280001
3 years, 9 months ago (2017-03-07 08:34:35 UTC) #42
commit-bot: I haz the power
Try jobs failed on following builders: chromium_presubmit on master.tryserver.chromium.linux (JOB_FAILED, http://build.chromium.org/p/tryserver.chromium.linux/builders/chromium_presubmit/builds/379608)
3 years, 9 months ago (2017-03-07 08:40:53 UTC) #44
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/v2/patch-status/codereview.chromium.org/2373773002/280001
3 years, 9 months ago (2017-03-08 10:57:13 UTC) #55
commit-bot: I haz the power
3 years, 9 months ago (2017-03-08 11:04:52 UTC) #58
Message was sent while issue was closed.
Committed patchset #11 (id:280001) as
https://chromium.googlesource.com/chromium/src/+/8af82bd5840c4c51bb1e31055446...

Powered by Google App Engine
This is Rietveld 408576698