Chromium Code Reviews
Help | Chromium Project | Gerrit Changes | Sign in
(31)

Issue 1145973006: Add enum that specifies the frame detachment reason. (Closed)

Created:
4 years, 11 months ago by lfg
Modified:
4 years, 11 months ago
Reviewers:
dcheng
CC:
blink-reviews, dglazkov+blink, site-isolation-reviews_chromium.org
Base URL:
https://chromium.googlesource.com/chromium/blink.git@master
Target Ref:
refs/heads/master
Project:
blink
Visibility:
Public.

Description

Add enum that specifies the frame detachment reason. A frame can be detached when it's either removed or swapped with another frame through WebFrame::swap(). This enum will be used to specify the detachment reason when detaching a frame. This is a prerequisite for https://codereview.chromium.org/1149793002/. BUG=464764 Committed: https://src.chromium.org/viewvc/blink?view=rev&revision=196265

Patch Set 1 #

Total comments: 1

Patch Set 2 : moving enum #

Total comments: 2

Patch Set 3 : #

Patch Set 4 : #

Unified diffs Side-by-side diffs Delta from patch set Stats (+6 lines, -0 lines) Patch
M public/web/WebFrameClient.h View 1 2 3 1 chunk +3 lines, -0 lines 0 comments Download
M public/web/WebRemoteFrameClient.h View 1 2 3 1 chunk +3 lines, -0 lines 0 comments Download

Messages

Total messages: 21 (4 generated)
lfg
PTAL, thanks!
4 years, 11 months ago (2015-05-29 18:34:37 UTC) #2
dcheng
https://codereview.chromium.org/1145973006/diff/1/public/web/WebFrame.h File public/web/WebFrame.h (right): https://codereview.chromium.org/1145973006/diff/1/public/web/WebFrame.h#newcode93 public/web/WebFrame.h:93: enum class WebDetachReason { Remove, Swap }; I would ...
4 years, 11 months ago (2015-05-29 22:01:21 UTC) #3
dcheng
Never mind, I see why you defined it in WebFrame. Let me think about it.
4 years, 11 months ago (2015-05-29 22:03:24 UTC) #4
dcheng
On 2015/05/29 at 22:03:24, dcheng wrote: > Never mind, I see why you defined it ...
4 years, 11 months ago (2015-06-01 18:05:53 UTC) #5
lfg
On 2015/06/01 18:05:53, dcheng wrote: > On 2015/05/29 at 22:03:24, dcheng wrote: > > Never ...
4 years, 11 months ago (2015-06-01 18:16:40 UTC) #6
dcheng
On 2015/06/01 at 18:16:40, lfg wrote: > On 2015/06/01 18:05:53, dcheng wrote: > > On ...
4 years, 11 months ago (2015-06-01 18:18:27 UTC) #7
lfg
> > That won't work, if we do it then anything that includes both of ...
4 years, 11 months ago (2015-06-01 18:23:15 UTC) #8
dcheng
On 2015/06/01 at 18:23:15, lfg wrote: > > > That won't work, if we do ...
4 years, 11 months ago (2015-06-01 18:25:44 UTC) #9
lfg
On 2015/06/01 18:25:44, dcheng wrote: > On 2015/06/01 at 18:23:15, lfg wrote: > > > ...
4 years, 11 months ago (2015-06-01 18:44:34 UTC) #10
lfg
Moved the enum to WebFrameClient/WebRemoteFrameClient, PTAL.
4 years, 11 months ago (2015-06-01 19:52:17 UTC) #11
dcheng
https://codereview.chromium.org/1145973006/diff/20001/public/web/WebFrameClient.h File public/web/WebFrameClient.h (right): https://codereview.chromium.org/1145973006/diff/20001/public/web/WebFrameClient.h#newcode159 public/web/WebFrameClient.h:159: enum WebDetachReason { Remove, Swap }; enum class instead ...
4 years, 11 months ago (2015-06-01 20:06:47 UTC) #12
lfg
https://codereview.chromium.org/1145973006/diff/20001/public/web/WebFrameClient.h File public/web/WebFrameClient.h (right): https://codereview.chromium.org/1145973006/diff/20001/public/web/WebFrameClient.h#newcode159 public/web/WebFrameClient.h:159: enum WebDetachReason { Remove, Swap }; On 2015/06/01 20:06:46, ...
4 years, 11 months ago (2015-06-01 20:22:15 UTC) #13
dcheng
lgtm
4 years, 11 months ago (2015-06-01 20:26:32 UTC) #14
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1145973006/60001
4 years, 11 months ago (2015-06-01 20:29:32 UTC) #16
commit-bot: I haz the power
Try jobs failed on following builders: linux_blink_rel on tryserver.blink (JOB_FAILED, http://build.chromium.org/p/tryserver.blink/builders/linux_blink_rel/builds/64258)
4 years, 11 months ago (2015-06-01 23:35:56 UTC) #18
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1145973006/60001
4 years, 11 months ago (2015-06-01 23:55:03 UTC) #20
commit-bot: I haz the power
4 years, 11 months ago (2015-06-02 01:08:22 UTC) #21
Message was sent while issue was closed.
Committed patchset #4 (id:60001) as
https://src.chromium.org/viewvc/blink?view=rev&revision=196265

Powered by Google App Engine
This is Rietveld 408576698