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

Issue 46783003: Add a unique frame id and save it on HistoryItem. (Closed)

Created:
7 years, 1 month ago by Nate Chapin
Modified:
7 years, 1 month ago
CC:
blink-reviews, jamesr, dglazkov+blink, abarth-chromium, site-isolation-reviews_chromium.org
Visibility:
Public.

Description

Add a unique frame id and save it on HistoryItem. This id is currently unused, but is a prerequisite for separating frame tree state from per-frame state in HistoryItem. BUG=312929 Committed: https://src.chromium.org/viewvc/blink?view=rev&revision=161180

Patch Set 1 #

Patch Set 2 : #

Total comments: 1

Patch Set 3 : Expose embedderIdentifier() on FrameLoaderClient as frameID() #

Patch Set 4 : Use a FrameInit object to share data between Frame and WebFrameImpl #

Patch Set 5 : Fix webkit_unit_tests compile #

Patch Set 6 : #

Patch Set 7 : #

Unified diffs Side-by-side diffs Delta from patch set Stats (+114 lines, -37 lines) Patch
M Source/core/fetch/ImageResourceTest.cpp View 1 2 3 4 1 chunk +1 line, -1 line 0 comments Download
Source/core/frame/Frame.h View 1 2 3 6 chunks +42 lines, -4 lines 0 comments Download
M Source/core/frame/Frame.cpp View 1 2 3 6 chunks +19 lines, -20 lines 0 comments Download
Source/core/history/HistoryItem.h View 2 chunks +5 lines, -0 lines 0 comments Download
M Source/core/history/HistoryItem.cpp View 3 chunks +4 lines, -0 lines 0 comments Download
Source/core/inspector/InspectorOverlay.cpp View 1 2 3 1 chunk +1 line, -1 line 0 comments Download
M Source/core/loader/HistoryController.cpp View 1 2 3 1 chunk +1 line, -0 lines 0 comments Download
Source/core/svg/graphics/SVGImage.cpp View 1 2 3 1 chunk +1 line, -1 line 0 comments Download
M Source/web/WebFrameImpl.h View 1 2 3 2 chunks +18 lines, -4 lines 0 comments Download
Source/web/WebFrameImpl.cpp View 1 2 3 5 chunks +7 lines, -5 lines 0 comments Download
M Source/web/WebHistoryItem.cpp View 1 chunk +11 lines, -0 lines 0 comments Download
Source/web/WebPagePopupImpl.cpp View 1 2 3 1 chunk +1 line, -1 line 0 comments Download
M public/web/WebHistoryItem.h View 1 chunk +3 lines, -0 lines 0 comments Download

Messages

