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

Issue 361073002: Add switch to disable recording whole document (Closed)

Created:
6 years, 5 months ago by boliu
Modified:
6 years, 5 months ago
Reviewers:
jamesr, Yaron
CC:
chromium-reviews, darin-cc_chromium.org, cc-bugs_chromium.org, jam, android-webview-reviews_chromium.org, piman+watch_chromium.org
Project:
chromium
Visibility:
Public.

Description

Add switch to disable recording whole document Add an android webview switch to disable the workaround to record the whole document on in each commit. The setting is plumbed through SynchronousCompositorFactory. BUG=390702 Committed: https://src.chromium.org/viewvc/chrome?view=rev&revision=280970

Patch Set 1 #

Total comments: 2

Patch Set 2 : review #

Total comments: 2

Patch Set 3 : review #

Unified diffs Side-by-side diffs Delta from patch set Stats (+78 lines, -32 lines) Patch
M android_webview/android_webview.gyp View 1 chunk +2 lines, -0 lines 0 comments Download
A android_webview/common/aw_switches.h View 1 2 1 chunk +16 lines, -0 lines 0 comments Download
A + android_webview/common/aw_switches.cc View 1 chunk +3 lines, -7 lines 0 comments Download
M android_webview/lib/main/aw_main_delegate.cc View 1 2 chunks +5 lines, -0 lines 0 comments Download
M cc/layers/picture_layer.cc View 1 1 chunk +1 line, -1 line 0 comments Download
M cc/trees/layer_tree_settings.h View 1 1 chunk +1 line, -0 lines 0 comments Download
M cc/trees/layer_tree_settings.cc View 1 1 chunk +2 lines, -1 line 0 comments Download
M content/browser/android/in_process/synchronous_compositor_factory_impl.h View 1 3 chunks +4 lines, -0 lines 0 comments Download
M content/browser/android/in_process/synchronous_compositor_factory_impl.cc View 1 3 chunks +11 lines, -1 line 0 comments Download
M content/browser/android/in_process/synchronous_compositor_impl.cc View 1 1 chunk +5 lines, -0 lines 0 comments Download
M content/public/browser/android/synchronous_compositor.h View 1 1 chunk +5 lines, -0 lines 0 comments Download
M content/renderer/android/synchronous_compositor_factory.h View 1 1 chunk +1 line, -0 lines 0 comments Download
M content/renderer/gpu/render_widget_compositor.cc View 1 5 chunks +20 lines, -9 lines 0 comments Download
M content/renderer/render_frame_impl.cc View 1 1 chunk +2 lines, -3 lines 0 comments Download
M content/renderer/render_widget.h View 1 1 chunk +0 lines, -2 lines 0 comments Download
M content/renderer/render_widget.cc View 1 1 chunk +0 lines, -8 lines 0 comments Download

Messages

Total messages: 18 (0 generated)
boliu
James, could you review content/renderer and cc
6 years, 5 months ago (2014-07-01 21:58:19 UTC) #1
jamesr
'document' is a concept that doesn't really exist in cc, it's a higher-level thing. Can ...
6 years, 5 months ago (2014-07-01 22:16:12 UTC) #2
jamesr
https://codereview.chromium.org/361073002/diff/1/content/renderer/render_widget.cc File content/renderer/render_widget.cc (right): https://codereview.chromium.org/361073002/diff/1/content/renderer/render_widget.cc#newcode519 content/renderer/render_widget.cc:519: SynchronousCompositorFactory::GetInstance(); if this is just accessing statics, why is ...
6 years, 5 months ago (2014-07-01 22:17:10 UTC) #3
boliu
https://codereview.chromium.org/361073002/diff/1/content/renderer/render_widget.cc File content/renderer/render_widget.cc (right): https://codereview.chromium.org/361073002/diff/1/content/renderer/render_widget.cc#newcode519 content/renderer/render_widget.cc:519: SynchronousCompositorFactory::GetInstance(); On 2014/07/01 22:17:10, jamesr wrote: > if this ...
6 years, 5 months ago (2014-07-01 22:22:05 UTC) #4
jamesr
On 2014/07/01 22:22:05, boliu wrote: > https://codereview.chromium.org/361073002/diff/1/content/renderer/render_widget.cc > File content/renderer/render_widget.cc (right): > > https://codereview.chromium.org/361073002/diff/1/content/renderer/render_widget.cc#newcode519 > ...
6 years, 5 months ago (2014-07-01 22:22:52 UTC) #5
boliu
PTAL Renamed to RecordFullLayer in content, which are all "compositor" changes. Kept the record whole ...
6 years, 5 months ago (2014-07-01 22:59:21 UTC) #6
jamesr
lgtm
6 years, 5 months ago (2014-07-01 23:09:19 UTC) #7
boliu
+yaron for the android bits
6 years, 5 months ago (2014-07-01 23:10:27 UTC) #8
Yaron
lgtm https://codereview.chromium.org/361073002/diff/20001/android_webview/common/aw_switches.h File android_webview/common/aw_switches.h (right): https://codereview.chromium.org/361073002/diff/20001/android_webview/common/aw_switches.h#newcode10 android_webview/common/aw_switches.h:10: extern const char kDisableRecordDocumentWorkaround[]; Add comment
6 years, 5 months ago (2014-07-02 00:37:12 UTC) #9
boliu
Thanks all. https://codereview.chromium.org/361073002/diff/20001/android_webview/common/aw_switches.h File android_webview/common/aw_switches.h (right): https://codereview.chromium.org/361073002/diff/20001/android_webview/common/aw_switches.h#newcode10 android_webview/common/aw_switches.h:10: extern const char kDisableRecordDocumentWorkaround[]; On 2014/07/02 00:37:12, ...
6 years, 5 months ago (2014-07-02 00:41:45 UTC) #10
boliu
The CQ bit was checked by boliu@chromium.org
6 years, 5 months ago (2014-07-02 00:41:52 UTC) #11
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/boliu@chromium.org/361073002/40001
6 years, 5 months ago (2014-07-02 00:42:10 UTC) #12
commit-bot: I haz the power
FYI, CQ is re-trying this CL (attempt #1). The failing builders are: android_chromium_gn_compile_rel on tryserver.chromium ...
6 years, 5 months ago (2014-07-02 02:42:02 UTC) #13
commit-bot: I haz the power
The CQ bit was unchecked by commit-bot@chromium.org
6 years, 5 months ago (2014-07-02 02:48:50 UTC) #14
commit-bot: I haz the power
Try jobs failed on following builders: win_chromium_rel on tryserver.chromium (http://build.chromium.org/p/tryserver.chromium/builders/win_chromium_rel/builds/34304)
6 years, 5 months ago (2014-07-02 02:48:51 UTC) #15
boliu
The CQ bit was checked by boliu@chromium.org
6 years, 5 months ago (2014-07-02 03:32:59 UTC) #16
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/boliu@chromium.org/361073002/40001
6 years, 5 months ago (2014-07-02 03:34:28 UTC) #17
commit-bot: I haz the power
6 years, 5 months ago (2014-07-02 07:31:39 UTC) #18
Message was sent while issue was closed.
Change committed as 280970

Powered by Google App Engine
This is Rietveld 408576698