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

Issue 2292723003: Move remaining Blimp feature code to core. (Closed)

Created:
4 years, 3 months ago by David Trainor- moved to gerrit
Modified:
4 years, 3 months ago
Reviewers:
nyquist, vmpstr, Khushal
CC:
chromium-reviews, anandc+watch-blimp_chromium.org, maniscalco+watch-blimp_chromium.org, sriramsr+watch-blimp_chromium.org, gcasto+watch-blimp_chromium.org, nyquist+watch-blimp_chromium.org, marcinjb+watch-blimp_chromium.org, jessicag+watch-blimp_chromium.org, kmarshall+watch-blimp_chromium.org, lethalantidote+watch-blimp_chromium.org, dtrainor+watch-blimp_chromium.org, shaktisahu+watch-blimp_chromium.org, khushalsagar+watch-blimp_chromium.org
Target Ref:
refs/pending/heads/master
Project:
chromium
Visibility:
Public.

Description

Move remaining Blimp feature code to core. Migrate the last two features (render widget and settings) from blimp/client/features to blimp/client/core. This required adding support for BlimpCompositorDependencies throughout blimp/client/core and exposing a CompositorDependencies class in the constructor of BlimpClientContext as well. BUG=611105 CQ_INCLUDE_TRYBOTS=master.tryserver.blink:linux_precise_blink_rel Committed: https://crrev.com/4699d62ad6d10c58b26e71dce4f459f6ab967b4f Cr-Commit-Position: refs/heads/master@{#415642}

Patch Set 1 #

Patch Set 2 : Progress #

Patch Set 3 : Move render_widget to it's own core group #

Patch Set 4 : Fixed failing unit tests #

Patch Set 5 : Fixed gn check failures #

Patch Set 6 : Rebased #

Patch Set 7 : Fixed gn check failure #

Total comments: 22

Patch Set 8 : Address comments #

Total comments: 2

Patch Set 9 : Added comment for BlimpCompositorManager #

Patch Set 10 : Rebased #

Patch Set 11 : Fix build break #

