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

Issue 1810213009: blimp: Add settings to allow the client to download the whole page. (Closed)

Created:
4 years, 9 months ago by Khushal
Modified:
4 years, 8 months ago
Reviewers:
nyquist, haibinlu
CC:
chromium-reviews, anandc+watch-blimp_chromium.org, maniscalco+watch-blimp_chromium.org, sriramsr+watch-blimp_chromium.org, nyquist+watch-blimp_chromium.org, marcinjb+watch-blimp_chromium.org, kmarshall+watch-blimp_chromium.org, dtrainor+watch-blimp_chromium.org
Base URL:
https://chromium.googlesource.com/chromium/src.git@record_full_document
Target Ref:
refs/pending/heads/master
Project:
chromium
Visibility:
Public.

Description

blimp: Add settings to allow the client to download the whole page. - Add a settings feature to allow the engine and client to send global settings flags - Add a switch on the client to request the whole document. BUG=591575 Committed: https://crrev.com/00c406052433085e22fa4f73d990c8e4ff3320b3 Cr-Commit-Position: refs/heads/master@{#383547}

Patch Set 1 #

Total comments: 28

Patch Set 2 : Addressed comments, added tests. #

Patch Set 3 : Minor comment fixes. #

Total comments: 13

Patch Set 4 : Rebase. #

Patch Set 5 : Use ContentBrowserClient to override prefs. #

Unified diffs Side-by-side diffs Delta from patch set Stats (+571 lines, -12 lines) Patch
M blimp/client/BUILD.gn View 1 2 3 1 chunk +2 lines, -0 lines 0 comments Download
M blimp/client/app/blimp_client_switches.h View 1 chunk +3 lines, -0 lines 0 comments Download
M blimp/client/app/blimp_client_switches.cc View 1 chunk +2 lines, -0 lines 0 comments Download
A blimp/client/feature/settings_feature.h View 1 1 chunk +45 lines, -0 lines 0 comments Download
A blimp/client/feature/settings_feature.cc View 1 1 chunk +45 lines, -0 lines 0 comments Download
M blimp/client/session/blimp_client_session.h View 1 2 3 2 chunks +2 lines, -0 lines 0 comments Download
M blimp/client/session/blimp_client_session.cc View 1 2 3 3 chunks +9 lines, -0 lines 0 comments Download
M blimp/common/create_blimp_message.h View 1 2 3 2 chunks +5 lines, -0 lines 0 comments Download
M blimp/common/create_blimp_message.cc View 1 2 3 2 chunks +10 lines, -0 lines 0 comments Download
M blimp/common/create_blimp_message_unittest.cc View 1 1 chunk +8 lines, -0 lines 0 comments Download
M blimp/common/proto/BUILD.gn View 1 2 3 1 chunk +1 line, -0 lines 0 comments Download
M blimp/common/proto/blimp_message.proto View 1 2 3 3 chunks +3 lines, -0 lines 0 comments Download
A blimp/common/proto/settings.proto View 1 1 chunk +20 lines, -0 lines 0 comments Download
M blimp/engine/BUILD.gn View 1 2 3 4 4 chunks +8 lines, -0 lines 0 comments Download
M blimp/engine/app/blimp_browser_main_parts.h View 1 2 3 4 2 chunks +3 lines, -0 lines 0 comments Download
M blimp/engine/app/blimp_browser_main_parts.cc View 1 2 3 4 3 chunks +9 lines, -2 lines 0 comments Download
M blimp/engine/app/blimp_content_browser_client.h View 1 2 3 4 1 chunk +2 lines, -0 lines 0 comments Download
M blimp/engine/app/blimp_content_browser_client.cc View 1 2 3 4 2 chunks +14 lines, -0 lines 0 comments Download
A blimp/engine/app/engine_settings.h View 1 2 3 4 1 chunk +23 lines, -0 lines 0 comments Download
A blimp/engine/app/engine_settings.cc View 1 2 3 4 1 chunk +17 lines, -0 lines 0 comments Download
A blimp/engine/app/settings_manager.h View 1 2 3 4 1 chunk +51 lines, -0 lines 0 comments Download
A blimp/engine/app/settings_manager.cc View 1 2 3 4 1 chunk +45 lines, -0 lines 0 comments Download
A blimp/engine/app/settings_manager_unittest.cc View 1 2 3 4 1 chunk +46 lines, -0 lines 0 comments Download
M blimp/engine/feature/engine_render_widget_feature.h View 1 2 3 4 7 chunks +11 lines, -2 lines 0 comments Download
M blimp/engine/feature/engine_render_widget_feature.cc View 1 2 3 4 3 chunks +27 lines, -2 lines 0 comments Download
M blimp/engine/feature/engine_render_widget_feature_unittest.cc View 1 2 3 4 chunks +4 lines, -2 lines 0 comments Download
A blimp/engine/feature/engine_settings_feature.h View 1 2 3 4 1 chunk +40 lines, -0 lines 0 comments Download
A blimp/engine/feature/engine_settings_feature.cc View 1 2 3 4 1 chunk +49 lines, -0 lines 0 comments Download
A blimp/engine/feature/engine_settings_feature_unittest.cc View 1 2 3 4 1 chunk +44 lines, -0 lines 0 comments Download
M blimp/engine/session/blimp_engine_session.h View 1 2 3 4 4 chunks +10 lines, -1 line 0 comments Download
M blimp/engine/session/blimp_engine_session.cc View 1 2 3 4 3 chunks +13 lines, -3 lines 0 comments Download

