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

Issue 388803003: [Mac] Replace SetOverlayView with AllowOtherViews. (Closed)

Created:
6 years, 5 months ago by dgozman
Modified:
6 years, 5 months ago
CC:
aandrey+blink_chromium.org, chromium-reviews, creis+watch_chromium.org, darin-cc_chromium.org, devtools-reviews_chromium.org, miu+watch_chromium.org, nasko+codewatch_chromium.org, nona+watch_chromium.org, paulirish+reviews_chromium.org, penghuang+watch_chromium.org, pfeldman, James Su, vsevik, yukishiino+watch_chromium.org, yurys, yusukes+watch_chromium.org
Project:
chromium
Visibility:
Public.

Description

[Mac] Replace SetOverlayView with AllowOtherViews. This allows to remove weak pointers between different WebContents, and pointer from DevToolsController to WebContents of DevToolsWindow. The latter one proved to be stale sometimes and caused crashes. Once bug 392031 is resolved, AllowOtherViews can be removed. BUG=392914, 392917, 392971, 392031 Committed: https://src.chromium.org/viewvc/chrome?view=rev&revision=283553

Patch Set 1 : #

Total comments: 10

Patch Set 2 : rebased, fixed comments #

Unified diffs Side-by-side diffs Delta from patch set Stats (+141 lines, -215 lines) Patch
M chrome/browser/devtools/devtools_window.h View 2 chunks +0 lines, -2 lines 0 comments Download
M chrome/browser/ui/cocoa/dev_tools_controller.h View 1 chunk +0 lines, -4 lines 0 comments Download
M chrome/browser/ui/cocoa/dev_tools_controller.mm View 1 3 chunks +48 lines, -61 lines 0 comments Download
M chrome/browser/ui/cocoa/dev_tools_controller_browsertest.mm View 1 1 chunk +42 lines, -10 lines 0 comments Download
M content/browser/renderer_host/render_widget_host_view_mac.h View 1 4 chunks +4 lines, -23 lines 0 comments Download
M content/browser/renderer_host/render_widget_host_view_mac.mm View 1 4 chunks +8 lines, -21 lines 0 comments Download
M content/browser/web_contents/web_contents_impl.h View 1 1 chunk +2 lines, -3 lines 0 comments Download
M content/browser/web_contents/web_contents_impl.cc View 1 1 chunk +4 lines, -6 lines 0 comments Download
M content/browser/web_contents/web_contents_view.h View 1 chunk +6 lines, -8 lines 0 comments Download
M content/browser/web_contents/web_contents_view_guest.h View 1 chunk +2 lines, -3 lines 0 comments Download
M content/browser/web_contents/web_contents_view_guest.cc View 1 chunk +4 lines, -5 lines 0 comments Download
M content/browser/web_contents/web_contents_view_mac.h View 3 chunks +4 lines, -16 lines 0 comments Download
M content/browser/web_contents/web_contents_view_mac.mm View 4 chunks +11 lines, -45 lines 0 comments Download
M content/public/browser/web_contents.h View 1 chunk +6 lines, -8 lines 0 comments Download

Messages

Total messages: 14 (0 generated)
dgozman
Could you please take a look? ccameron@ - at rwhv_mac. asvitkine@ - at chrome/browser/ui/cocoa. jochen@ ...
6 years, 5 months ago (2014-07-11 13:56:04 UTC) #1
jochen (gone - plz use gerrit)
Avi is the better reviewer for this change https://codereview.chromium.org/388803003/diff/70001/chrome/browser/ui/cocoa/dev_tools_controller_browsertest.mm File chrome/browser/ui/cocoa/dev_tools_controller_browsertest.mm (right): https://codereview.chromium.org/388803003/diff/70001/chrome/browser/ui/cocoa/dev_tools_controller_browsertest.mm#newcode24 chrome/browser/ui/cocoa/dev_tools_controller_browsertest.mm:24: , ...
6 years, 5 months ago (2014-07-14 11:15:24 UTC) #2
ccameron
Hopefully the CanPause... bit of logic will be gone in M38-M39 time. In the mean ...
6 years, 5 months ago (2014-07-14 17:25:56 UTC) #3
dgozman
It would be nice to land this top crash fix to the next dev release. ...
6 years, 5 months ago (2014-07-15 06:03:02 UTC) #4
Alexei Svitkine (slow)
https://codereview.chromium.org/388803003/diff/70001/chrome/browser/ui/cocoa/dev_tools_controller.mm File chrome/browser/ui/cocoa/dev_tools_controller.mm (right): https://codereview.chromium.org/388803003/diff/70001/chrome/browser/ui/cocoa/dev_tools_controller.mm#newcode34 chrome/browser/ui/cocoa/dev_tools_controller.mm:34: (const DevToolsContentsResizingStrategy&)strategy; Nit: Wrap before "withStrategy:" and align the ...
6 years, 5 months ago (2014-07-15 14:02:19 UTC) #5
dgozman
PTAL https://codereview.chromium.org/388803003/diff/70001/chrome/browser/ui/cocoa/dev_tools_controller.mm File chrome/browser/ui/cocoa/dev_tools_controller.mm (right): https://codereview.chromium.org/388803003/diff/70001/chrome/browser/ui/cocoa/dev_tools_controller.mm#newcode34 chrome/browser/ui/cocoa/dev_tools_controller.mm:34: (const DevToolsContentsResizingStrategy&)strategy; On 2014/07/15 14:02:19, Alexei Svitkine wrote: ...
6 years, 5 months ago (2014-07-15 14:38:42 UTC) #6
Alexei Svitkine (slow)
lgtm
6 years, 5 months ago (2014-07-15 14:49:10 UTC) #7
jam
On 2014/07/15 06:03:02, dgozman wrote: > It would be nice to land this top crash ...
6 years, 5 months ago (2014-07-16 05:32:14 UTC) #8
dgozman
On 2014/07/16 05:32:14, jam wrote: > On 2014/07/15 06:03:02, dgozman wrote: > > It would ...
6 years, 5 months ago (2014-07-16 05:48:45 UTC) #9
jochen (gone - plz use gerrit)
On 2014/07/16 at 05:48:45, dgozman wrote: > On 2014/07/16 05:32:14, jam wrote: > > On ...
6 years, 5 months ago (2014-07-16 08:49:29 UTC) #10
dgozman
> I basically meant to say the same as jam: I'm not a mac person. ...
6 years, 5 months ago (2014-07-16 09:18:13 UTC) #11
dgozman
The CQ bit was checked by dgozman@chromium.org
6 years, 5 months ago (2014-07-16 13:43:23 UTC) #12
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/dgozman@chromium.org/388803003/90001
6 years, 5 months ago (2014-07-16 13:43:54 UTC) #13
commit-bot: I haz the power
6 years, 5 months ago (2014-07-16 22:39:51 UTC) #14
Message was sent while issue was closed.
Change committed as 283553

Powered by Google App Engine
This is Rietveld 408576698