|
|
Add BlimpDocument, pull out functions in BlimpCompositor.
Previously BlimpCompositor is heavy weight class that also include
render_widget_id and input manager, and we have the following ownership:
BlimpContentImpl -> BlimpCompositorManager -> BlimpCompositor.
This CL:
1. Rename BlimpCompositorManager to BlimpDocumentManager.
2. Add BlimpDocument, which owns a BlimpCompositor. It matches the idea
of helium document. So more feature with document scope can goes in
this layer.
3. Unit test for new class, and also rename old unit tests.
The ownership chains now become the following:
BlimpContentImpl->BlimpDocumentManager->BlimpDocument->BlimpCompositor.
BUG= 644326
Committed: https://crrev.com/d78db80d1a9953c01fe68f94adee0f4460cb2caf
Cr-Commit-Position: refs/heads/master@{#423629}
Total comments: 25
Total comments: 2
Total comments: 4
Total comments: 2
|
Unified diffs |
Side-by-side diffs |
Delta from patch set |
Stats (+561 lines, -596 lines) |
Patch |
 |
M |
blimp/client/app/android/blimp_view.h
|
View
|
1
2
|
2 chunks |
+2 lines, -2 lines |
0 comments
|
Download
|
 |
M |
blimp/client/app/android/blimp_view.cc
|
View
|
1
2
|
6 chunks |
+7 lines, -7 lines |
0 comments
|
Download
|
 |
M |
blimp/client/core/compositor/BUILD.gn
|
View
|
|
4 chunks |
+0 lines, -6 lines |
0 comments
|
Download
|
 |
M |
blimp/client/core/compositor/blimp_compositor.h
|
View
|
1
2
3
4
5
6
7
8
9
10
|
4 chunks |
+1 line, -9 lines |
0 comments
|
Download
|
 |
M |
blimp/client/core/compositor/blimp_compositor.cc
|
View
|
1
2
3
4
5
6
7
8
9
10
|
5 chunks |
+6 lines, -8 lines |
0 comments
|
Download
|
 |
D |
blimp/client/core/compositor/blimp_compositor_manager.h
|
View
|
|
1 chunk |
+0 lines, -106 lines |
0 comments
|
Download
|
 |
D |
blimp/client/core/compositor/blimp_compositor_manager.cc
|
View
|
|
1 chunk |
+0 lines, -136 lines |
0 comments
|
Download
|
 |
D |
blimp/client/core/compositor/blimp_compositor_manager_unittest.cc
|
View
|
|
1 chunk |
+0 lines, -193 lines |
0 comments
|
Download
|
 |
M |
blimp/client/core/compositor/blimp_compositor_unittest.cc
|
View
|
|
5 chunks |
+9 lines, -17 lines |
0 comments
|
Download
|
 |
M |
blimp/client/core/contents/BUILD.gn
|
View
|
|
2 chunks |
+1 line, -1 line |
0 comments
|
Download
|
 |
M |
blimp/client/core/contents/android/blimp_view.cc
|
View
|
|
1 chunk |
+0 lines, -1 line |
0 comments
|
Download
|
 |
M |
blimp/client/core/contents/blimp_contents_impl.h
|
View
|
|
2 chunks |
+5 lines, -4 lines |
0 comments
|
Download
|
 |
M |
blimp/client/core/contents/blimp_contents_impl.cc
|
View
|
|
2 chunks |
+4 lines, -4 lines |
0 comments
|
Download
|
 |
M |
blimp/client/core/contents/blimp_contents_view_impl.cc
|
View
|
|
1 chunk |
+2 lines, -2 lines |
0 comments
|
Download
|
 |
M |
blimp/client/core/feedback/blimp_feedback_data.cc
|
View
|
|
1 chunk |
+1 line, -1 line |
0 comments
|
Download
|
 |
M |
blimp/client/core/render_widget/BUILD.gn
|
View
|
1
2
3
4
5
6
7
8
9
|
6 chunks |
+15 lines, -0 lines |
0 comments
|
Download
|
 |
A |
blimp/client/core/render_widget/blimp_document.h
|
View
|
1
2
3
4
5
|
1 chunk |
+60 lines, -0 lines |
0 comments
|
Download
|
 |
A |
blimp/client/core/render_widget/blimp_document.cc
|
View
|
1
2
3
4
5
|
1 chunk |
+42 lines, -0 lines |
0 comments
|
Download
|
 |
A + |
blimp/client/core/render_widget/blimp_document_manager.h
|
View
|
1
2
3
4
5
6
7
8
|
5 chunks |
+41 lines, -39 lines |
0 comments
|
Download
|
 |
A |
blimp/client/core/render_widget/blimp_document_manager.cc
|
View
|
1
2
3
4
5
|
1 chunk |
+136 lines, -0 lines |
0 comments
|
Download
|
 |
A + |
blimp/client/core/render_widget/blimp_document_manager_unittest.cc
|
View
|
1
2
3
4
5
6
7
8
|
8 chunks |
+90 lines, -48 lines |
0 comments
|
Download
|
 |
A |
blimp/client/core/render_widget/blimp_document_unittest.cc
|
View
|
1
2
3
4
5
6
7
8
|
1 chunk |
+91 lines, -0 lines |
0 comments
|
Download
|
 |
A |
blimp/client/core/render_widget/mock_render_widget_feature.h
|
View
|
1
2
3
4
5
6
7
8
9
10
|
1 chunk |
+36 lines, -0 lines |
0 comments
|
Download
|
 |
A + |
blimp/client/core/render_widget/mock_render_widget_feature.cc
|
View
|
1
2
3
4
5
6
7
8
|
1 chunk |
+3 lines, -6 lines |
0 comments
|
Download
|
 |
M |
blimp/client/core/render_widget/render_widget_feature.h
|
View
|
|
1 chunk |
+9 lines, -6 lines |
0 comments
|
Download
|
Total messages: 64 (43 generated)
|