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

Issue 49823002: Move navigation and frame tree classes to a new frame_host/ directory. (Closed)

Created:
7 years, 1 month ago by nasko
Modified:
7 years, 1 month ago
Reviewers:
Charlie Reis, jam
CC:
chromium-reviews, creis+watch_chromium.org, jam, joi+watch-content_chromium.org, darin-cc_chromium.org, ajwong+watch_chromium.org, miu+watch_chromium.org, site-isolation-reviews_chromium.org
Visibility:
Public.

Description

Move navigation and frame tree classes to a new frame_host/ directory. This CL moves all frame tree classes, Navigation* and its dependencies from web_contents/ to a separate frame_host/ directory. BUG=304341 Committed: https://src.chromium.org/viewvc/chrome?view=rev&revision=231921

Patch Set 1 #

Total comments: 8

Patch Set 2 : Fixing DEPS. #

Patch Set 3 : Rebasing on ToT. #

Patch Set 4 : Fix includes. #

Total comments: 6

Patch Set 5 : Fixed include error and added DEPS exceptions for renderer_host/. #

Patch Set 6 : Remove unneeded include. #

Total comments: 4

Patch Set 7 : Fixing gyp and adding TODO. #

Unified diffs Side-by-side diffs Delta from patch set Stats (+163 lines, -12255 lines) Patch
M content/browser/android/content_view_core_impl.cc View 1 2 3 2 chunks +3 lines, -3 lines 0 comments Download
M content/browser/browser_url_handler_impl.cc View 1 chunk +1 line, -1 line 0 comments Download
A content/browser/frame_host/DEPS View 1 1 chunk +22 lines, -0 lines 0 comments Download
A + content/browser/frame_host/debug_urls.h View 2 chunks +3 lines, -3 lines 0 comments Download
A + content/browser/frame_host/debug_urls.cc View 1 chunk +1 line, -1 line 0 comments Download
A + content/browser/frame_host/frame_tree.h View 2 chunks +4 lines, -4 lines 0 comments Download
A + content/browser/frame_host/frame_tree.cc View 1 chunk +3 lines, -3 lines 0 comments Download
A + content/browser/frame_host/frame_tree_node.h View 2 chunks +3 lines, -3 lines 0 comments Download
A + content/browser/frame_host/frame_tree_node.cc View 1 chunk +2 lines, -2 lines 0 comments Download
A + content/browser/frame_host/frame_tree_unittest.cc View 1 chunk +2 lines, -2 lines 0 comments Download
A + content/browser/frame_host/interstitial_page_impl.h View 2 chunks +4 lines, -4 lines 0 comments Download
A + content/browser/frame_host/interstitial_page_impl.cc View 2 chunks +3 lines, -3 lines 0 comments Download
A + content/browser/frame_host/navigation_controller_delegate.h View 2 chunks +3 lines, -3 lines 0 comments Download
A + content/browser/frame_host/navigation_controller_impl.h View 3 chunks +4 lines, -4 lines 0 comments Download
A + content/browser/frame_host/navigation_controller_impl.cc View 3 chunks +5 lines, -6 lines 0 comments Download
A + content/browser/frame_host/navigation_controller_impl_unittest.cc View 1 chunk +3 lines, -3 lines 0 comments Download
A + content/browser/frame_host/navigation_entry_impl.h View 2 chunks +3 lines, -3 lines 0 comments Download
A + content/browser/frame_host/navigation_entry_impl.cc View 1 chunk +1 line, -1 line 0 comments Download
A + content/browser/frame_host/navigation_entry_impl_unittest.cc View 1 chunk +1 line, -1 line 0 comments Download
A + content/browser/frame_host/render_frame_host_impl.h View 2 chunks +3 lines, -3 lines 0 comments Download
A + content/browser/frame_host/render_frame_host_impl.cc View 1 chunk +2 lines, -2 lines 0 comments Download
A + content/browser/frame_host/render_frame_message_filter.h View 2 chunks +3 lines, -3 lines 0 comments Download
A + content/browser/frame_host/render_frame_message_filter.cc View 1 chunk +2 lines, -2 lines 0 comments Download
A + content/browser/frame_host/render_view_host_manager.h View 2 chunks +3 lines, -3 lines 0 comments Download
A + content/browser/frame_host/render_view_host_manager.cc View 3 chunks +4 lines, -5 lines 0 comments Download
A + content/browser/frame_host/render_view_host_manager_unittest.cc View 1 chunk +3 lines, -3 lines 0 comments Download
A + content/browser/frame_host/web_contents_screenshot_manager.h View 1 2 3 4 5 6 3 chunks +5 lines, -3 lines 0 comments Download
A + content/browser/frame_host/web_contents_screenshot_manager.cc View 1 chunk +3 lines, -4 lines 0 comments Download
M content/browser/renderer_host/DEPS View 1 2 3 4 3 chunks +11 lines, -0 lines 0 comments Download
D content/browser/renderer_host/frame_tree.h View 1 chunk +0 lines, -103 lines 0 comments Download
D content/browser/renderer_host/frame_tree.cc View 1 chunk +0 lines, -138 lines 0 comments Download
D content/browser/renderer_host/frame_tree_node.h View 1 chunk +0 lines, -116 lines 0 comments Download
D content/browser/renderer_host/frame_tree_node.cc View 1 chunk +0 lines, -57 lines 0 comments Download
D content/browser/renderer_host/frame_tree_unittest.cc View 1 chunk +0 lines, -173 lines 0 comments Download
D content/browser/renderer_host/render_frame_host_impl.h View 1 chunk +0 lines, -77 lines 0 comments Download
D content/browser/renderer_host/render_frame_host_impl.cc View 1 chunk +0 lines, -103 lines 0 comments Download
D content/browser/renderer_host/render_frame_message_filter.h View 1 chunk +0 lines, -44 lines 0 comments Download
D content/browser/renderer_host/render_frame_message_filter.cc View 1 chunk +0 lines, -71 lines 0 comments Download
M content/browser/renderer_host/render_process_host_impl.cc View 2 chunks +1 line, -1 line 0 comments Download
M content/browser/renderer_host/render_view_host_impl.h View 1 chunk +1 line, -1 line 0 comments Download
M content/browser/renderer_host/render_view_host_impl.cc View 2 chunks +1 line, -1 line 0 comments Download
M content/browser/renderer_host/render_view_host_unittest.cc View 1 2 3 4 5 1 chunk +0 lines, -1 line 0 comments Download
M content/browser/site_instance_impl_unittest.cc View 1 chunk +1 line, -1 line 0 comments Download
M content/browser/site_per_process_browsertest.cc View 1 chunk +1 line, -1 line 0 comments Download
M content/browser/ssl/ssl_error_handler.cc View 1 chunk +1 line, -1 line 0 comments Download
M content/browser/ssl/ssl_manager.cc View 1 chunk +1 line, -1 line 0 comments Download
M content/browser/ssl/ssl_policy.cc View 1 chunk +1 line, -1 line 0 comments Download
M content/browser/ssl/ssl_policy_backend.cc View 1 chunk +1 line, -1 line 0 comments Download
D content/browser/web_contents/debug_urls.h View 1 chunk +0 lines, -20 lines 0 comments Download
D content/browser/web_contents/debug_urls.cc View 1 chunk +0 lines, -82 lines 0 comments Download
D content/browser/web_contents/interstitial_page_impl.h View 1 chunk +0 lines, -267 lines 0 comments Download
D content/browser/web_contents/interstitial_page_impl.cc View 1 chunk +0 lines, -843 lines 0 comments Download
D content/browser/web_contents/navigation_controller_delegate.h View 1 chunk +0 lines, -79 lines 0 comments Download
D content/browser/web_contents/navigation_controller_impl.h View 1 chunk +0 lines, -410 lines 0 comments Download
D content/browser/web_contents/navigation_controller_impl.cc View 1 chunk +0 lines, -1705 lines 0 comments Download
D content/browser/web_contents/navigation_controller_impl_unittest.cc View 1 chunk +0 lines, -3794 lines 0 comments Download
D content/browser/web_contents/navigation_entry_impl.h View 1 chunk +0 lines, -316 lines 0 comments Download
D content/browser/web_contents/navigation_entry_impl.cc View 1 chunk +0 lines, -331 lines 0 comments Download
D content/browser/web_contents/navigation_entry_impl_unittest.cc View 1 chunk +0 lines, -241 lines 0 comments Download
D content/browser/web_contents/render_view_host_manager.h View 1 chunk +0 lines, -389 lines 0 comments Download
D content/browser/web_contents/render_view_host_manager.cc View 1 chunk +0 lines, -1093 lines 0 comments Download
D content/browser/web_contents/render_view_host_manager_unittest.cc View 1 chunk +0 lines, -1308 lines 0 comments Download
M content/browser/web_contents/web_contents_impl.h View 1 chunk +4 lines, -4 lines 0 comments Download
M content/browser/web_contents/web_contents_impl.cc View 1 2 2 chunks +2 lines, -2 lines 0 comments Download
M content/browser/web_contents/web_contents_impl_unittest.cc View 1 chunk +2 lines, -2 lines 0 comments Download
D content/browser/web_contents/web_contents_screenshot_manager.h View 1 chunk +0 lines, -89 lines 0 comments Download
D content/browser/web_contents/web_contents_screenshot_manager.cc View 1 chunk +0 lines, -274 lines 0 comments Download
M content/browser/web_contents/web_contents_view_android.cc View 1 2 3 1 chunk +1 line, -1 line 0 comments Download
M content/browser/web_contents/web_contents_view_aura.cc View 1 2 3 2 chunks +2 lines, -2 lines 0 comments Download
M content/browser/web_contents/web_contents_view_aura_browsertest.cc View 1 2 3 4 1 chunk +3 lines, -3 lines 0 comments Download
M content/browser/web_contents/web_contents_view_gtk.cc View 1 chunk +1 line, -1 line 0 comments Download
M content/browser/web_contents/web_contents_view_guest.cc View 1 chunk +1 line, -1 line 0 comments Download
M content/browser/web_contents/web_contents_view_win.cc View 1 2 3 1 chunk +1 line, -1 line 0 comments Download
M content/content_browser.gypi View 1 2 3 4 5 6 4 chunks +21 lines, -21 lines 0 comments Download
M content/content_tests.gypi View 1 2 3 chunks +4 lines, -4 lines 0 comments Download
M content/public/test/test_renderer_host.cc View 1 chunk +1 line, -1 line 0 comments Download
M content/test/test_web_contents.cc View 1 chunk +1 line, -1 line 0 comments Download

