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

Issue 2196203002: [Mac] The infobar's top arrow should be hidden while the omnibox popup is shown (Closed)

Created:
4 years, 4 months ago by Sungmann Cho
Modified:
3 years, 8 months ago
CC:
chromium-reviews
Base URL:
https://chromium.googlesource.com/chromium/src.git@master
Target Ref:
refs/heads/master
Project:
chromium
Visibility:
Public.

Description

[Mac] The infobar's top arrow should be hidden while the omnibox popup is shown Unlike on Windows, the infobar's top arrow still remains on a screen even after the omnibox popup is displayed over it. This CL fixes this problem based on the idea (https://codereview.chromium.org/18859004) previously applied to Windows version. BUG=174077 Review-Url: https://codereview.chromium.org/2196203002 Cr-Original-Commit-Position: refs/heads/master@{#464700} Committed: https://chromium.googlesource.com/chromium/src/+/d1040f6d95719c52a3ec442c76be29d5c0630bf4 Review-Url: https://codereview.chromium.org/2196203002 Cr-Commit-Position: refs/heads/master@{#464883} Committed: https://chromium.googlesource.com/chromium/src/+/7b81dd151531dcd6b5cdbbd078fbf37e4b102adf

Patch Set 1 : The initial approach #

Patch Set 2 : The second approach #

Patch Set 3 : Sort #includes #

Patch Set 4 : Revert to the patch set 1 #

Total comments: 6

Patch Set 5 : Address comments #

Total comments: 1

Patch Set 6 : The third approach #

Total comments: 4

Patch Set 7 : Use ScopedObserver #

Patch Set 8 : Fix crasher #

Total comments: 2

Patch Set 9 : Address comments #

Unified diffs Side-by-side diffs Delta from patch set Stats (+58 lines, -0 lines) Patch
M chrome/browser/ui/cocoa/browser_window_controller.h View 1 2 3 4 5 2 chunks +8 lines, -0 lines 0 comments Download
M chrome/browser/ui/cocoa/browser_window_controller.mm View 1 2 3 4 5 6 7 8 6 chunks +50 lines, -0 lines 0 comments Download

Messages

Total messages: 41 (12 generated)
Sungmann Cho
@rsesek: I'm fixing crbug.com/174077 and this is my first try, but I'm not convinced this ...
4 years, 4 months ago (2016-08-01 10:59:57 UTC) #3
Robert Sesek
I think this is definitely in the right direction. Did you consider implementing the OmniboxPopupModelObserver ...
4 years, 4 months ago (2016-08-02 13:44:08 UTC) #4
Sungmann Cho
On 2016/08/02 13:44:08, Robert Sesek wrote: > I think this is definitely in the right ...
4 years, 4 months ago (2016-08-03 12:52:16 UTC) #5
Sungmann Cho
On 2016/08/03 12:52:16, Sungmann Cho wrote: > On 2016/08/02 13:44:08, Robert Sesek wrote: > > ...
4 years, 4 months ago (2016-08-03 13:55:14 UTC) #6
Robert Sesek
On 2016/08/03 13:55:14, Sungmann Cho wrote: > On 2016/08/03 12:52:16, Sungmann Cho wrote: > > ...
4 years, 4 months ago (2016-08-04 14:41:50 UTC) #7
Sungmann Cho
On 2016/08/04 14:41:50, Robert Sesek wrote: > On 2016/08/03 13:55:14, Sungmann Cho wrote: > > ...
4 years, 4 months ago (2016-08-04 15:23:01 UTC) #8
Sungmann Cho
@pkasting: PTAL at chrome/browser/ui/infobar_container_delegate.{h|cc}
4 years, 4 months ago (2016-08-04 16:43:38 UTC) #10
Robert Sesek
https://codereview.chromium.org/2196203002/diff/60001/chrome/browser/ui/cocoa/browser_window_controller.h File chrome/browser/ui/cocoa/browser_window_controller.h (right): https://codereview.chromium.org/2196203002/diff/60001/chrome/browser/ui/cocoa/browser_window_controller.h#newcode211 chrome/browser/ui/cocoa/browser_window_controller.h:211: omnibox_popup_model_observer_bridge_; naming: use camelCase since this is an ObjC ...
4 years, 4 months ago (2016-08-04 17:13:41 UTC) #11
Sungmann Cho
https://codereview.chromium.org/2196203002/diff/60001/chrome/browser/ui/cocoa/browser_window_controller.h File chrome/browser/ui/cocoa/browser_window_controller.h (right): https://codereview.chromium.org/2196203002/diff/60001/chrome/browser/ui/cocoa/browser_window_controller.h#newcode211 chrome/browser/ui/cocoa/browser_window_controller.h:211: omnibox_popup_model_observer_bridge_; On 2016/08/04 17:13:40, Robert Sesek wrote: > naming: ...
4 years, 4 months ago (2016-08-04 17:42:27 UTC) #12
Robert Sesek
LGTM
4 years, 4 months ago (2016-08-04 20:04:16 UTC) #13
Peter Kasting
https://codereview.chromium.org/2196203002/diff/80001/chrome/browser/ui/cocoa/browser_window_controller.mm File chrome/browser/ui/cocoa/browser_window_controller.mm (right): https://codereview.chromium.org/2196203002/diff/80001/chrome/browser/ui/cocoa/browser_window_controller.mm#newcode215 chrome/browser/ui/cocoa/browser_window_controller.mm:215: [infobar_container_controller defaultMaxTopArrowHeight]; Won't this do the wrong thing when ...
4 years, 4 months ago (2016-08-04 22:25:36 UTC) #14
Peter Kasting
What's the status of this CL?
3 years, 10 months ago (2017-02-11 02:08:34 UTC) #15
Sungmann Cho
On 2017/02/11 02:08:34, Peter Kasting wrote: > What's the status of this CL? Oh my ...
3 years, 10 months ago (2017-02-11 14:08:37 UTC) #16
Sungmann Cho
On 2017/02/11 02:08:34, Peter Kasting wrote: > What's the status of this CL? I'm really ...
3 years, 8 months ago (2017-04-09 09:18:29 UTC) #17
Peter Kasting
LGTM https://codereview.chromium.org/2196203002/diff/100001/chrome/browser/ui/cocoa/browser_window_controller.mm File chrome/browser/ui/cocoa/browser_window_controller.mm (right): https://codereview.chromium.org/2196203002/diff/100001/chrome/browser/ui/cocoa/browser_window_controller.mm#newcode204 chrome/browser/ui/cocoa/browser_window_controller.mm:204: omnibox_popup_model_->AddObserver(this); Nit: Prefer using a ScopedObserver to manual ...
3 years, 8 months ago (2017-04-10 21:53:56 UTC) #18
Sungmann Cho
https://codereview.chromium.org/2196203002/diff/100001/chrome/browser/ui/cocoa/browser_window_controller.mm File chrome/browser/ui/cocoa/browser_window_controller.mm (right): https://codereview.chromium.org/2196203002/diff/100001/chrome/browser/ui/cocoa/browser_window_controller.mm#newcode204 chrome/browser/ui/cocoa/browser_window_controller.mm:204: omnibox_popup_model_->AddObserver(this); On 2017/04/10 21:53:56, Peter Kasting wrote: > Nit: ...
3 years, 8 months ago (2017-04-13 15:25:16 UTC) #19
Sungmann Cho
I uploaded the patch set #7 that resolves the last comments, and left my thought ...
3 years, 8 months ago (2017-04-14 01:48:34 UTC) #20
Peter Kasting
On 2017/04/14 01:48:34, Sungmann Cho wrote: > I uploaded the patch set #7 that resolves ...
3 years, 8 months ago (2017-04-14 07:12:14 UTC) #21
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/2196203002/120001
3 years, 8 months ago (2017-04-14 07:18:01 UTC) #24
commit-bot: I haz the power
Committed patchset #7 (id:120001) as https://chromium.googlesource.com/chromium/src/+/d1040f6d95719c52a3ec442c76be29d5c0630bf4
3 years, 8 months ago (2017-04-14 07:29:31 UTC) #27
skym
A revert of this CL (patchset #7 id:120001) has been created in https://codereview.chromium.org/2823743002/ by skym@chromium.org. ...
3 years, 8 months ago (2017-04-15 00:19:05 UTC) #28
Sungmann Cho
The segmentation fault is stemmed from the fact that the scoped observer in |OmniboxPopupModelObserverBridge| tries ...
3 years, 8 months ago (2017-04-15 16:41:11 UTC) #30
Peter Kasting
LGTM In the future, prefer to upload the original landed patch to a new CL, ...
3 years, 8 months ago (2017-04-15 17:37:03 UTC) #31
Sungmann Cho
On 2017/04/15 17:37:03, Peter Kasting wrote: > LGTM > > In the future, prefer to ...
3 years, 8 months ago (2017-04-16 03:57:36 UTC) #32
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/2196203002/160001
3 years, 8 months ago (2017-04-16 04:00:42 UTC) #35
commit-bot: I haz the power
Committed patchset #9 (id:160001) as https://chromium.googlesource.com/chromium/src/+/7b81dd151531dcd6b5cdbbd078fbf37e4b102adf
3 years, 8 months ago (2017-04-16 04:19:33 UTC) #38
lijeffrey
On 2017/04/16 04:19:33, commit-bot: I haz the power wrote: > Committed patchset #9 (id:160001) as ...
3 years, 8 months ago (2017-04-17 07:51:06 UTC) #39
Sungmann Cho
On 2017/04/17 07:51:06, lijeffrey wrote: > On 2017/04/16 04:19:33, commit-bot: I haz the power wrote: ...
3 years, 8 months ago (2017-04-17 09:12:10 UTC) #40
lijeffrey
3 years, 8 months ago (2017-04-18 20:39:12 UTC) #41
Message was sent while issue was closed.
On 2017/04/17 09:12:10, Sungmann Cho wrote:
> On 2017/04/17 07:51:06, lijeffrey wrote:
> > On 2017/04/16 04:19:33, commit-bot: I haz the power wrote:
> > > Committed patchset #9 (id:160001) as
> > >
> >
>
https://chromium.googlesource.com/chromium/src/+/7b81dd151531dcd6b5cdbbd078fb...
> > 
> > Hi,
> > 
> > According to Findit's flake analyzer this CL may have introduced flakiness
in
> > the test
> >
SingleClientPasswordManagerSettingMigratorServiceSyncTest.LocalOffOffSyncOffOn
> > on Mac10.10 Tests, can you please help verify? The link to the analysis is
> > pasted below:
> > 
> >
>
https://findit-for-me.appspot.com/waterfall/flake?key=ag9zfmZpbmRpdC1mb3ItbWV...
> > 
> > Thanks,
> > Jeff on behalf of Findit team
> 
> Hi! The CL causing the problem was reverted at 2017-04-15 00:19:05 UTC, and
the
> flaky test report indicates that the request time of the test is 2017-04-15
> 00:03:48 UTC. I think the problem will be not observed in the next tries.

Great! Many thanks.

Powered by Google App Engine
This is Rietveld 408576698