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

Issue 2288313002: Return the WebViewFrameWidget in RenderWidget::webwidget() if there (Closed)

Created:
4 years, 3 months ago by lfg
Modified:
4 years, 3 months ago
Reviewers:
esprehn, dcheng, piman
CC:
esprehn, chromium-reviews, creis+watch_chromium.org, darin-cc_chromium.org, jam, mlamouri+watch-content_chromium.org, nasko+codewatch_chromium.org, site-isolation-reviews_chromium.org
Target Ref:
refs/pending/heads/master
Project:
chromium
Visibility:
Public.

Description

Return the WebViewFrameWidget in RenderWidget::webwidget() if there is one. BUG=419087 Committed: https://crrev.com/8ff3391e7f1a6cabb73807bf781cf949326e0081 Cr-Commit-Position: refs/heads/master@{#418365}

Patch Set 1 #

Total comments: 3

Patch Set 2 : webwidget->GetWebWidget #

Patch Set 3 : rebase #

Patch Set 4 : fix new test #

Patch Set 5 : fix one more test #

Total comments: 2

Patch Set 6 : rebase #

Patch Set 7 : make webview methods private #

Total comments: 2

Patch Set 8 : avoid virtual call #

Total comments: 2

Patch Set 9 : rebase #

Patch Set 10 : rename webwidget_ -> webwidget_internal_ #

Unified diffs Side-by-side diffs Delta from patch set Stats (+119 lines, -93 lines) Patch
M content/public/test/render_view_test.cc View 1 2 3 4 5 1 chunk +1 line, -2 lines 0 comments Download
M content/renderer/external_popup_menu_browsertest.cc View 1 2 chunks +4 lines, -4 lines 0 comments Download
M content/renderer/input/render_widget_input_handler.cc View 1 2 3 4 5 1 chunk +2 lines, -2 lines 0 comments Download
M content/renderer/render_frame_impl.cc View 1 2 3 4 5 6 7 8 4 chunks +7 lines, -6 lines 0 comments Download
M content/renderer/render_frame_impl_browsertest.cc View 1 2 3 4 5 1 chunk +1 line, -1 line 0 comments Download
M content/renderer/render_view_impl.h View 1 2 3 4 5 6 7 8 1 chunk +1 line, -0 lines 0 comments Download
M content/renderer/render_view_impl.cc View 1 2 3 4 5 6 7 8 9 3 chunks +10 lines, -3 lines 0 comments Download
M content/renderer/render_view_impl_android.cc View 1 1 chunk +3 lines, -4 lines 0 comments Download
M content/renderer/render_widget.h View 1 2 3 4 5 6 7 8 9 2 chunks +3 lines, -2 lines 0 comments Download
M content/renderer/render_widget.cc View 1 2 3 4 5 6 7 8 9 33 chunks +65 lines, -59 lines 0 comments Download
M content/renderer/render_widget_browsertest.cc View 1 2 3 4 5 2 chunks +2 lines, -2 lines 0 comments Download
M content/renderer/render_widget_fullscreen.cc View 1 2 3 4 5 6 7 8 9 1 chunk +1 line, -1 line 0 comments Download
M content/renderer/render_widget_mouse_lock_dispatcher.cc View 1 1 chunk +2 lines, -2 lines 0 comments Download
M content/renderer/render_widget_unittest.cc View 1 2 3 4 5 6 7 8 9 2 chunks +2 lines, -2 lines 0 comments Download
M content/test/layouttest_support.cc View 1 2 3 4 5 1 chunk +1 line, -1 line 0 comments Download
M third_party/WebKit/Source/web/WebViewFrameWidget.h View 1 2 3 4 5 1 chunk +2 lines, -0 lines 0 comments Download
M third_party/WebKit/Source/web/WebViewFrameWidget.cpp View 1 2 3 4 5 1 chunk +10 lines, -0 lines 0 comments Download
M third_party/WebKit/Source/web/WebViewImpl.h View 1 2 3 4 5 6 2 chunks +2 lines, -2 lines 0 comments Download

Messages