Total messages: 26 (0 generated)
Nate Chapin
7 years, 1 month ago (2013-10-29 20:54:59 UTC) #1
abarth-chromium
LGTM assuming creis is happy with this direction.
7 years, 1 month ago (2013-10-29 21:53:59 UTC) #2
Charlie Reis
https://codereview.chromium.org/46783003/diff/20001/Source/core/frame/Frame.h File Source/core/frame/Frame.h (right): https://codereview.chromium.org/46783003/diff/20001/Source/core/frame/Frame.h#newcode115 Source/core/frame/Frame.h:115: int64_t id() const { return m_id; } It would ...
7 years, 1 month ago (2013-10-29 22:35:03 UTC) #3
Charlie Reis
CC'ing site-isolation-reviews@chromium.org.
7 years, 1 month ago (2013-10-29 22:36:18 UTC) #4
Nate Chapin
On 2013/10/29 22:35:03, creis wrote: > https://codereview.chromium.org/46783003/diff/20001/Source/core/frame/Frame.h > File Source/core/frame/Frame.h (right): > > https://codereview.chromium.org/46783003/diff/20001/Source/core/frame/Frame.h#newcode115 > ...
7 years, 1 month ago (2013-10-29 22:46:23 UTC) #5
Charlie Reis
On 2013/10/29 22:46:23, Nate Chapin wrote: > On 2013/10/29 22:35:03, creis wrote: > > https://codereview.chromium.org/46783003/diff/20001/Source/core/frame/Frame.h ...
7 years, 1 month ago (2013-10-30 16:25:42 UTC) #6
darin (slow to review)
On Wed, Oct 30, 2013 at 9:25 AM, <creis@chromium.org> wrote: > On 2013/10/29 22:46:23, Nate ...
7 years, 1 month ago (2013-10-30 16:41:07 UTC) #7
Nate Chapin
On 2013/10/30 16:41:07, darin wrote: > On Wed, Oct 30, 2013 at 9:25 AM, <mailto:creis@chromium.org> ...
7 years, 1 month ago (2013-10-30 16:44:03 UTC) #8
Charlie Reis
On 2013/10/30 16:44:03, Nate Chapin wrote: > > > Well, we do already have WebFrame::embedderIdentifier ...
7 years, 1 month ago (2013-10-30 17:01:54 UTC) #9
Nate Chapin
On 2013/10/30 17:01:54, creis wrote: > On 2013/10/30 16:44:03, Nate Chapin wrote: > > > ...
7 years, 1 month ago (2013-10-30 17:21:23 UTC) #10
Nate Chapin
On 2013/10/30 17:21:23, Nate Chapin wrote: > On 2013/10/30 17:01:54, creis wrote: > > On ...
7 years, 1 month ago (2013-10-30 17:43:08 UTC) #11
Charlie Reis
Great, thanks! LGTM, but either Darin or Adam should probably approve the change to FrameLoaderClient.
7 years, 1 month ago (2013-10-30 22:03:53 UTC) #12
darin (slow to review)
It seems like FrameID should be pushed down to Frame instead of using the FrameLoaderClient ...
7 years, 1 month ago (2013-10-30 22:05:06 UTC) #13
Nate Chapin
On 2013/10/30 22:05:06, darin wrote: > It seems like FrameID should be pushed down to ...
7 years, 1 month ago (2013-10-30 22:06:50 UTC) #14
darin (slow to review)
Couldn't Frame have a setFrameID method? On Wed, Oct 30, 2013 at 3:06 PM, <japhet@chromium.org> ...
7 years, 1 month ago (2013-10-30 22:07:40 UTC) #15
darin (slow to review)
or rather Frame::setIdentifier? My point is that if core/ needs to know about the concept ...
7 years, 1 month ago (2013-10-30 22:08:25 UTC) #16
Nate Chapin
On 2013/10/30 22:07:40, darin wrote: > Couldn't Frame have a setFrameID method? Sure, but that ...
7 years, 1 month ago (2013-10-30 22:09:06 UTC) #17
darin (slow to review)
On 2013/10/30 22:09:06, Nate Chapin wrote: > On 2013/10/30 22:07:40, darin wrote: > > Couldn't ...
7 years, 1 month ago (2013-10-30 22:12:33 UTC) #18
Nate Chapin
On 2013/10/30 22:12:33, darin wrote: > On 2013/10/30 22:09:06, Nate Chapin wrote: > > On ...
7 years, 1 month ago (2013-10-30 22:15:03 UTC) #19
darin (slow to review)
I meant, can we assign it to the HistoryItem? On Wed, Oct 30, 2013 at ...
7 years, 1 month ago (2013-10-30 22:18:16 UTC) #20
Nate Chapin
On 2013/10/30 22:18:16, darin wrote: > I meant, can we assign it to the HistoryItem? ...
7 years, 1 month ago (2013-10-30 22:23:39 UTC) #21
Nate Chapin
On 2013/10/30 22:23:39, Nate Chapin wrote: > On 2013/10/30 22:18:16, darin wrote: > > I ...
7 years, 1 month ago (2013-10-31 19:21:33 UTC) #22
abarth-chromium
LGTM I wonder if FrameInit will grow into the state that preserved when we flip ...
7 years, 1 month ago (2013-11-01 16:36:44 UTC) #23
Nate Chapin
On 2013/11/01 16:36:44, abarth wrote: > LGTM > > I wonder if FrameInit will grow ...
7 years, 1 month ago (2013-11-01 16:38:49 UTC) #24
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/japhet@chromium.org/46783003/390001
7 years, 1 month ago (2013-11-01 16:42:57 UTC) #25
commit-bot: I haz the power
7 years, 1 month ago (2013-11-01 17:38:03 UTC) #26
Message was sent while issue was closed.
Change committed as 161180

Powered by Google App Engine
This is Rietveld 408576698