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

Issue 1600953003: Move find-in-page code from RenderView to RenderFrame. (Closed)

Created:
4 years, 11 months ago by paulmeyer
Modified:
4 years, 11 months ago
Reviewers:
Charlie Reis, sky, nasko
CC:
chromium-reviews, mlamouri+watch-content_chromium.org, creis+watch_chromium.org, nasko+codewatch_chromium.org, jam, darin-cc_chromium.org, mkwst+moarreviews-renderer_chromium.org, Charlie Reis, Fady Samuel, site-isolation-reviews_chromium.org
Base URL:
https://chromium.googlesource.com/chromium/src.git@master
Target Ref:
refs/pending/heads/master
Project:
chromium
Visibility:
Public.

Description

This patch moves find-in-page code from RenderView to RenderFrame. This works towards the deprecation of RenderView, and is also the first step towards implementing multi-process find-in-page (for OOPIFs). Design doc for multi-process find-in-page: https://docs.google.com/a/google.com/document/d/12S_6X2MWWLoyJslajcajL2ELU7zhodPxMOxa8Bg4Wg0/edit?usp=sharing BUG=457440 TEST=existing tests (no functional difference) Committed: https://crrev.com/5d0a5f00b50ccc7590cc0b8e3cb62550b8d82e43 Cr-Commit-Position: refs/heads/master@{#370767}

Patch Set 1 #

Total comments: 29

Patch Set 2 : Addressed comments by nasko@, git cl format. #

Total comments: 16

Patch Set 3 : Addressed final comments by nasko@, creis@. #

Unified diffs Side-by-side diffs Delta from patch set Stats (+410 lines, -421 lines) Patch
M chrome/browser/ui/find_bar/find_tab_helper.cc View 1 chunk +2 lines, -2 lines 0 comments Download
M content/browser/frame_host/render_frame_host_impl.h View 1 chunk +4 lines, -0 lines 0 comments Download
M content/browser/frame_host/render_frame_host_impl.cc View 1 1 chunk +11 lines, -0 lines 0 comments Download
M content/browser/renderer_host/render_view_host_impl.h View 1 chunk +0 lines, -5 lines 0 comments Download
M content/browser/renderer_host/render_view_host_impl.cc View 1 chunk +0 lines, -13 lines 0 comments Download
M content/browser/web_contents/web_contents_impl.cc View 1 4 chunks +6 lines, -4 lines 0 comments Download
M content/common/frame_messages.h View 1 7 chunks +66 lines, -0 lines 0 comments Download
M content/common/view_messages.h View 8 chunks +0 lines, -67 lines 0 comments Download
M content/public/browser/render_frame_host.h View 1 2 1 chunk +9 lines, -0 lines 0 comments Download
M content/public/browser/render_view_host.h View 1 chunk +0 lines, -9 lines 0 comments Download
M content/renderer/pepper/pepper_plugin_instance_impl.cc View 1 2 chunks +3 lines, -4 lines 0 comments Download
M content/renderer/render_frame_impl.h View 1 2 7 chunks +37 lines, -8 lines 0 comments Download
M content/renderer/render_frame_impl.cc View 1 2 12 chunks +272 lines, -31 lines 0 comments Download
M content/renderer/render_view_impl.h View 1 10 chunks +0 lines, -31 lines 0 comments Download
M content/renderer/render_view_impl.cc View 11 chunks +0 lines, -247 lines 0 comments Download

Messages

Total messages: 22 (10 generated)
paulmeyer
+nasko@
4 years, 11 months ago (2016-01-18 21:35:13 UTC) #4
nasko
This is an awesome start! Bunch of comments, but they are mostly minor and stylistic. ...
4 years, 11 months ago (2016-01-20 21:43:32 UTC) #6
paulmeyer
PTAL https://codereview.chromium.org/1600953003/diff/1/content/common/frame_messages.h File content/common/frame_messages.h (right): https://codereview.chromium.org/1600953003/diff/1/content/common/frame_messages.h#newcode1397 content/common/frame_messages.h:1397: // Result of string search in the page. ...
4 years, 11 months ago (2016-01-20 22:54:15 UTC) #7
nasko
LGTM once the issue in render_frame_impl.cc is fixed. https://codereview.chromium.org/1600953003/diff/1/content/public/browser/render_frame_host.h File content/public/browser/render_frame_host.h (right): https://codereview.chromium.org/1600953003/diff/1/content/public/browser/render_frame_host.h#newcode196 content/public/browser/render_frame_host.h:196: // ...
4 years, 11 months ago (2016-01-20 23:38:26 UTC) #8
Charlie Reis
Nice! Drive-by LGTM with a few nits. https://codereview.chromium.org/1600953003/diff/20001/content/public/browser/render_frame_host.h File content/public/browser/render_frame_host.h (right): https://codereview.chromium.org/1600953003/diff/20001/content/public/browser/render_frame_host.h#newcode196 content/public/browser/render_frame_host.h:196: // Asks ...
4 years, 11 months ago (2016-01-21 00:02:28 UTC) #10
Charlie Reis
Also +site-isolation-reviews@. (Would you mind CC'ing that list on future OOPIF CLs? It helps us ...
4 years, 11 months ago (2016-01-21 00:03:50 UTC) #11
paulmeyer
https://codereview.chromium.org/1600953003/diff/20001/content/public/browser/render_frame_host.h File content/public/browser/render_frame_host.h (right): https://codereview.chromium.org/1600953003/diff/20001/content/public/browser/render_frame_host.h#newcode196 content/public/browser/render_frame_host.h:196: // Asks the render process to send the rects ...
4 years, 11 months ago (2016-01-21 14:25:46 UTC) #12
paulmeyer
+sky@ for OWNER review of find_tab_helper.cc
4 years, 11 months ago (2016-01-21 14:31:20 UTC) #14
sky
LGTM
4 years, 11 months ago (2016-01-21 18:54:31 UTC) #15
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1600953003/40001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1600953003/40001
4 years, 11 months ago (2016-01-21 18:57:52 UTC) #18
commit-bot: I haz the power
Committed patchset #3 (id:40001)
4 years, 11 months ago (2016-01-21 20:16:00 UTC) #20
commit-bot: I haz the power
4 years, 11 months ago (2016-01-21 20:17:28 UTC) #22
Message was sent while issue was closed.
Patchset 3 (id:??) landed as
https://crrev.com/5d0a5f00b50ccc7590cc0b8e3cb62550b8d82e43
Cr-Commit-Position: refs/heads/master@{#370767}

Powered by Google App Engine
This is Rietveld 408576698