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

Issue 708903002: Initial work on a new <view> element backed by a mojo::View. (Closed)

Created:
6 years, 1 month ago by Matt Perry
Modified:
6 years, 1 month ago
CC:
mojo-reviews_chromium.org, ojan
Base URL:
https://github.com/domokit/mojo.git@master
Project:
mojo
Visibility:
Public.

Description

Initial work on a new <view> element backed by a mojo::View. This CL introduces an HTMLViewElement which, when inserted into a document, causes a mojo::View to be created and navigated to the provided URL. No compositing is done, but the view manager handles the rendering (as I understand it). R=abarth@chromium.org Committed: https://chromium.googlesource.com/external/mojo/+/84fd0f44ed37b6acdf8e6369e2ea740819568e27

Patch Set 1 #

Total comments: 22

Patch Set 2 : review #

Patch Set 3 : more review comments #

Total comments: 2

Patch Set 4 : m_URL #

Unified diffs Side-by-side diffs Delta from patch set Stats (+210 lines, -1 line) Patch
M sky/engine/core/core.gni View 1 2 3 chunks +4 lines, -0 lines 0 comments Download
A sky/engine/core/html/HTMLIFrameElement.h View 1 2 3 1 chunk +36 lines, -0 lines 0 comments Download
A sky/engine/core/html/HTMLIFrameElement.cpp View 1 2 3 1 chunk +65 lines, -0 lines 0 comments Download
A + sky/engine/core/html/HTMLIFrameElement.idl View 1 2 1 chunk +1 line, -1 line 0 comments Download
M sky/engine/core/html/HTMLTagNames.in View 1 2 1 chunk +1 line, -0 lines 0 comments Download
M sky/engine/core/loader/EmptyClients.h View 1 1 chunk +1 line, -0 lines 0 comments Download
M sky/engine/core/loader/FrameLoaderClient.h View 1 1 chunk +3 lines, -0 lines 0 comments Download
A sky/engine/core/rendering/RenderRemote.h View 1 2 1 chunk +26 lines, -0 lines 0 comments Download
A sky/engine/core/rendering/RenderRemote.cpp View 1 2 1 chunk +40 lines, -0 lines 0 comments Download
M sky/engine/public/web/WebFrameClient.h View 1 1 chunk +2 lines, -0 lines 0 comments Download
M sky/engine/web/FrameLoaderClientImpl.h View 1 1 chunk +1 line, -0 lines 0 comments Download
M sky/engine/web/FrameLoaderClientImpl.cpp View 1 2 2 chunks +8 lines, -0 lines 0 comments Download
A sky/tests/lowlevel/iframe.sky View 1 2 1 chunk +1 line, -0 lines 0 comments Download
M sky/viewer/document_view.h View 1 1 chunk +1 line, -0 lines 0 comments Download
M sky/viewer/document_view.cc View 1 2 3 2 chunks +20 lines, -0 lines 0 comments Download

Messages

Total messages: 19 (4 generated)
Matt Perry
This works well enough in that it actually draws the subframe's content. Let me know ...
6 years, 1 month ago (2014-11-06 22:28:27 UTC) #2
esprehn
https://codereview.chromium.org/708903002/diff/1/sky/engine/core/html/HTMLViewElement.cpp File sky/engine/core/html/HTMLViewElement.cpp (right): https://codereview.chromium.org/708903002/diff/1/sky/engine/core/html/HTMLViewElement.cpp#newcode11 sky/engine/core/html/HTMLViewElement.cpp:11: * version 2 of the License, or (at your ...
6 years, 1 month ago (2014-11-06 22:40:29 UTC) #4
esprehn
Also lets call this element <iframe>, not <view>.
6 years, 1 month ago (2014-11-06 22:40:46 UTC) #5
abarth-chromium
On 2014/11/06 at 22:28:27, mpcomplete wrote: > This works well enough in that it actually ...
6 years, 1 month ago (2014-11-06 22:47:08 UTC) #6
abarth-chromium
This looks like you're on a good track, but we should separate creating from sizing. ...
6 years, 1 month ago (2014-11-06 22:55:07 UTC) #7
abarth-chromium
This looks like you're on a good track, but we should separate creating from sizing. ...
6 years, 1 month ago (2014-11-06 22:55:09 UTC) #8
Matt Perry
https://codereview.chromium.org/708903002/diff/1/sky/engine/core/html/HTMLViewElement.cpp File sky/engine/core/html/HTMLViewElement.cpp (right): https://codereview.chromium.org/708903002/diff/1/sky/engine/core/html/HTMLViewElement.cpp#newcode11 sky/engine/core/html/HTMLViewElement.cpp:11: * version 2 of the License, or (at your ...
6 years, 1 month ago (2014-11-06 23:38:51 UTC) #9
abarth-chromium
On 2014/11/06 at 23:38:51, mpcomplete wrote: > I'm not sure. I copied a lot of ...
6 years, 1 month ago (2014-11-06 23:45:20 UTC) #10
Matt Perry
Ok, I've addressed the last review comments and renamed the element to iframe. https://codereview.chromium.org/708903002/diff/1/sky/engine/core/html/HTMLViewElement.cpp File ...
6 years, 1 month ago (2014-11-07 17:27:40 UTC) #11
abarth-chromium
This is great. LGTM! https://codereview.chromium.org/708903002/diff/40001/sky/engine/core/html/HTMLIFrameElement.h File sky/engine/core/html/HTMLIFrameElement.h (right): https://codereview.chromium.org/708903002/diff/40001/sky/engine/core/html/HTMLIFrameElement.h#newcode35 sky/engine/core/html/HTMLIFrameElement.h:35: AtomicString m_URL; Is there a ...
6 years, 1 month ago (2014-11-07 19:08:30 UTC) #12
Matt Perry
https://codereview.chromium.org/708903002/diff/40001/sky/engine/core/html/HTMLIFrameElement.cpp File sky/engine/core/html/HTMLIFrameElement.cpp (right): https://codereview.chromium.org/708903002/diff/40001/sky/engine/core/html/HTMLIFrameElement.cpp#newcode40 sky/engine/core/html/HTMLIFrameElement.cpp:40: openURL(); Re: storing m_URL. If insertedInto is called after ...
6 years, 1 month ago (2014-11-07 19:14:11 UTC) #13
commit-bot: I haz the power
Commit queue rejected this change because it did not recognize the base URL. Please commit ...
6 years, 1 month ago (2014-11-07 19:18:26 UTC) #16
abarth-chromium
On 2014/11/07 at 19:14:11, mpcomplete wrote: > https://codereview.chromium.org/708903002/diff/40001/sky/engine/core/html/HTMLIFrameElement.cpp > File sky/engine/core/html/HTMLIFrameElement.cpp (right): > > https://codereview.chromium.org/708903002/diff/40001/sky/engine/core/html/HTMLIFrameElement.cpp#newcode40 ...
6 years, 1 month ago (2014-11-07 19:18:39 UTC) #17
Matt Perry
On 2014/11/07 19:18:39, abarth wrote: > On 2014/11/07 at 19:14:11, mpcomplete wrote: > > > ...
6 years, 1 month ago (2014-11-07 19:28:57 UTC) #18
Matt Perry
6 years, 1 month ago (2014-11-07 19:36:31 UTC) #19
Message was sent while issue was closed.
Committed patchset #4 (id:60001) manually as
84fd0f44ed37b6acdf8e6369e2ea740819568e27 (presubmit successful).

Powered by Google App Engine
This is Rietveld 408576698