Total messages: 73 (42 generated)
lfg
Hey Daniel, can you take a look? This patch makes RenderWidget::webwidget() return the WebViewFrameWidget instead ...
4 years, 3 months ago (2016-08-29 16:47:21 UTC) #3
dcheng
https://codereview.chromium.org/2288313002/diff/1/content/renderer/render_view_impl.cc File content/renderer/render_view_impl.cc (right): https://codereview.chromium.org/2288313002/diff/1/content/renderer/render_view_impl.cc#newcode2634 content/renderer/render_view_impl.cc:2634: if (frame_widget_) Should't this always be non-null while we're ...
4 years, 3 months ago (2016-08-31 18:00:33 UTC) #7
lfg
On 2016/08/31 18:00:33, dcheng wrote: > https://codereview.chromium.org/2288313002/diff/1/content/renderer/render_view_impl.cc > File content/renderer/render_view_impl.cc (right): > > https://codereview.chromium.org/2288313002/diff/1/content/renderer/render_view_impl.cc#newcode2634 > ...
4 years, 3 months ago (2016-08-31 18:04:45 UTC) #8
dcheng
On 2016/08/31 18:04:45, lfg wrote: > On 2016/08/31 18:00:33, dcheng wrote: > > > https://codereview.chromium.org/2288313002/diff/1/content/renderer/render_view_impl.cc ...
4 years, 3 months ago (2016-08-31 23:52:55 UTC) #9
dcheng
Meh. LGTM, I guess. We should probably add a TODO: it looks like this is ...
4 years, 3 months ago (2016-08-31 23:58:55 UTC) #10
esprehn
https://codereview.chromium.org/2288313002/diff/1/content/renderer/render_view_impl.cc File content/renderer/render_view_impl.cc (right): https://codereview.chromium.org/2288313002/diff/1/content/renderer/render_view_impl.cc#newcode2633 content/renderer/render_view_impl.cc:2633: blink::WebWidget* RenderViewImpl::webwidget() const { webWidget ? or widget() ? ...
4 years, 3 months ago (2016-09-01 00:37:58 UTC) #12
dcheng
On 2016/08/31 23:58:55, dcheng wrote: > Meh. LGTM, I guess. We should probably add a ...
4 years, 3 months ago (2016-09-01 16:50:21 UTC) #17
dcheng
On 2016/09/01 00:37:58, esprehn wrote: > https://codereview.chromium.org/2288313002/diff/1/content/renderer/render_view_impl.cc > File content/renderer/render_view_impl.cc (right): > > https://codereview.chromium.org/2288313002/diff/1/content/renderer/render_view_impl.cc#newcode2633 > ...
4 years, 3 months ago (2016-09-01 16:52:07 UTC) #18
lfg
On 2016/08/31 23:52:55, dcheng wrote: > On 2016/08/31 18:04:45, lfg wrote: > > No, if ...
4 years, 3 months ago (2016-09-01 18:06:08 UTC) #29
dcheng
I still don't think we should do the rename: it /is/ going to be a ...
4 years, 3 months ago (2016-09-08 19:42:16 UTC) #32
lfg
On 2016/09/08 19:42:16, dcheng wrote: > I still don't think we should do the rename: ...
4 years, 3 months ago (2016-09-08 19:58:24 UTC) #33
dcheng
On 2016/09/08 19:58:24, lfg wrote: > On 2016/09/08 19:42:16, dcheng wrote: > > I still ...
4 years, 3 months ago (2016-09-08 20:00:31 UTC) #34
esprehn
I'd prefer we do the rename. Either Chromium style is important to follow, in which ...
4 years, 3 months ago (2016-09-08 20:01:12 UTC) #35
esprehn
Less snarky, but my experience is these projects always take longer than anticipated so it's ...
4 years, 3 months ago (2016-09-08 20:03:06 UTC) #36
lfg
Please, take another look. On 2016/09/08 20:00:31, dcheng wrote: > On 2016/09/08 19:58:24, lfg wrote: ...
4 years, 3 months ago (2016-09-08 22:18:43 UTC) #39
esprehn
lgtm https://codereview.chromium.org/2288313002/diff/120001/content/renderer/render_widget.cc File content/renderer/render_widget.cc (right): https://codereview.chromium.org/2288313002/diff/120001/content/renderer/render_widget.cc#newcode1145 content/renderer/render_widget.cc:1145: if (GetWebWidget()) In blink we'd do: if (WebWidget* ...
4 years, 3 months ago (2016-09-08 22:44:02 UTC) #40
dcheng
On 2016/09/08 22:18:43, lfg wrote: > Please, take another look. > > On 2016/09/08 20:00:31, ...
4 years, 3 months ago (2016-09-09 04:32:40 UTC) #43
dcheng
On 2016/09/09 04:32:40, dcheng wrote: > On 2016/09/08 22:18:43, lfg wrote: > > Please, take ...
4 years, 3 months ago (2016-09-09 05:24:44 UTC) #44
lfg
On 2016/09/09 05:24:44, dcheng wrote: > > I don't mean just making it private; we ...
4 years, 3 months ago (2016-09-09 14:53:54 UTC) #47
lfg
+piman for content/ owners review.
4 years, 3 months ago (2016-09-09 14:59:14 UTC) #49
dcheng
On 2016/09/09 14:53:54, lfg wrote: > On 2016/09/09 05:24:44, dcheng wrote: > > > I ...
4 years, 3 months ago (2016-09-09 19:00:04 UTC) #52
dcheng
On 2016/09/09 19:00:04, dcheng wrote: > On 2016/09/09 14:53:54, lfg wrote: > > On 2016/09/09 ...
4 years, 3 months ago (2016-09-09 19:01:51 UTC) #53
lfg
On 2016/09/09 19:00:04, dcheng wrote: > > > > I don't think this is necessary. ...
4 years, 3 months ago (2016-09-09 19:02:31 UTC) #54
dcheng
On 2016/09/09 19:02:31, lfg wrote: > On 2016/09/09 19:00:04, dcheng wrote: > > > > ...
4 years, 3 months ago (2016-09-09 19:05:09 UTC) #55
lfg
On 2016/09/09 19:02:31, lfg wrote: > On 2016/09/09 19:00:04, dcheng wrote: > > > > ...
4 years, 3 months ago (2016-09-09 19:05:38 UTC) #56
piman
https://codereview.chromium.org/2288313002/diff/140001/content/renderer/render_widget.cc File content/renderer/render_widget.cc (right): https://codereview.chromium.org/2288313002/diff/140001/content/renderer/render_widget.cc#newcode1072 content/renderer/render_widget.cc:1072: GetWebWidget()->resizeVisualViewport(visual_viewport_size); Soo... why do we use GetWebWidget() sometimes, and ...
4 years, 3 months ago (2016-09-13 00:27:06 UTC) #57
lfg
piman, please, take another look. https://codereview.chromium.org/2288313002/diff/140001/content/renderer/render_widget.cc File content/renderer/render_widget.cc (right): https://codereview.chromium.org/2288313002/diff/140001/content/renderer/render_widget.cc#newcode1072 content/renderer/render_widget.cc:1072: GetWebWidget()->resizeVisualViewport(visual_viewport_size); On 2016/09/13 00:27:05, ...
4 years, 3 months ago (2016-09-13 19:37:57 UTC) #65
piman
lgtm
4 years, 3 months ago (2016-09-13 19:41:51 UTC) #66
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/v2/patch-status/codereview.chromium.org/2288313002/200001
4 years, 3 months ago (2016-09-13 20:43:35 UTC) #70
commit-bot: I haz the power
Committed patchset #10 (id:200001)
4 years, 3 months ago (2016-09-13 20:59:44 UTC) #71
commit-bot: I haz the power
4 years, 3 months ago (2016-09-13 21:05:34 UTC) #73
Message was sent while issue was closed.
Patchset 10 (id:??) landed as
https://crrev.com/8ff3391e7f1a6cabb73807bf781cf949326e0081
Cr-Commit-Position: refs/heads/master@{#418365}

Powered by Google App Engine
This is Rietveld 408576698