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

Issue 196283013: Make to call WebContentsImpl::RenderViewCreated() when we create child window. (Closed)

Created:
6 years, 9 months ago by Jimmy Jo
Modified:
6 years, 7 months ago
Reviewers:
Charlie Reis, jam, sky
CC:
chromium-reviews, creis+watch_chromium.org, nasko+codewatch_chromium.org, joi+watch-content_chromium.org, darin-cc_chromium.org, miu+watch_chromium.org, David Tseng
Base URL:
https://src.chromium.org/chrome/trunk/src/
Visibility:
Public.

Description

Make to call WebContentsImpl::RenderViewCreated() when we create child window. Actually we do not call WebContentsImpl::RenderViewCreated() when we care child window. It makes many issues such as addJavascriptInterface() is not working well in child window. BUG=361418 TEST=WebContentsImplBrowserTest.RenderViewCreatedForChildWindow Committed: https://src.chromium.org/viewvc/chrome?view=rev&revision=271240

Patch Set 1 #

Total comments: 3

Patch Set 2 : #

Patch Set 3 : #

Patch Set 4 : #

Total comments: 4

Patch Set 5 : #

Total comments: 10

Patch Set 6 : modified by Jam`s gudiance with LGTM #

Patch Set 7 : rebase for latest source #

Patch Set 8 : remove "ax_event_notification_details.h" in web_contents_impl.h #

Unified diffs Side-by-side diffs Delta from patch set Stats (+105 lines, -1 line) Patch
M content/browser/web_contents/web_contents_impl.h View 1 2 3 4 5 6 7 2 chunks +1 line, -1 line 0 comments Download
M content/browser/web_contents/web_contents_impl.cc View 1 2 3 4 5 6 7 1 chunk +1 line, -0 lines 0 comments Download
M content/browser/web_contents/web_contents_impl_browsertest.cc View 1 2 3 4 5 6 7 1 chunk +19 lines, -0 lines 0 comments Download
M content/public/test/content_browser_test_utils.h View 1 2 3 4 5 6 7 3 chunks +30 lines, -0 lines 0 comments Download
M content/public/test/content_browser_test_utils.cc View 1 2 3 4 5 6 7 2 chunks +54 lines, -0 lines 0 comments Download

Messages

Total messages: 70 (0 generated)
Jimmy Jo
The CQ bit was checked by jincheol.jo@navercorp.com
6 years, 9 months ago (2014-03-13 12:40:48 UTC) #1
Jimmy Jo
The CQ bit was unchecked by jincheol.jo@navercorp.com
6 years, 9 months ago (2014-03-13 12:40:49 UTC) #2
Jimmy Jo
Hi Wez This issue is about JavaBridgeDispatcherHostManager::RenderViewCreated. We don`t call this function when we create ...
6 years, 9 months ago (2014-03-19 02:18:16 UTC) #3
Wez
On 2014/03/19 02:18:16, Jincheol Jo wrote: > Hi Wez > This issue is about JavaBridgeDispatcherHostManager::RenderViewCreated. ...
6 years, 9 months ago (2014-03-19 04:29:39 UTC) #4
Jimmy Jo
On 2014/03/19 04:29:39, Wez wrote: > On 2014/03/19 02:18:16, Jincheol Jo wrote: > > Hi ...
6 years, 9 months ago (2014-03-19 04:40:33 UTC) #5
sky
https://codereview.chromium.org/196283013/diff/1/content/browser/web_contents/web_contents_impl.cc File content/browser/web_contents/web_contents_impl.cc (right): https://codereview.chromium.org/196283013/diff/1/content/browser/web_contents/web_contents_impl.cc#newcode1380 content/browser/web_contents/web_contents_impl.cc:1380: new_contents->RenderViewCreated(new_contents->GetRenderViewHost()); This should be invoked from RenderViewHostImpl. Is there ...
6 years, 9 months ago (2014-03-19 15:41:31 UTC) #6
Charlie Reis
https://codereview.chromium.org/196283013/diff/1/AUTHORS File AUTHORS (right): https://codereview.chromium.org/196283013/diff/1/AUTHORS#newcode144 AUTHORS:144: Jincheol Jo <jincheol.jo@navercorp.com> nit: This should be on the ...
6 years, 9 months ago (2014-03-19 23:31:59 UTC) #7
Jimmy Jo
On 2014/03/19 23:31:59, Charlie Reis wrote: > https://codereview.chromium.org/196283013/diff/1/AUTHORS > File AUTHORS (right): > > https://codereview.chromium.org/196283013/diff/1/AUTHORS#newcode144 ...
6 years, 9 months ago (2014-03-20 05:04:25 UTC) #8
Jimmy Jo
On 2014/03/20 05:04:25, Jincheol Jo wrote: > On 2014/03/19 23:31:59, Charlie Reis wrote: > > ...
6 years, 9 months ago (2014-03-26 02:47:37 UTC) #9
Charlie Reis
On 2014/03/20 05:04:25, Jincheol Jo wrote: > On 2014/03/19 23:31:59, Charlie Reis wrote: > > ...
6 years, 9 months ago (2014-03-26 16:46:11 UTC) #10
sky
Said differently, how about a unit test that fails on tip of tree. -Scott On ...
6 years, 9 months ago (2014-03-26 16:49:15 UTC) #11
Jimmy Jo
On 2014/03/26 16:49:15, sky wrote: > Said differently, how about a unit test that fails ...
6 years, 9 months ago (2014-03-27 00:40:36 UTC) #12
Charlie Reis
On 2014/03/27 00:40:36, Jincheol Jo wrote: > This issue is about that AddJavascriptInterface doesn`t work ...
6 years, 9 months ago (2014-03-27 01:05:17 UTC) #13
Jimmy Jo
On 2014/03/27 01:05:17, Charlie Reis wrote: > On 2014/03/27 00:40:36, Jincheol Jo wrote: > > ...
6 years, 8 months ago (2014-04-09 01:19:19 UTC) #14
sky
Can't you write a test and not a sample app? -Scott On Tue, Apr 8, ...
6 years, 8 months ago (2014-04-09 04:08:23 UTC) #15
Jimmy Jo
On 2014/04/09 04:08:23, sky wrote: > Can't you write a test and not a sample ...
6 years, 8 months ago (2014-04-09 04:25:26 UTC) #16
Charlie Reis
On 2014/04/09 04:25:26, Jincheol Jo wrote: > On 2014/04/09 04:08:23, sky wrote: > > Can't ...
6 years, 8 months ago (2014-04-09 22:33:12 UTC) #17
Jimmy Jo
On 2014/04/09 22:33:12, Charlie Reis wrote: > On 2014/04/09 04:25:26, Jincheol Jo wrote: > > ...
6 years, 8 months ago (2014-04-10 00:36:27 UTC) #18
Jimmy Jo
On 2014/04/10 00:36:27, Jincheol Jo wrote: > On 2014/04/09 22:33:12, Charlie Reis wrote: > > ...
6 years, 8 months ago (2014-04-12 04:46:10 UTC) #19
Jimmy Jo
On 2014/04/12 04:46:10, Jincheol Jo wrote: > On 2014/04/10 00:36:27, Jincheol Jo wrote: > > ...
6 years, 8 months ago (2014-04-12 04:48:42 UTC) #20
Jimmy Jo
I proposed test code. PTAL.
6 years, 8 months ago (2014-04-27 07:07:09 UTC) #21
Charlie Reis
Thanks for adding the test! We can discuss style issues in a bit, but I'd ...
6 years, 7 months ago (2014-04-29 00:37:57 UTC) #22
Jimmy Jo
On 2014/04/29 00:37:57, Charlie Reis wrote: > Thanks for adding the test! We can discuss ...
6 years, 7 months ago (2014-04-29 01:06:45 UTC) #23
Jimmy Jo
On 2014/04/29 01:06:45, Jincheol Jo wrote: > On 2014/04/29 00:37:57, Charlie Reis wrote: > > ...
6 years, 7 months ago (2014-04-29 02:00:29 UTC) #24
jam
On 2014/04/29 02:00:29, Jincheol Jo wrote: > On 2014/04/29 01:06:45, Jincheol Jo wrote: > > ...
6 years, 7 months ago (2014-04-29 04:25:32 UTC) #25
Charlie Reis
https://codereview.chromium.org/196283013/diff/80001/content/browser/web_contents/web_contents_impl_browsertest.cc File content/browser/web_contents/web_contents_impl_browsertest.cc (right): https://codereview.chromium.org/196283013/diff/80001/content/browser/web_contents/web_contents_impl_browsertest.cc#newcode441 content/browser/web_contents/web_contents_impl_browsertest.cc:441: NewChildWindowNotificationObserver observer(shell()->web_contents()); You can use a ShellAddedObserver here instead, ...
6 years, 7 months ago (2014-04-29 16:55:24 UTC) #26
Jimmy Jo
On 2014/04/29 16:55:24, Charlie Reis wrote: > https://codereview.chromium.org/196283013/diff/80001/content/browser/web_contents/web_contents_impl_browsertest.cc > File content/browser/web_contents/web_contents_impl_browsertest.cc (right): > > https://codereview.chromium.org/196283013/diff/80001/content/browser/web_contents/web_contents_impl_browsertest.cc#newcode441 ...
6 years, 7 months ago (2014-04-30 00:25:54 UTC) #27
Jimmy Jo
On 2014/04/30 00:25:54, Jincheol Jo wrote: > On 2014/04/29 16:55:24, Charlie Reis wrote: > > ...
6 years, 7 months ago (2014-05-06 05:41:56 UTC) #28
Charlie Reis
On 2014/05/06 05:41:56, Jincheol Jo wrote: > Charlie. ShellAddedObserver is observer for Shell Constructor. > ...
6 years, 7 months ago (2014-05-08 01:01:38 UTC) #29
Jimmy Jo
On 2014/05/08 01:01:38, Charlie Reis wrote: > On 2014/05/06 05:41:56, Jincheol Jo wrote: > > ...
6 years, 7 months ago (2014-05-12 07:38:26 UTC) #30
jam
On 2014/05/08 01:01:38, Charlie Reis wrote: > On 2014/05/06 05:41:56, Jincheol Jo wrote: > > ...
6 years, 7 months ago (2014-05-12 15:32:40 UTC) #31
Jimmy Jo
On 2014/05/12 15:32:40, jam wrote: > On 2014/05/08 01:01:38, Charlie Reis wrote: > > On ...
6 years, 7 months ago (2014-05-13 00:29:23 UTC) #32
Jimmy Jo
> > ah, sorry I missed that subtlety earlier. WebContents::AddCreatedCallback is > > fine to ...
6 years, 7 months ago (2014-05-13 04:41:50 UTC) #33
Jimmy Jo
On 2014/05/13 04:41:50, Jincheol Jo wrote: > > > ah, sorry I missed that subtlety ...
6 years, 7 months ago (2014-05-14 10:17:06 UTC) #34
Charlie Reis
John, I think this mostly matches what you requested, though I'm not sure why it ...
6 years, 7 months ago (2014-05-14 17:04:18 UTC) #35
Jimmy Jo
On 2014/05/14 17:04:18, Charlie Reis(OOO as of May 17) wrote: > John, I think this ...
6 years, 7 months ago (2014-05-15 01:16:52 UTC) #36
jam
lgtm with nits sorry for the delay, i didn't see the earlier pings https://codereview.chromium.org/196283013/diff/120001/content/test/content_browser_test_utils.h File ...
6 years, 7 months ago (2014-05-15 19:30:19 UTC) #37
Jimmy Jo
Thanks Jam. I modified nits by your guidance. https://codereview.chromium.org/196283013/diff/120001/content/test/content_browser_test_utils.h File content/test/content_browser_test_utils.h (right): https://codereview.chromium.org/196283013/diff/120001/content/test/content_browser_test_utils.h#newcode29 content/test/content_browser_test_utils.h:29: class ...
6 years, 7 months ago (2014-05-16 01:15:46 UTC) #38
Jimmy Jo
The CQ bit was checked by jincheol.jo@navercorp.com
6 years, 7 months ago (2014-05-16 01:15:59 UTC) #39
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/jincheol.jo@navercorp.com/196283013/140001
6 years, 7 months ago (2014-05-16 01:16:41 UTC) #40
Jimmy Jo
The CQ bit was unchecked by jincheol.jo@navercorp.com
6 years, 7 months ago (2014-05-16 01:30:58 UTC) #41
Jimmy Jo
The CQ bit was checked by jincheol.jo@navercorp.com
6 years, 7 months ago (2014-05-16 04:29:26 UTC) #42
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/jincheol.jo@navercorp.com/196283013/200001
6 years, 7 months ago (2014-05-16 04:29:54 UTC) #43
Jimmy Jo
The CQ bit was unchecked by jincheol.jo@navercorp.com
6 years, 7 months ago (2014-05-16 04:32:21 UTC) #44
Jimmy Jo
The CQ bit was checked by jincheol.jo@navercorp.com
6 years, 7 months ago (2014-05-16 04:45:16 UTC) #45
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/jincheol.jo@navercorp.com/196283013/200001
6 years, 7 months ago (2014-05-16 04:45:23 UTC) #46
Jimmy Jo
The CQ bit was unchecked by jincheol.jo@navercorp.com
6 years, 7 months ago (2014-05-16 06:06:53 UTC) #47
Jimmy Jo
The CQ bit was checked by jincheol.jo@navercorp.com
6 years, 7 months ago (2014-05-16 06:25:04 UTC) #48
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/jincheol.jo@navercorp.com/196283013/220001
6 years, 7 months ago (2014-05-16 06:25:18 UTC) #49
commit-bot: I haz the power
FYI, CQ is re-trying this CL (attempt #1). Please consider checking whether the failures are ...
6 years, 7 months ago (2014-05-16 09:29:10 UTC) #50
commit-bot: I haz the power
The CQ bit was unchecked by commit-bot@chromium.org
6 years, 7 months ago (2014-05-16 09:45:55 UTC) #51
commit-bot: I haz the power
Try jobs failed on following builders: android_dbg on tryserver.chromium (http://build.chromium.org/p/tryserver.chromium/builders/android_dbg/builds/184809)
6 years, 7 months ago (2014-05-16 09:45:56 UTC) #52
Jimmy Jo
The CQ bit was checked by jincheol.jo@navercorp.com
6 years, 7 months ago (2014-05-16 09:49:59 UTC) #53
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/jincheol.jo@navercorp.com/196283013/220001
6 years, 7 months ago (2014-05-16 09:50:13 UTC) #54
commit-bot: I haz the power
FYI, CQ is re-trying this CL (attempt #1). Please consider checking whether the failures are ...
6 years, 7 months ago (2014-05-16 10:01:11 UTC) #55
Jimmy Jo
The CQ bit was unchecked by jincheol.jo@navercorp.com
6 years, 7 months ago (2014-05-16 10:01:42 UTC) #56
Jimmy Jo
I am facing compile error as following when I sync to latest source. In file ...
6 years, 7 months ago (2014-05-16 12:32:04 UTC) #57
Charlie Reis
On 2014/05/16 12:32:04, Jincheol Jo wrote: > I am facing compile error as following when ...
6 years, 7 months ago (2014-05-16 23:03:46 UTC) #58
Jimmy Jo
On 2014/05/16 23:03:46, Charlie Reis (OOO) wrote: > On 2014/05/16 12:32:04, Jincheol Jo wrote: > ...
6 years, 7 months ago (2014-05-17 00:52:33 UTC) #59
Jimmy Jo
The CQ bit was checked by jincheol.jo@navercorp.com
6 years, 7 months ago (2014-05-17 01:44:08 UTC) #60
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/jincheol.jo@navercorp.com/196283013/240001
6 years, 7 months ago (2014-05-17 01:46:42 UTC) #61
commit-bot: I haz the power
FYI, CQ is re-trying this CL (attempt #1). Please consider checking whether the failures are ...
6 years, 7 months ago (2014-05-17 07:49:24 UTC) #62
commit-bot: I haz the power
The CQ bit was unchecked by commit-bot@chromium.org
6 years, 7 months ago (2014-05-17 08:39:27 UTC) #63
commit-bot: I haz the power
Try jobs failed on following builders: android_dbg_triggered_tests on tryserver.chromium (http://build.chromium.org/p/tryserver.chromium/builders/android_dbg_triggered_tests/builds/154784)
6 years, 7 months ago (2014-05-17 08:39:28 UTC) #64
Jimmy Jo
The CQ bit was checked by jincheol.jo@navercorp.com
6 years, 7 months ago (2014-05-17 08:41:58 UTC) #65
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/jincheol.jo@navercorp.com/196283013/240001
6 years, 7 months ago (2014-05-17 08:43:47 UTC) #66
Jimmy Jo
The CQ bit was unchecked by jincheol.jo@navercorp.com
6 years, 7 months ago (2014-05-17 13:12:40 UTC) #67
Jimmy Jo
The CQ bit was checked by jincheol.jo@navercorp.com
6 years, 7 months ago (2014-05-17 13:12:41 UTC) #68
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/jincheol.jo@navercorp.com/196283013/240001
6 years, 7 months ago (2014-05-17 13:14:16 UTC) #69
commit-bot: I haz the power
6 years, 7 months ago (2014-05-17 17:17:29 UTC) #70
Message was sent while issue was closed.
Change committed as 271240

Powered by Google App Engine
This is Rietveld 408576698