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

Issue 157713002: Switch DomAutomationController to be a RenderFrameObserver. (Closed)

Created:
6 years, 10 months ago by mkosiba (inactive)
Modified:
6 years, 10 months ago
Reviewers:
Charlie Reis, sky, nasko
CC:
chromium-reviews, joi+watch-content_chromium.org, darin-cc_chromium.org, jam
Visibility:
Public.

Description

Switch DomAutomationController to be a RenderFrameObserver. BUG=304341 TBR=nasko@chromium.org Committed: https://src.chromium.org/viewvc/chrome?view=rev&revision=252764

Patch Set 1 #

Patch Set 2 : #

Patch Set 3 : #

Patch Set 4 : move notification to webcontents #

Patch Set 5 : add notification to interstitialpageimpl #

Total comments: 5

Patch Set 6 : rebase #

Patch Set 7 : nasko@ CR feedback #

Total comments: 9

Patch Set 8 : rebase #

Patch Set 9 : creis@ feedback #

Patch Set 10 : fix clang erro #

Total comments: 5

Patch Set 11 : #

Unified diffs Side-by-side diffs Delta from patch set Stats (+123 lines, -73 lines) Patch
M chrome/browser/browser_keyevents_browsertest.cc View 1 2 3 4 5 6 7 8 4 chunks +5 lines, -7 lines 0 comments Download
M chrome/test/base/javascript_test_observer.h View 1 2 3 2 chunks +2 lines, -2 lines 0 comments Download
M chrome/test/base/javascript_test_observer.cc View 1 2 3 2 chunks +5 lines, -3 lines 0 comments Download
M chrome/test/nacl/nacl_browsertest_util.cc View 1 2 3 1 chunk +1 line, -1 line 0 comments Download
M chrome/test/nacl/pnacl_header_test.cc View 1 2 3 1 chunk +1 line, -1 line 0 comments Download
M chrome/test/ppapi/ppapi_browsertest.cc View 1 2 3 1 chunk +1 line, -1 line 0 comments Download
M chrome/test/ppapi/ppapi_test.cc View 1 2 3 1 chunk +1 line, -1 line 0 comments Download
M content/browser/frame_host/interstitial_page_impl.h View 1 2 3 4 5 6 7 8 9 3 chunks +10 lines, -0 lines 0 comments Download
M content/browser/frame_host/interstitial_page_impl.cc View 1 2 3 4 5 6 7 8 9 5 chunks +45 lines, -10 lines 0 comments Download
M content/browser/renderer_host/render_view_host_impl.h View 1 2 3 4 5 6 7 1 chunk +0 lines, -2 lines 0 comments Download
M content/browser/renderer_host/render_view_host_impl.cc View 1 2 3 4 5 6 7 3 chunks +0 lines, -12 lines 0 comments Download
M content/browser/web_contents/web_contents_impl.h View 1 2 3 4 5 6 7 8 1 chunk +2 lines, -0 lines 0 comments Download
M content/browser/web_contents/web_contents_impl.cc View 1 2 3 4 5 6 7 8 2 chunks +11 lines, -0 lines 0 comments Download
M content/common/frame_messages.h View 1 2 3 4 5 6 7 1 chunk +9 lines, -0 lines 0 comments Download
M content/common/swapped_out_messages.cc View 1 2 3 4 5 6 7 2 chunks +1 line, -1 line 0 comments Download
M content/common/view_messages.h View 1 2 3 4 5 6 7 1 chunk +0 lines, -9 lines 0 comments Download
M content/public/test/browser_test_utils.cc View 1 2 3 4 5 6 7 8 1 chunk +1 line, -1 line 0 comments Download
M content/renderer/dom_automation_controller.h View 3 chunks +5 lines, -5 lines 0 comments Download
M content/renderer/dom_automation_controller.cc View 1 6 chunks +13 lines, -13 lines 0 comments Download
M content/renderer/render_frame_impl.cc View 1 2 3 4 5 6 7 8 3 chunks +10 lines, -0 lines 0 comments Download
M content/renderer/render_view_impl.cc View 1 2 3 4 5 6 7 2 chunks +0 lines, -4 lines 0 comments Download

Messages