Messages

Total messages: 15 (0 generated)
nasko
Hey guys, This is initial stab at moving all relevant files to frame_host/. This CL ...
7 years, 1 month ago (2013-10-28 21:35:32 UTC) #1
jam
lgtm https://codereview.chromium.org/49823002/diff/1/content/browser/frame_host/DEPS File content/browser/frame_host/DEPS (right): https://codereview.chromium.org/49823002/diff/1/content/browser/frame_host/DEPS#newcode9 content/browser/frame_host/DEPS:9: nit: extra blank line https://codereview.chromium.org/49823002/diff/1/content/browser/frame_host/DEPS#newcode14 content/browser/frame_host/DEPS:14: # investigate ...
7 years, 1 month ago (2013-10-29 01:25:59 UTC) #2
nasko
Fixed DEPS. https://codereview.chromium.org/49823002/diff/1/content/browser/frame_host/DEPS File content/browser/frame_host/DEPS (right): https://codereview.chromium.org/49823002/diff/1/content/browser/frame_host/DEPS#newcode9 content/browser/frame_host/DEPS:9: On 2013/10/29 01:26:00, jam wrote: > nit: ...
7 years, 1 month ago (2013-10-29 13:19:53 UTC) #3
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/nasko@chromium.org/49823002/60001
7 years, 1 month ago (2013-10-29 13:20:21 UTC) #4
commit-bot: I haz the power
Failed to apply patch for content/content_browser.gypi: While running patch -p1 --forward --force --no-backup-if-mismatch; patching file ...
7 years, 1 month ago (2013-10-29 13:20:42 UTC) #5
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/nasko@chromium.org/49823002/110001
7 years, 1 month ago (2013-10-29 13:24:59 UTC) #6
commit-bot: I haz the power
Sorry for I got bad news for ya. Compile failed with a clobber build on ...
7 years, 1 month ago (2013-10-29 13:57:55 UTC) #7
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/nasko@chromium.org/49823002/50003
7 years, 1 month ago (2013-10-29 15:09:24 UTC) #8
Charlie Reis
Perhaps we should prevent renderer_host from depending on frame_host, with some exceptions / TODOs for ...
7 years, 1 month ago (2013-10-29 15:53:59 UTC) #9
commit-bot: I haz the power
Sorry for I got bad news for ya. Compile failed with a clobber build on ...
7 years, 1 month ago (2013-10-29 15:57:24 UTC) #10
nasko
Charlie, I added exceptions to the DEPS for renderer_host/, since we can't break the dependencies ...
7 years, 1 month ago (2013-10-29 16:14:21 UTC) #11
Charlie Reis
LGTM with comments below. https://codereview.chromium.org/49823002/diff/230002/content/browser/frame_host/web_contents_screenshot_manager.h File content/browser/frame_host/web_contents_screenshot_manager.h (right): https://codereview.chromium.org/49823002/diff/230002/content/browser/frame_host/web_contents_screenshot_manager.h#newcode26 content/browser/frame_host/web_contents_screenshot_manager.h:26: class CONTENT_EXPORT WebContentsScreenshotManager { Let's ...
7 years, 1 month ago (2013-10-29 16:36:38 UTC) #12
nasko
https://codereview.chromium.org/49823002/diff/230002/content/browser/frame_host/web_contents_screenshot_manager.h File content/browser/frame_host/web_contents_screenshot_manager.h (right): https://codereview.chromium.org/49823002/diff/230002/content/browser/frame_host/web_contents_screenshot_manager.h#newcode26 content/browser/frame_host/web_contents_screenshot_manager.h:26: class CONTENT_EXPORT WebContentsScreenshotManager { On 2013/10/29 16:36:39, creis wrote: ...
7 years, 1 month ago (2013-10-29 16:47:21 UTC) #13
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/nasko@chromium.org/49823002/620001
7 years, 1 month ago (2013-10-30 17:15:03 UTC) #14
commit-bot: I haz the power
7 years, 1 month ago (2013-10-30 21:06:42 UTC) #15
Message was sent while issue was closed.
Change committed as 231921

Powered by Google App Engine
This is Rietveld 408576698