|
|
Add BlimpView to a Chrome tab when Blimp is enabled.
This CL creates a BlimpView that is owned by the native
BlimpContentsViewAndroid. It is created whenever the
BlimpContentsViewAndroid is created, which is done when
BlimpContentsImpl is created.
The BlimpView needs access to the current Android Context, which
is now passed through the call to CreateBlimpContents() as a
NativeWindow which on Android is a WindowAndroid.
When a BlimpContents is available and Blimp is enabled, this also
hooks up the BlimpView to TabContentViewParent.
The BlimpView is with this patch attached to the view hierarchy,
and sends onSizeChanged events to the BlimpContentsImpl. The
touch events are piped through to the BlimpCompositorManager.
The old BlimpView in //blimp/client/app was colliding with the new,
so it has been moved in to the namespace blimp::client:app.
BUG= 608759
Committed: https://crrev.com/516883acd2ca500fb7174d105124d356878ddccb
Cr-Commit-Position: refs/heads/master@{#415760}
Total comments: 4
Total comments: 16
Total comments: 10
Total comments: 2
|
Unified diffs |
Side-by-side diffs |
Delta from patch set |
Stats (+637 lines, -92 lines) |
Patch |
 |
M |
blimp/client/BUILD.gn
|
View
|
1
2
3
4
5
6
7
8
|
1 chunk |
+1 line, -0 lines |
0 comments
|
Download
|
 |
M |
blimp/client/app/android/blimp_app_jni_registrar.cc
|
View
|
|
1 chunk |
+1 line, -1 line |
0 comments
|
Download
|
 |
M |
blimp/client/app/android/blimp_view.h
|
View
|
1
2
3
4
5
6
7
8
|
3 chunks |
+4 lines, -1 line |
0 comments
|
Download
|
 |
M |
blimp/client/app/android/blimp_view.cc
|
View
|
1
2
3
4
5
6
7
8
|
4 chunks |
+4 lines, -1 line |
0 comments
|
Download
|
 |
M |
blimp/client/app/android/java/src/org/chromium/blimp/BlimpView.java
|
View
|
1
|
1 chunk |
+1 line, -1 line |
0 comments
|
Download
|
 |
M |
blimp/client/app/android/javatests/src/org/chromium/blimp/core/MockBlimpClientContext.java
|
View
|
1
2
3
4
5
6
7
8
|
2 chunks |
+2 lines, -1 line |
0 comments
|
Download
|
 |
M |
blimp/client/core/BUILD.gn
|
View
|
1
2
3
4
5
6
7
8
|
3 chunks |
+3 lines, -0 lines |
0 comments
|
Download
|
 |
A + |
blimp/client/core/DEPS
|
View
|
1
2
3
4
5
6
|
1 chunk |
+1 line, -1 line |
0 comments
|
Download
|
 |
M |
blimp/client/core/android/blimp_client_context_impl_android.h
|
View
|
1
2
3
4
5
6
7
8
|
1 chunk |
+2 lines, -3 lines |
0 comments
|
Download
|
 |
M |
blimp/client/core/android/blimp_client_context_impl_android.cc
|
View
|
1
2
3
4
5
6
7
8
|
2 chunks |
+9 lines, -3 lines |
0 comments
|
Download
|
 |
M |
blimp/client/core/android/java/src/org/chromium/blimp/core/BlimpClientContextImpl.java
|
View
|
1
2
3
4
5
6
7
8
|
3 chunks |
+5 lines, -3 lines |
0 comments
|
Download
|
 |
M |
blimp/client/core/android/java/src/org/chromium/blimp/core/DummyBlimpClientContext.java
|
View
|
1
2
3
4
5
6
7
8
|
2 chunks |
+2 lines, -1 line |
0 comments
|
Download
|
 |
M |
blimp/client/core/blimp_client_context_impl.h
|
View
|
1
2
3
4
5
6
7
8
|
1 chunk |
+2 lines, -1 line |
0 comments
|
Download
|
 |
M |
blimp/client/core/blimp_client_context_impl.cc
|
View
|
1
2
3
4
5
6
7
8
|
2 chunks |
+4 lines, -2 lines |
0 comments
|
Download
|
 |
M |
blimp/client/core/blimp_client_context_impl_unittest.cc
|
View
|
1
2
3
4
5
6
7
8
9
10
|
3 chunks |
+13 lines, -1 line |
0 comments
|
Download
|
 |
M |
blimp/client/core/contents/BUILD.gn
|
View
|
1
2
3
4
5
6
7
8
|
5 chunks |
+14 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
8
|
2 chunks |
+9 lines, -2 lines |
0 comments
|
Download
|
 |
M |
blimp/client/core/contents/android/blimp_contents_jni_registrar.cc
|
View
|
1
2
3
4
|
2 chunks |
+2 lines, -0 lines |
0 comments
|
Download
|
 |
A |
blimp/client/core/contents/android/blimp_view.h
|
View
|
1
2
3
4
5
6
7
8
9
10
|
1 chunk |
+86 lines, -0 lines |
0 comments
|
Download
|
 |
A |
blimp/client/core/contents/android/blimp_view.cc
|
View
|
1
2
3
4
5
6
7
8
9
10
|
1 chunk |
+101 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
8
|
4 chunks |
+17 lines, -5 lines |
0 comments
|
Download
|
 |
A |
blimp/client/core/contents/android/java/src/org/chromium/blimp/core/contents/BlimpView.java
|
View
|
1
2
3
4
5
|
1 chunk |
+127 lines, -0 lines |
0 comments
|
Download
|
 |
M |
blimp/client/core/contents/blimp_contents_impl.h
|
View
|
1
2
3
4
5
6
7
8
9
10
|
5 chunks |
+15 lines, -0 lines |
0 comments
|
Download
|
 |
M |
blimp/client/core/contents/blimp_contents_impl.cc
|
View
|
1
2
3
4
5
6
7
8
|
5 chunks |
+11 lines, -0 lines |
0 comments
|
Download
|
 |
M |
blimp/client/core/contents/blimp_contents_impl_unittest.cc
|
View
|
1
2
3
4
5
6
7
8
9
10
|
4 chunks |
+29 lines, -7 lines |
0 comments
|
Download
|
 |
M |
blimp/client/core/contents/blimp_contents_manager.h
|
View
|
1
2
3
4
5
6
7
8
9
|
2 chunks |
+4 lines, -1 line |
0 comments
|
Download
|
 |
M |
blimp/client/core/contents/blimp_contents_manager.cc
|
View
|
1
2
3
4
5
6
7
8
|
2 chunks |
+4 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
10
|
8 chunks |
+31 lines, -9 lines |
0 comments
|
Download
|
 |
M |
blimp/client/core/contents/blimp_contents_observer_unittest.cc
|
View
|
1
2
3
4
5
6
7
8
9
10
|
3 chunks |
+33 lines, -11 lines |
0 comments
|
Download
|
 |
M |
blimp/client/core/contents/blimp_contents_view_android.h
|
View
|
1
2
3
4
5
6
7
8
|
1 chunk |
+12 lines, -4 lines |
0 comments
|
Download
|
 |
M |
blimp/client/core/contents/blimp_contents_view_android.cc
|
View
|
1
2
3
4
5
6
7
8
|
2 chunks |
+17 lines, -8 lines |
0 comments
|
Download
|
 |
M |
blimp/client/core/dummy_blimp_client_context.h
|
View
|
1
2
|
1 chunk |
+2 lines, -1 line |
0 comments
|
Download
|
 |
M |
blimp/client/core/dummy_blimp_client_context.cc
|
View
|
1
2
3
4
5
6
7
8
|
1 chunk |
+2 lines, -1 line |
0 comments
|
Download
|
 |
M |
blimp/client/public/BUILD.gn
|
View
|
1
2
3
4
5
6
7
8
|
1 chunk |
+1 line, -0 lines |
0 comments
|
Download
|
 |
M |
blimp/client/public/android/java/src/org/chromium/blimp_public/BlimpClientContext.java
|
View
|
1
2
3
4
5
6
7
8
|
2 chunks |
+3 lines, -1 line |
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
8
|
2 chunks |
+7 lines, -0 lines |
0 comments
|
Download
|
 |
M |
blimp/client/public/blimp_client_context.h
|
View
|
1
2
3
4
5
6
7
8
|
2 chunks |
+4 lines, -2 lines |
0 comments
|
Download
|
 |
M |
blimp/test/BUILD.gn
|
View
|
1
2
3
4
5
6
7
|
1 chunk |
+4 lines, -0 lines |
0 comments
|
Download
|
 |
M |
blimp/test/DEPS
|
View
|
1
2
3
4
5
6
7
8
9
|
1 chunk |
+1 line, -0 lines |
0 comments
|
Download
|
 |
M |
blimp/test/run_all_unittests.cc
|
View
|
1
2
3
4
5
6
7
|
2 chunks |
+5 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
|
2 chunks |
+4 lines, -2 lines |
0 comments
|
Download
|
 |
M |
chrome/android/java/src/org/chromium/chrome/browser/tab/TabContentViewParent.java
|
View
|
1
2
3
4
5
|
1 chunk |
+15 lines, -8 lines |
0 comments
|
Download
|
 |
M |
chrome/browser/android/tab_android.h
|
View
|
1
2
|
1 chunk |
+2 lines, -1 line |
0 comments
|
Download
|
 |
M |
chrome/browser/android/tab_android.cc
|
View
|
1
2
3
4
|
2 chunks |
+6 lines, -2 lines |
0 comments
|
Download
|
 |
M |
ui/android/java/src/org/chromium/ui/base/WindowAndroid.java
|
View
|
1
2
3
4
5
6
7
8
9
10
|
2 chunks |
+6 lines, -1 line |
0 comments
|
Download
|
 |
M |
ui/android/resources/resource_manager_impl_unittest.cc
|
View
|
1
2
3
4
5
6
7
8
9
10
|
1 chunk |
+1 line, -1 line |
0 comments
|
Download
|
 |
M |
ui/android/window_android.h
|
View
|
1
2
3
4
5
6
7
8
9
10
|
1 chunk |
+2 lines, -1 line |
0 comments
|
Download
|
 |
M |
ui/android/window_android.cc
|
View
|
1
2
3
4
5
6
7
8
9
10
|
1 chunk |
+6 lines, -1 line |
0 comments
|
Download
|
Total messages: 49 (33 generated)
|