Total messages: 29 (0 generated)
mkosiba (inactive)
PTAL. I was going back and forth between WebContents/RenderFrameHost but neither seem like a good ...
6 years, 10 months ago (2014-02-11 15:37:46 UTC) #1
nasko
Awesome! Just a few minor things and it will be good to go. Pass it ...
6 years, 10 months ago (2014-02-11 17:32:33 UTC) #2
mkosiba (inactive)
nasko@ - Thanks! +creis@ for OWNERS review. https://codereview.chromium.org/157713002/diff/190001/content/browser/renderer_host/render_view_host_impl.cc File content/browser/renderer_host/render_view_host_impl.cc (left): https://codereview.chromium.org/157713002/diff/190001/content/browser/renderer_host/render_view_host_impl.cc#oldcode2194 content/browser/renderer_host/render_view_host_impl.cc:2194: void RenderViewHostImpl::OnDomOperationResponse( ...
6 years, 10 months ago (2014-02-14 15:04:41 UTC) #3
Charlie Reis
Great! If I understand correctly, there's one semantic change: anyone who listens for NOTIFICATION_DOM_OPERATION_RESPONSE used ...
6 years, 10 months ago (2014-02-15 01:47:32 UTC) #4
mkosiba (inactive)
On 2014/02/15 01:47:32, Charlie Reis wrote: > Great! If I understand correctly, there's one semantic ...
6 years, 10 months ago (2014-02-17 17:09:44 UTC) #5
mkosiba (inactive)
https://codereview.chromium.org/157713002/diff/310001/chrome/browser/browser_keyevents_browsertest.cc File chrome/browser/browser_keyevents_browsertest.cc (right): https://codereview.chromium.org/157713002/diff/310001/chrome/browser/browser_keyevents_browsertest.cc#newcode23 chrome/browser/browser_keyevents_browsertest.cc:23: #include "content/public/browser/render_frame_host.h" On 2014/02/15 01:47:33, Charlie Reis wrote: > ...
6 years, 10 months ago (2014-02-17 17:42:31 UTC) #6
mkosiba (inactive)
ping?
6 years, 10 months ago (2014-02-18 17:34:56 UTC) #7
Charlie Reis
On 2014/02/18 17:34:56, mkosiba wrote: > ping? Sorry, we had a holiday in the US ...
6 years, 10 months ago (2014-02-18 17:40:27 UTC) #8
mkosiba (inactive)
On 2014/02/18 17:40:27, Charlie Reis wrote: > On 2014/02/18 17:34:56, mkosiba wrote: > > ping? ...
6 years, 10 months ago (2014-02-18 17:42:59 UTC) #9
Charlie Reis
Thanks, LGTM with nits. Sorry for the delay! On 2014/02/17 17:09:44, mkosiba wrote: > On ...
6 years, 10 months ago (2014-02-18 18:06:15 UTC) #10
Charlie Reis
Ah, and I suppose you'll need a chrome/ owner to approve the last bits.
6 years, 10 months ago (2014-02-18 18:06:45 UTC) #11
mkosiba (inactive)
Thanks! I'll upload an updated version tomorrow https://codereview.chromium.org/157713002/diff/550001/content/browser/frame_host/interstitial_page_impl.cc File content/browser/frame_host/interstitial_page_impl.cc (right): https://codereview.chromium.org/157713002/diff/550001/content/browser/frame_host/interstitial_page_impl.cc#newcode366 content/browser/frame_host/interstitial_page_impl.cc:366: bool InterstitialPageImpl::OnMessageReceived(RenderViewHost* ...
6 years, 10 months ago (2014-02-18 19:10:03 UTC) #12
Charlie Reis
https://codereview.chromium.org/157713002/diff/550001/content/browser/frame_host/interstitial_page_impl.cc File content/browser/frame_host/interstitial_page_impl.cc (right): https://codereview.chromium.org/157713002/diff/550001/content/browser/frame_host/interstitial_page_impl.cc#newcode366 content/browser/frame_host/interstitial_page_impl.cc:366: bool InterstitialPageImpl::OnMessageReceived(RenderViewHost* render_view_host, On 2014/02/18 19:10:04, mkosiba wrote: > ...
6 years, 10 months ago (2014-02-18 19:38:55 UTC) #13
mkosiba (inactive)
+sky@ for chrome/ OWNERS review https://codereview.chromium.org/157713002/diff/550001/content/browser/frame_host/render_frame_host_impl.cc File content/browser/frame_host/render_frame_host_impl.cc (right): https://codereview.chromium.org/157713002/diff/550001/content/browser/frame_host/render_frame_host_impl.cc#newcode20 content/browser/frame_host/render_frame_host_impl.cc:20: #include "content/public/browser/dom_operation_notification_details.h" On 2014/02/18 ...
6 years, 10 months ago (2014-02-20 14:46:53 UTC) #14
mkosiba (inactive)
+sky@ for chromium/ OWNERS for real this time
6 years, 10 months ago (2014-02-21 12:03:22 UTC) #15
sky
chrome LGTM
6 years, 10 months ago (2014-02-21 17:03:53 UTC) #16
mkosiba (inactive)
The CQ bit was checked by mkosiba@chromium.org
6 years, 10 months ago (2014-02-21 18:27:16 UTC) #17
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/mkosiba@chromium.org/157713002/730001
6 years, 10 months ago (2014-02-21 18:28:05 UTC) #18
commit-bot: I haz the power
The CQ bit was unchecked by commit-bot@chromium.org
6 years, 10 months ago (2014-02-21 18:32:05 UTC) #19
commit-bot: I haz the power
Try jobs failed on following builders: mac_chromium_rel
6 years, 10 months ago (2014-02-21 18:32:06 UTC) #20
mkosiba (inactive)
tbr'ing nasko@ for IPC
6 years, 10 months ago (2014-02-21 18:42:30 UTC) #21
mkosiba (inactive)
The CQ bit was checked by mkosiba@chromium.org
6 years, 10 months ago (2014-02-21 18:42:37 UTC) #22
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/mkosiba@chromium.org/157713002/730001
6 years, 10 months ago (2014-02-21 18:43:05 UTC) #23
commit-bot: I haz the power
The CQ bit was unchecked by commit-bot@chromium.org
6 years, 10 months ago (2014-02-21 18:44:03 UTC) #24
commit-bot: I haz the power
Try jobs failed on following builders: mac_chromium_rel
6 years, 10 months ago (2014-02-21 18:44:03 UTC) #25
mkosiba (inactive)
The CQ bit was checked by mkosiba@chromium.org
6 years, 10 months ago (2014-02-21 22:49:35 UTC) #26
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/mkosiba@chromium.org/157713002/730001
6 years, 10 months ago (2014-02-21 22:50:39 UTC) #27
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/mkosiba@chromium.org/157713002/730001
6 years, 10 months ago (2014-02-22 01:24:51 UTC) #28
commit-bot: I haz the power
6 years, 10 months ago (2014-02-22 07:58:43 UTC) #29
Message was sent while issue was closed.
Change committed as 252764

Powered by Google App Engine
This is Rietveld 408576698