Unified diffs Side-by-side diffs Delta from patch set Stats (+561 lines, -2479 lines) Patch
M blimp/BUILD.gn View 1 chunk +0 lines, -1 line 0 comments Download
M blimp/client/BUILD.gn View 1 2 3 4 5 4 chunks +7 lines, -112 lines 0 comments Download
M blimp/client/app/android/blimp_client_session_android.cc View 1 chunk +1 line, -1 line 0 comments Download
M blimp/client/app/android/blimp_view.h View 1 2 1 chunk +1 line, -1 line 0 comments Download
M blimp/client/app/android/blimp_view.cc View 1 chunk +1 line, -1 line 0 comments Download
M blimp/client/app/linux/blimp_display_manager.cc View 1 2 1 chunk +2 lines, -2 lines 0 comments Download
M blimp/client/core/BUILD.gn View 1 2 3 4 5 4 chunks +10 lines, -2 lines 0 comments Download
M blimp/client/core/android/blimp_client_context_impl_android.h View 1 2 3 4 5 2 chunks +4 lines, -1 line 0 comments Download
M blimp/client/core/android/blimp_client_context_impl_android.cc View 1 2 3 4 5 2 chunks +6 lines, -2 lines 0 comments Download
M blimp/client/core/blimp_client_context_impl.h View 1 2 3 4 5 6 7 6 chunks +19 lines, -8 lines 0 comments Download
M blimp/client/core/blimp_client_context_impl.cc View 1 2 3 4 5 6 7 8 9 4 chunks +40 lines, -5 lines 0 comments Download
M blimp/client/core/blimp_client_context_impl_unittest.cc View 1 2 3 chunks +5 lines, -2 lines 0 comments Download
M blimp/client/core/compositor/BUILD.gn View 1 2 3 4 5 6 7 3 chunks +20 lines, -0 lines 0 comments Download
A + blimp/client/core/compositor/blimp_compositor.h View 1 3 chunks +5 lines, -6 lines 0 comments Download
A + blimp/client/core/compositor/blimp_compositor.cc View 1 2 chunks +2 lines, -3 lines 0 comments Download
A + blimp/client/core/compositor/blimp_compositor_manager.h View 1 2 2 chunks +5 lines, -5 lines 0 comments Download
A + blimp/client/core/compositor/blimp_compositor_manager.cc View 1 2 chunks +5 lines, -7 lines 0 comments Download
A + blimp/client/core/compositor/blimp_compositor_manager_unittest.cc View 1 2 5 chunks +16 lines, -20 lines 0 comments Download
A + blimp/client/core/compositor/blimp_compositor_unittest.cc View 1 2 4 chunks +8 lines, -8 lines 0 comments Download
M blimp/client/core/compositor/blob_image_serialization_processor.h View 1 2 1 chunk +1 line, -2 lines 0 comments Download
M blimp/client/core/compositor/blob_image_serialization_processor.cc View 1 2 1 chunk +1 line, -0 lines 0 comments Download
M blimp/client/core/contents/BUILD.gn View 1 2 3 4 4 chunks +8 lines, -3 lines 0 comments Download
M blimp/client/core/contents/android/blimp_contents_impl_android.h View 1 2 3 4 5 6 7 1 chunk +2 lines, -0 lines 0 comments Download
M blimp/client/core/contents/android/blimp_contents_impl_android.cc View 1 2 3 4 5 6 7 1 chunk +8 lines, -0 lines 0 comments Download
M blimp/client/core/contents/android/java/src/org/chromium/blimp/core/contents/BlimpContentsImpl.java View 1 2 3 4 5 6 7 1 chunk +14 lines, -0 lines 0 comments Download
M blimp/client/core/contents/blimp_contents_impl.h View 1 2 3 4 5 6 7 8 5 chunks +12 lines, -0 lines 0 comments Download
M blimp/client/core/contents/blimp_contents_impl.cc View 1 2 3 4 5 6 7 2 chunks +18 lines, -5 lines 0 comments Download
M blimp/client/core/contents/blimp_contents_impl_unittest.cc View 1 2 3 3 chunks +15 lines, -3 lines 0 comments Download
M blimp/client/core/contents/blimp_contents_manager.h View 1 2 3 4 5 6 7 8 9 3 chunks +17 lines, -4 lines 0 comments Download
M blimp/client/core/contents/blimp_contents_manager.cc View 1 2 3 4 5 6 7 8 9 3 chunks +12 lines, -3 lines 0 comments Download
M blimp/client/core/contents/blimp_contents_manager_unittest.cc View 1 2 3 4 5 6 7 8 9 5 chunks +23 lines, -4 lines 0 comments Download
M blimp/client/core/contents/blimp_contents_observer_unittest.cc View 1 2 3 3 chunks +14 lines, -4 lines 0 comments Download
M blimp/client/core/contents/blimp_contents_view.h View 1 2 3 4 5 6 7 2 chunks +7 lines, -1 line 0 comments Download
M blimp/client/core/contents/blimp_contents_view_android.h View 1 2 3 4 5 6 7 1 chunk +2 lines, -1 line 0 comments Download
M blimp/client/core/contents/blimp_contents_view_android.cc View 1 2 3 4 5 6 7 1 chunk +6 lines, -6 lines 0 comments Download
M blimp/client/core/contents/blimp_contents_view_aura.cc View 1 2 3 4 5 6 7 1 chunk +3 lines, -1 line 0 comments Download
M blimp/client/core/dummy_blimp_client_context.cc View 1 2 2 chunks +3 lines, -1 line 0 comments Download
A blimp/client/core/input/BUILD.gn View 1 2 3 4 5 6 7 1 chunk +26 lines, -0 lines 0 comments Download
A + blimp/client/core/input/blimp_input_handler_wrapper.h View 1 2 3 4 5 6 7 3 chunks +7 lines, -3 lines 0 comments Download
A + blimp/client/core/input/blimp_input_handler_wrapper.cc View 1 3 chunks +12 lines, -13 lines 0 comments Download
A + blimp/client/core/input/blimp_input_manager.h View 1 2 3 4 5 6 7 2 chunks +9 lines, -4 lines 0 comments Download
A + blimp/client/core/input/blimp_input_manager.cc View 1 5 chunks +11 lines, -13 lines 0 comments Download
A blimp/client/core/render_widget/BUILD.gn View 1 2 3 4 1 chunk +59 lines, -0 lines 0 comments Download
A + blimp/client/core/render_widget/mock_render_widget_feature_delegate.h View 1 2 2 chunks +4 lines, -4 lines 0 comments Download
A + blimp/client/core/render_widget/mock_render_widget_feature_delegate.cc View 1 2 1 chunk +1 line, -1 line 0 comments Download
A + blimp/client/core/render_widget/render_widget_feature.h View 1 2 3 chunks +5 lines, -6 lines 0 comments Download
A + blimp/client/core/render_widget/render_widget_feature.cc View 1 2 3 chunks +3 lines, -4 lines 0 comments Download
A + blimp/client/core/render_widget/render_widget_feature_unittest.cc View 1 2 1 chunk +2 lines, -2 lines 0 comments Download
M blimp/client/core/settings/BUILD.gn View 1 2 3 4 5 1 chunk +23 lines, -4 lines 0 comments Download
A + blimp/client/core/settings/settings_feature.h View 2 chunks +3 lines, -3 lines 0 comments Download
A + blimp/client/core/settings/settings_feature.cc View 1 chunk +1 line, -1 line 0 comments Download
D blimp/client/feature/compositor/blimp_compositor.h View 1 chunk +0 lines, -226 lines 0 comments Download
D blimp/client/feature/compositor/blimp_compositor.cc View 1 chunk +0 lines, -322 lines 0 comments Download
D blimp/client/feature/compositor/blimp_compositor_manager.h View 1 chunk +0 lines, -97 lines 0 comments Download
D blimp/client/feature/compositor/blimp_compositor_manager.cc View 1 chunk +0 lines, -130 lines 0 comments Download
D blimp/client/feature/compositor/blimp_compositor_manager_unittest.cc View 1 chunk +0 lines, -190 lines 0 comments Download
D blimp/client/feature/compositor/blimp_compositor_unittest.cc View 1 chunk +0 lines, -155 lines 0 comments Download
D blimp/client/feature/compositor/blimp_input_handler_wrapper.h View 1 chunk +0 lines, -71 lines 0 comments Download
D blimp/client/feature/compositor/blimp_input_handler_wrapper.cc View 1 chunk +0 lines, -113 lines 0 comments Download
D blimp/client/feature/compositor/blimp_input_manager.h View 1 chunk +0 lines, -109 lines 0 comments Download
D blimp/client/feature/compositor/blimp_input_manager.cc View 1 chunk +0 lines, -155 lines 0 comments Download
D blimp/client/feature/compositor/mock_compositor_dependencies.h View 1 chunk +0 lines, -25 lines 0 comments Download
D blimp/client/feature/compositor/mock_compositor_dependencies.cc View 1 chunk +0 lines, -20 lines 0 comments Download
D blimp/client/feature/mock_render_widget_feature_delegate.h View 1 chunk +0 lines, -37 lines 0 comments Download
D blimp/client/feature/mock_render_widget_feature_delegate.cc View 1 chunk +0 lines, -21 lines 0 comments Download
D blimp/client/feature/render_widget_feature.h View 1 chunk +0 lines, -126 lines 0 comments Download
D blimp/client/feature/render_widget_feature.cc View 1 chunk +0 lines, -152 lines 0 comments Download
D blimp/client/feature/render_widget_feature_unittest.cc View 1 chunk +0 lines, -125 lines 0 comments Download
D blimp/client/feature/settings_feature.h View 1 chunk +0 lines, -45 lines 0 comments Download
D blimp/client/feature/settings_feature.cc View 1 chunk +0 lines, -53 lines 0 comments Download
M blimp/client/public/android/java/src/org/chromium/blimp_public/contents/BlimpContents.java View 1 2 3 4 5 6 7 2 chunks +11 lines, -1 line 0 comments Download
M blimp/client/public/blimp_client_context.h View 1 2 3 4 5 6 7 8 9 2 chunks +6 lines, -1 line 0 comments Download
M blimp/client/public/contents/blimp_contents.h View 1 2 3 4 5 6 7 1 chunk +5 lines, -0 lines 0 comments Download
M blimp/client/session/blimp_client_session.cc View 1 2 3 4 5 6 7 1 chunk +2 lines, -2 lines 0 comments Download
M blimp/client/support/BUILD.gn View 1 2 3 4 1 chunk +9 lines, -3 lines 0 comments Download
M blimp/client/support/compositor/BUILD.gn View 1 2 chunks +17 lines, -2 lines 0 comments Download
A + blimp/client/support/compositor/mock_compositor_dependencies.h View 1 2 chunks +3 lines, -3 lines 0 comments Download
A + blimp/client/support/compositor/mock_compositor_dependencies.cc View 1 2 1 chunk +1 line, -1 line 0 comments Download
M blimp/engine/BUILD.gn View 1 2 1 chunk +2 lines, -1 line 0 comments Download
M blimp/engine/browser_tests/engine_browsertest.cc View 1 2 3 4 5 1 chunk +2 lines, -2 lines 0 comments Download
M cc/blimp/image_serialization_processor.h View 1 2 1 chunk +3 lines, -5 lines 0 comments Download
M cc/layers/picture_layer.cc View 1 2 1 chunk +2 lines, -0 lines 0 comments Download
M cc/trees/layer_tree_host.h View 1 2 2 chunks +2 lines, -2 lines 0 comments Download
M cc/trees/layer_tree_host.cc View 1 2 1 chunk +2 lines, -0 lines 0 comments Download
M chrome/android/java/src/org/chromium/chrome/browser/tab/Tab.java View 1 2 3 4 5 6 7 8 9 2 chunks +2 lines, -0 lines 0 comments Download
M chrome/browser/android/blimp/blimp_client_context_factory.cc View 1 2 3 4 5 6 7 8 9 10 2 chunks +3 lines, -1 line 0 comments Download

