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

Issue 183713002: Add Frame and RemoteFrame classes. (Closed)

Created:
6 years, 9 months ago by kenrb
Modified:
6 years, 9 months ago
Reviewers:
dcheng, eseidel
CC:
blink-reviews, site-isolation-reviews_chromium.org, abarth-chromium, haraken
Base URL:
https://chromium.googlesource.com/chromium/blink.git@master
Visibility:
Public.

Description

Add Frame and RemoteFrame classes. Creates RemoteFrame, which will represent in WebCore frames that are rendered outside of Blink, and Frame, a base class for both LocalFrame and RemoteFrame. The current division of members and methods between Frame and LocalFrame is not final, but provides a starting point for us to start converting LocalFrame to Frame in some parts of Blink. BUG=346764 R=eseidel@chromium.org Committed: https://src.chromium.org/viewvc/blink?view=rev&revision=168501

Patch Set 1 #

Patch Set 2 : virtual destructor #

Patch Set 3 : Fixed some oversights #

Total comments: 8

Patch Set 4 : Added RemoteFrame #

Total comments: 2

Patch Set 5 : Licenses fixed, some comments added. #

Patch Set 6 : Fixed missing OVERRIDE keyword #

Patch Set 7 : Another missed keyword #

Total comments: 2

Patch Set 8 : Removed unneeded method definition #

Unified diffs Side-by-side diffs Delta from patch set Stats (+402 lines, -208 lines) Patch
M Source/core/core.gypi View 1 2 3 2 chunks +4 lines, -0 lines 0 comments Download
A Source/core/frame/Frame.h View 1 2 3 4 5 6 7 1 chunk +146 lines, -0 lines 0 comments Download
A Source/core/frame/Frame.cpp View 1 2 3 4 1 chunk +182 lines, -0 lines 0 comments Download
M Source/core/frame/LocalFrame.h View 1 2 6 chunks +12 lines, -94 lines 0 comments Download
M Source/core/frame/LocalFrame.cpp View 11 chunks +6 lines, -114 lines 0 comments Download
A Source/core/frame/RemoteFrame.h View 1 2 3 4 5 6 1 chunk +27 lines, -0 lines 0 comments Download
A Source/core/frame/RemoteFrame.cpp View 1 2 3 1 chunk +25 lines, -0 lines 0 comments Download

Messages

Total messages: 16 (0 generated)
kenrb
Eric, PTAL?
6 years, 9 months ago (2014-02-27 23:44:57 UTC) #1
eseidel
Can we include RemoteFrame in this patch and move its bits there? Otherwise we just ...
6 years, 9 months ago (2014-02-27 23:52:38 UTC) #2
kenrb
Okay RemoteFrame added. https://codereview.chromium.org/183713002/diff/30001/Source/core/frame/Frame.h File Source/core/frame/Frame.h (right): https://codereview.chromium.org/183713002/diff/30001/Source/core/frame/Frame.h#newcode29 Source/core/frame/Frame.h:29: class FrameInit : public RefCounted<FrameInit> { ...
6 years, 9 months ago (2014-02-28 16:32:38 UTC) #3
kenrb
On 2014/02/27 23:52:38, eseidel wrote: > Can we include RemoteFrame in this patch and move ...
6 years, 9 months ago (2014-02-28 17:02:21 UTC) #4
kenrb
Eric: ping?
6 years, 9 months ago (2014-03-03 19:22:19 UTC) #5
eseidel
https://codereview.chromium.org/183713002/diff/30002/Source/core/frame/Frame.cpp File Source/core/frame/Frame.cpp (right): https://codereview.chromium.org/183713002/diff/30002/Source/core/frame/Frame.cpp#newcode1 Source/core/frame/Frame.cpp:1: // Copyright 2014 The Chromium Authors. All rights reserved. ...
6 years, 9 months ago (2014-03-04 01:32:59 UTC) #6
eseidel
I don't think we want to sprinkle Frame* or toLocalFrame() liberarlly over the code base. ...
6 years, 9 months ago (2014-03-04 01:36:21 UTC) #7
eseidel
Sorry for the delay. With the license updates and ideally comments explaining what (if anything) ...
6 years, 9 months ago (2014-03-04 01:37:22 UTC) #8
eseidel
Given that we're considering dcheng as a reviewer, I think we should have him do ...
6 years, 9 months ago (2014-03-04 01:38:10 UTC) #9
kenrb
On 2014/03/04 01:36:21, eseidel wrote: > I don't think we want to sprinkle Frame* or ...
6 years, 9 months ago (2014-03-04 14:58:26 UTC) #10
eseidel
As you're aware, incomplete refactorings take a loan out on the code base, which the ...
6 years, 9 months ago (2014-03-04 17:59:26 UTC) #11
dcheng
https://codereview.chromium.org/183713002/diff/90001/Source/core/frame/Frame.h File Source/core/frame/Frame.h (right): https://codereview.chromium.org/183713002/diff/90001/Source/core/frame/Frame.h#newcode124 Source/core/frame/Frame.h:124: double devicePixelRatio() const; I don't see an actual implementation ...
6 years, 9 months ago (2014-03-04 19:03:02 UTC) #12
kenrb
https://codereview.chromium.org/183713002/diff/90001/Source/core/frame/Frame.h File Source/core/frame/Frame.h (right): https://codereview.chromium.org/183713002/diff/90001/Source/core/frame/Frame.h#newcode124 Source/core/frame/Frame.h:124: double devicePixelRatio() const; On 2014/03/04 19:03:03, dcheng wrote: > ...
6 years, 9 months ago (2014-03-04 19:36:50 UTC) #13
kenrb
The CQ bit was checked by kenrb@chromium.org
6 years, 9 months ago (2014-03-04 19:37:05 UTC) #14
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/kenrb@chromium.org/183713002/110001
6 years, 9 months ago (2014-03-04 19:37:27 UTC) #15
commit-bot: I haz the power
6 years, 9 months ago (2014-03-05 17:54:33 UTC) #16
Message was sent while issue was closed.
Change committed as 168501

Powered by Google App Engine
This is Rietveld 408576698