Messages

Total messages: 13 (3 generated)
Khushal
4 years, 9 months ago (2016-03-19 02:11:08 UTC) #2
haibinlu
https://codereview.chromium.org/1810213009/diff/1/blimp/client/feature/settings_feature.cc File blimp/client/feature/settings_feature.cc (right): https://codereview.chromium.org/1810213009/diff/1/blimp/client/feature/settings_feature.cc#newcode1 blimp/client/feature/settings_feature.cc:1: // Copyright 2015 The Chromium Authors. All rights reserved. ...
4 years, 9 months ago (2016-03-21 18:25:23 UTC) #3
Khushal
Added the EngineSettings and SettingsManager, made sense to keep these separate. PTAL. https://codereview.chromium.org/1810213009/diff/1/blimp/client/feature/settings_feature.cc File blimp/client/feature/settings_feature.cc ...
4 years, 9 months ago (2016-03-22 04:11:43 UTC) #4
haibinlu
looks great! a few nits. https://codereview.chromium.org/1810213009/diff/40001/blimp/client/feature/settings_feature.cc File blimp/client/feature/settings_feature.cc (right): https://codereview.chromium.org/1810213009/diff/40001/blimp/client/feature/settings_feature.cc#newcode41 blimp/client/feature/settings_feature.cc:41: callback.Run(net::OK); remove callback.Run(net::OK); https://codereview.chromium.org/1810213009/diff/40001/blimp/client/feature/settings_feature.h ...
4 years, 9 months ago (2016-03-22 17:28:39 UTC) #5
Khushal
Thanks Haibin. I had overlooked the fact that the WebPreferences can be changed internally in ...
4 years, 9 months ago (2016-03-25 23:00:22 UTC) #6
haibinlu
lgtm https://codereview.chromium.org/1810213009/diff/40001/blimp/engine/feature/engine_render_widget_feature.cc File blimp/engine/feature/engine_render_widget_feature.cc (right): https://codereview.chromium.org/1810213009/diff/40001/blimp/engine/feature/engine_render_widget_feature.cc#newcode186 blimp/engine/feature/engine_render_widget_feature.cc:186: void EngineRenderWidgetFeature::OnWebPreferencesChanged() { On 2016/03/25 23:00:22, Khushal wrote: ...
4 years, 9 months ago (2016-03-25 23:53:13 UTC) #7
Khushal
Thanks Haibin! https://codereview.chromium.org/1810213009/diff/40001/blimp/engine/feature/engine_render_widget_feature.cc File blimp/engine/feature/engine_render_widget_feature.cc (right): https://codereview.chromium.org/1810213009/diff/40001/blimp/engine/feature/engine_render_widget_feature.cc#newcode186 blimp/engine/feature/engine_render_widget_feature.cc:186: void EngineRenderWidgetFeature::OnWebPreferencesChanged() { On 2016/03/25 23:53:13, haibinlu ...
4 years, 8 months ago (2016-03-28 19:20:11 UTC) #8
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1810213009/80001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1810213009/80001
4 years, 8 months ago (2016-03-28 19:20:38 UTC) #10
commit-bot: I haz the power
Committed patchset #5 (id:80001)
4 years, 8 months ago (2016-03-28 20:00:44 UTC) #11
commit-bot: I haz the power
4 years, 8 months ago (2016-03-28 20:02:30 UTC) #13
Message was sent while issue was closed.
Patchset 5 (id:??) landed as
https://crrev.com/00c406052433085e22fa4f73d990c8e4ff3320b3
Cr-Commit-Position: refs/heads/master@{#383547}

Powered by Google App Engine
This is Rietveld 408576698