Depends on Patchset:

Messages

Total messages: 41 (30 generated)
David Trainor- moved to gerrit
halp! ptal
4 years, 3 months ago (2016-08-31 00:34:14 UTC) #4
David Trainor- moved to gerrit
vmpstr@: ptal at cc/ thanks!
4 years, 3 months ago (2016-08-31 00:34:52 UTC) #6
vmpstr
cc lgtm
4 years, 3 months ago (2016-08-31 00:41:07 UTC) #9
Khushal
https://codereview.chromium.org/2292723003/diff/120001/blimp/client/core/blimp_client_context_impl.cc File blimp/client/core/blimp_client_context_impl.cc (right): https://codereview.chromium.org/2292723003/diff/120001/blimp/client/core/blimp_client_context_impl.cc#newcode63 blimp/client/core/blimp_client_context_impl.cc:63: blimp_compositor_dependencies_( nit: prefer MakeUnique. https://codereview.chromium.org/2292723003/diff/120001/blimp/client/core/blimp_client_context_impl.h File blimp/client/core/blimp_client_context_impl.h (right): https://codereview.chromium.org/2292723003/diff/120001/blimp/client/core/blimp_client_context_impl.h#newcode10 ...
4 years, 3 months ago (2016-08-31 04:30:47 UTC) #20
David Trainor- moved to gerrit
addressed comments thanks! https://codereview.chromium.org/2292723003/diff/120001/blimp/client/core/blimp_client_context_impl.cc File blimp/client/core/blimp_client_context_impl.cc (right): https://codereview.chromium.org/2292723003/diff/120001/blimp/client/core/blimp_client_context_impl.cc#newcode63 blimp/client/core/blimp_client_context_impl.cc:63: blimp_compositor_dependencies_( On 2016/08/31 04:30:47, Khushal wrote: ...
4 years, 3 months ago (2016-08-31 05:21:27 UTC) #21
Khushal
lgtm. Thanks!
4 years, 3 months ago (2016-08-31 05:39:18 UTC) #22
nyquist
lgtm! awesome! https://codereview.chromium.org/2292723003/diff/140001/blimp/client/core/contents/blimp_contents_impl.h File blimp/client/core/contents/blimp_contents_impl.h (right): https://codereview.chromium.org/2292723003/diff/140001/blimp/client/core/contents/blimp_contents_impl.h#newcode78 blimp/client/core/contents/blimp_contents_impl.h:78: BlimpCompositorManager compositor_manager_; Nit: Should there be a ...
4 years, 3 months ago (2016-08-31 05:44:40 UTC) #23
David Trainor- moved to gerrit
https://codereview.chromium.org/2292723003/diff/140001/blimp/client/core/contents/blimp_contents_impl.h File blimp/client/core/contents/blimp_contents_impl.h (right): https://codereview.chromium.org/2292723003/diff/140001/blimp/client/core/contents/blimp_contents_impl.h#newcode78 blimp/client/core/contents/blimp_contents_impl.h:78: BlimpCompositorManager compositor_manager_; On 2016/08/31 05:44:40, nyquist wrote: > Nit: ...
4 years, 3 months ago (2016-08-31 06:49:33 UTC) #28
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/v2/patch-status/codereview.chromium.org/2292723003/200001
4 years, 3 months ago (2016-08-31 15:45:30 UTC) #37
commit-bot: I haz the power
Committed patchset #11 (id:200001)
4 years, 3 months ago (2016-08-31 15:52:16 UTC) #39
commit-bot: I haz the power
4 years, 3 months ago (2016-08-31 15:53:55 UTC) #41
Message was sent while issue was closed.
Patchset 11 (id:??) landed as
https://crrev.com/4699d62ad6d10c58b26e71dce4f459f6ab967b4f
Cr-Commit-Position: refs/heads/master@{#415642}

Powered by Google App Engine
This is Rietveld 408576698