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

Issue 15851006: Move synchronous compositor into content/browser (Closed)

Created:
7 years, 6 months ago by joth
Modified:
7 years, 6 months ago
CC:
chromium-reviews, vsevik, yurys, joi+watch-content_chromium.org, darin-cc_chromium.org, android-webview-reviews_chromium.org, pfeldman
Visibility:
Public.

Description

Move synchronous compositor into content/browser This means all the hookup can remain in content/ so less internal details need to be revealed in the public API long-term. Now there is a single API to intialize the sync compositor mode per process, and per WebContents, rather than a collection of flags and hooks. The bulk of the browser->renderer hookup is done in content/ so android_webview InProcessViewRenderer can be greatly simplified. (depends on pending CL https://codereview.chromium.org/15875009/) Committed: https://src.chromium.org/viewvc/chrome?view=rev&revision=203351

Patch Set 1 #

Patch Set 2 : fix #

Patch Set 3 : rebased and squashed #

Patch Set 4 : tidy #

Total comments: 8

Patch Set 5 : mkosiba comments1 #

Total comments: 4

Patch Set 6 : jamesr comments1 #

Patch Set 7 : (reupload) #

Patch Set 8 : fix test #

Patch Set 9 : (retry upload) #

Patch Set 10 : (again) #

Patch Set 11 : rebase #

Unified diffs Side-by-side diffs Delta from patch set Stats (+381 lines, -1501 lines) Patch
M android_webview/android_webview.gyp View 1 chunk +2 lines, -4 lines 0 comments Download
M android_webview/browser/aw_devtools_delegate.cc View 1 2 3 4 5 1 chunk +1 line, -1 line 0 comments Download
M android_webview/browser/browser_view_renderer_impl.cc View 1 chunk +1 line, -1 line 0 comments Download
D android_webview/browser/in_process_renderer/DEPS View 1 chunk +0 lines, -8 lines 0 comments Download
D android_webview/browser/in_process_renderer/in_process_renderer_client.h View 1 chunk +0 lines, -27 lines 0 comments Download
D android_webview/browser/in_process_renderer/in_process_renderer_client.cc View 1 2 3 4 5 6 7 8 9 10 1 chunk +0 lines, -56 lines 0 comments Download
D android_webview/browser/in_process_renderer/in_process_view_renderer.h View 1 chunk +0 lines, -103 lines 0 comments Download
D android_webview/browser/in_process_renderer/in_process_view_renderer.cc View 1 2 3 4 5 6 7 8 9 10 1 chunk +0 lines, -594 lines 0 comments Download
A + android_webview/browser/in_process_view_renderer.h View 1 2 3 3 chunks +3 lines, -5 lines 0 comments Download
A + android_webview/browser/in_process_view_renderer.cc View 1 2 3 4 5 6 7 8 9 10 6 chunks +22 lines, -32 lines 0 comments Download
android_webview/lib/main/aw_main_delegate.cc View 1 2 3 4 5 6 7 3 chunks +1 line, -10 lines 0 comments Download
A content/browser/android/in_process/DEPS View 1 2 1 chunk +6 lines, -0 lines 0 comments Download
A + content/browser/android/in_process/synchronous_compositor_impl.h View 1 2 3 4 5 6 7 3 chunks +20 lines, -17 lines 0 comments Download
A content/browser/android/in_process/synchronous_compositor_impl.cc View 1 2 3 4 5 6 7 1 chunk +163 lines, -0 lines 0 comments Download
A + content/browser/android/in_process/synchronous_compositor_output_surface.h View 1 2 3 chunks +14 lines, -15 lines 0 comments Download
A + content/browser/android/in_process/synchronous_compositor_output_surface.cc View 1 2 6 chunks +25 lines, -13 lines 0 comments Download
M content/content_browser.gypi View 1 2 3 4 5 6 7 8 9 10 2 chunks +6 lines, -0 lines 0 comments Download
M content/content_renderer.gypi View 1 2 3 4 5 6 7 8 9 10 2 chunks +2 lines, -6 lines 0 comments Download
A + content/public/browser/android/synchronous_compositor.h View 1 2 3 4 5 6 7 4 chunks +10 lines, -3 lines 0 comments Download
A + content/public/browser/android/synchronous_compositor_client.h View 3 chunks +7 lines, -3 lines 0 comments Download
M content/public/common/content_switches.h View 1 2 3 4 5 6 7 8 9 10 1 chunk +0 lines, -1 line 0 comments Download
M content/public/common/content_switches.cc View 1 2 3 4 5 6 7 8 9 10 1 chunk +0 lines, -5 lines 0 comments Download
D content/public/renderer/android/synchronous_compositor.h View 1 chunk +0 lines, -53 lines 0 comments Download
D content/public/renderer/android/synchronous_compositor_client.h View 1 chunk +0 lines, -39 lines 0 comments Download
M content/public/renderer/content_renderer_client.h View 1 2 3 4 5 6 7 8 9 10 1 chunk +0 lines, -16 lines 0 comments Download
M content/public/renderer/content_renderer_client.cc View 1 2 3 4 5 6 7 8 9 10 1 chunk +0 lines, -9 lines 0 comments Download
A content/renderer/android/synchronous_compositor_factory.h View 1 2 3 4 5 1 chunk +44 lines, -0 lines 0 comments Download
A content/renderer/android/synchronous_compositor_factory.cc View 1 2 1 chunk +33 lines, -0 lines 0 comments Download
D content/renderer/android/synchronous_compositor_impl.h View 1 2 1 chunk +0 lines, -62 lines 0 comments Download
D content/renderer/android/synchronous_compositor_impl.cc View 1 2 1 chunk +0 lines, -88 lines 0 comments Download
D content/renderer/android/synchronous_compositor_output_surface.h View 1 2 1 chunk +0 lines, -85 lines 0 comments Download
D content/renderer/android/synchronous_compositor_output_surface.cc View 1 2 1 chunk +0 lines, -204 lines 0 comments Download
M content/renderer/render_thread_impl.cc View 1 2 3 4 5 6 7 8 9 10 3 chunks +14 lines, -10 lines 0 comments Download
M content/renderer/render_widget.h View 1 2 3 4 5 6 7 8 9 10 3 chunks +0 lines, -11 lines 0 comments Download
M content/renderer/render_widget.cc View 1 2 3 4 5 4 chunks +7 lines, -20 lines 0 comments Download

Messages

Total messages: 13 (0 generated)
joth
This CL supercedes https://codereview.chromium.org/16119003/ and makes all the content/public API changes in addition to the ...
7 years, 6 months ago (2013-05-30 01:03:44 UTC) #1
jamesr
General shape of this looks pretty reasonable to me. I'll do a line-by-line review once ...
7 years, 6 months ago (2013-05-30 02:30:15 UTC) #2
mkosiba (inactive)
LGTM I think this clears stuff up nicely! https://codereview.chromium.org/15851006/diff/7001/android_webview/browser/in_process_view_renderer.cc File android_webview/browser/in_process_view_renderer.cc (right): https://codereview.chromium.org/15851006/diff/7001/android_webview/browser/in_process_view_renderer.cc#newcode281 android_webview/browser/in_process_view_renderer.cc:281: SetContents(NULL); ...
7 years, 6 months ago (2013-05-30 11:05:28 UTC) #3
jam
lgtm, thanks
7 years, 6 months ago (2013-05-30 18:25:00 UTC) #4
joth
Thanks mkosiba, jam! jamesr - over to you for a look? Cheers https://codereview.chromium.org/15851006/diff/7001/android_webview/browser/in_process_view_renderer.cc File android_webview/browser/in_process_view_renderer.cc ...
7 years, 6 months ago (2013-05-30 19:18:05 UTC) #5
jamesr
lgtm on all but content_renderer.gypi. I think that might just be a mass-rename.sh misfire https://codereview.chromium.org/15851006/diff/15001/content/content_renderer.gypi ...
7 years, 6 months ago (2013-05-30 20:28:56 UTC) #6
joth
Both points addressed, thanks! https://codereview.chromium.org/15851006/diff/15001/content/content_renderer.gypi File content/content_renderer.gypi (right): https://codereview.chromium.org/15851006/diff/15001/content/content_renderer.gypi#newcode35 content/content_renderer.gypi:35: 'public/browser/android/synchronous_compositor.h', On 2013/05/30 20:28:57, jamesr ...
7 years, 6 months ago (2013-05-30 21:22:14 UTC) #7
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/joth@chromium.org/15851006/19002
7 years, 6 months ago (2013-05-30 21:22:37 UTC) #8
commit-bot: I haz the power
Retried try job too often on linux_aura for step(s) browser_tests http://build.chromium.org/p/tryserver.chromium/buildstatus?builder=linux_aura&number=45586
7 years, 6 months ago (2013-05-30 23:55:00 UTC) #9
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/joth@chromium.org/15851006/47036
7 years, 6 months ago (2013-05-31 01:59:00 UTC) #10
commit-bot: I haz the power
Failed to apply patch for content/public/renderer/content_renderer_client.cc: While running patch -p1 --forward --force --no-backup-if-mismatch; patching file ...
7 years, 6 months ago (2013-05-31 01:59:11 UTC) #11
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/joth@chromium.org/15851006/55003
7 years, 6 months ago (2013-05-31 02:23:43 UTC) #12
commit-bot: I haz the power
7 years, 6 months ago (2013-05-31 07:16:09 UTC) #13
Message was sent while issue was closed.
Change committed as 203351

Powered by Google App Engine
This is Rietveld 408576698