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

Issue 22629009: [Mac] Change to detach the web contents view when the panel is not taller than the titlebar (Closed)

Created:
7 years, 4 months ago by jianli
Modified:
7 years, 4 months ago
CC:
chromium-reviews, jennb, dcheng, ccameron
Visibility:
Public.

Description

[Mac] Change to detach the web contents view when the panel is not taller than the titlebar. We used to hide the web contents view in such case but it seems to trigger some bad effect occasionally. BUG=265932 TEST=existing tests R=ccameron@chromium.org, dimich@chromium.org Committed: https://src.chromium.org/viewvc/chrome?view=rev&revision=217139

Patch Set 1 #

Patch Set 2 : Another fix #

Total comments: 8

Patch Set 3 : Address feedbacks #

Total comments: 1
Unified diffs Side-by-side diffs Delta from patch set Stats (+25 lines, -18 lines) Patch
M chrome/browser/ui/cocoa/panels/panel_window_controller_cocoa.mm View 1 2 3 chunks +25 lines, -18 lines 1 comment Download

Messages

Total messages: 6 (0 generated)
Dmitry Titov
Here are my comments, however I'm a bit uneasy about the whole thing because it's ...
7 years, 4 months ago (2013-08-12 23:04:45 UTC) #1
jianli
https://codereview.chromium.org/22629009/diff/7001/chrome/browser/ui/cocoa/panels/panel_window_controller_cocoa.mm File chrome/browser/ui/cocoa/panels/panel_window_controller_cocoa.mm (right): https://codereview.chromium.org/22629009/diff/7001/chrome/browser/ui/cocoa/panels/panel_window_controller_cocoa.mm#newcode815 chrome/browser/ui/cocoa/panels/panel_window_controller_cocoa.mm:815: // if the web contents view is made hidden. ...
7 years, 4 months ago (2013-08-12 23:43:14 UTC) #2
Ken Russell (switch to Gerrit)
ccameron's a better reviewer than me for this workaround but it looks acceptable given that ...
7 years, 4 months ago (2013-08-13 00:34:16 UTC) #3
Dmitry Titov
lgtm
7 years, 4 months ago (2013-08-13 00:39:29 UTC) #4
ccameron
lgtm too (with nit) https://codereview.chromium.org/22629009/diff/14001/chrome/browser/ui/cocoa/panels/panel_window_controller_cocoa.mm File chrome/browser/ui/cocoa/panels/panel_window_controller_cocoa.mm (right): https://codereview.chromium.org/22629009/diff/14001/chrome/browser/ui/cocoa/panels/panel_window_controller_cocoa.mm#newcode822 chrome/browser/ui/cocoa/panels/panel_window_controller_cocoa.mm:822: // become visible and overlapp ...
7 years, 4 months ago (2013-08-13 00:43:22 UTC) #5
jianli
7 years, 4 months ago (2013-08-13 00:59:05 UTC) #6
Message was sent while issue was closed.
Committed patchset #3 manually as r217139 (presubmit successful).

Powered by Google App Engine
This is Rietveld 408576698