|
|
Add BlimpContents[,Observer] and BlimpNavigationController
This CL adds the public API for //blimp/client/core and adds a simple
implementation with a test for the core functionality for Java.
The setup of BlimpContents and related classes is intentionally
similar to how the Java version of the //content API is organized.
Users of this API are supposed to depend on the code in
//blimp/client/core/public, and not the implementation which lives
in //blimp/client/core directly.
An extra class compared to the C++ version is added for creating
BlimpContents, the BlimpContentsFactory. This sets up all the pointers
and references in the same ways as a BlimpContents created in native
code, but adds the requirement for Java code to invoke the destroy()
method of a BlimpContents.
BUG= 611103
Committed: https://crrev.com/986f860c8fc6361d727a9ccd3c8cd44727b6f5ca
Cr-Commit-Position: refs/heads/master@{#401170}
Total comments: 12
|
Unified diffs |
Side-by-side diffs |
Delta from patch set |
Stats (+950 lines, -1 line) |
Patch |
 |
M |
blimp/client/BUILD.gn
|
View
|
1
2
3
4
5
|
4 chunks |
+8 lines, -0 lines |
0 comments
|
Download
|
 |
M |
blimp/client/app/android/blimp_jni_registrar.cc
|
View
|
|
2 chunks |
+9 lines, -0 lines |
0 comments
|
Download
|
 |
A |
blimp/client/app/android/javatests/src/org/chromium/blimp/BlimpNativeInstrumentationTestCase.java
|
View
|
1
2
3
4
|
1 chunk |
+42 lines, -0 lines |
0 comments
|
Download
|
 |
A |
blimp/client/app/android/javatests/src/org/chromium/blimp/core/BlimpContentsTest.java
|
View
|
1
2
3
4
|
1 chunk |
+93 lines, -0 lines |
0 comments
|
Download
|
 |
M |
blimp/client/core/BUILD.gn
|
View
|
1
2
|
3 chunks |
+49 lines, -0 lines |
0 comments
|
Download
|
 |
A |
blimp/client/core/android/blimp_contents_factory.h
|
View
|
1
2
3
4
|
1 chunk |
+20 lines, -0 lines |
0 comments
|
Download
|
 |
A |
blimp/client/core/android/blimp_contents_factory.cc
|
View
|
|
1 chunk |
+30 lines, -0 lines |
0 comments
|
Download
|
 |
A |
blimp/client/core/android/blimp_contents_impl_android.h
|
View
|
|
1 chunk |
+43 lines, -0 lines |
0 comments
|
Download
|
 |
A |
blimp/client/core/android/blimp_contents_impl_android.cc
|
View
|
|
1 chunk |
+58 lines, -0 lines |
0 comments
|
Download
|
 |
A |
blimp/client/core/android/blimp_contents_observer_proxy.h
|
View
|
|
1 chunk |
+44 lines, -0 lines |
0 comments
|
Download
|
 |
A |
blimp/client/core/android/blimp_contents_observer_proxy.cc
|
View
|
|
1 chunk |
+61 lines, -0 lines |
0 comments
|
Download
|
 |
A |
blimp/client/core/android/blimp_navigation_controller_impl_android.h
|
View
|
|
1 chunk |
+47 lines, -0 lines |
0 comments
|
Download
|
 |
A |
blimp/client/core/android/blimp_navigation_controller_impl_android.cc
|
View
|
|
1 chunk |
+65 lines, -0 lines |
0 comments
|
Download
|
 |
A |
blimp/client/core/android/java/src/org/chromium/blimp/core/BlimpContentsFactory.java
|
View
|
|
1 chunk |
+27 lines, -0 lines |
0 comments
|
Download
|
 |
A |
blimp/client/core/android/java/src/org/chromium/blimp/core/BlimpContentsImpl.java
|
View
|
1
2
3
4
|
1 chunk |
+83 lines, -0 lines |
0 comments
|
Download
|
 |
A |
blimp/client/core/android/java/src/org/chromium/blimp/core/BlimpContentsObserverProxy.java
|
View
|
|
1 chunk |
+53 lines, -0 lines |
0 comments
|
Download
|
 |
A |
blimp/client/core/android/java/src/org/chromium/blimp/core/BlimpNavigationControllerImpl.java
|
View
|
|
1 chunk |
+54 lines, -0 lines |
0 comments
|
Download
|
 |
M |
blimp/client/core/blimp_contents_impl.h
|
View
|
1
2
|
1 chunk |
+16 lines, -1 line |
0 comments
|
Download
|
 |
M |
blimp/client/core/blimp_contents_impl.cc
|
View
|
1
2
3
4
|
1 chunk |
+32 lines, -0 lines |
0 comments
|
Download
|
 |
M |
blimp/client/core/public/BUILD.gn
|
View
|
|
2 chunks |
+16 lines, -0 lines |
0 comments
|
Download
|
 |
A |
blimp/client/core/public/android/java/src/org/chromium/blimp/core_public/BlimpContents.java
|
View
|
1
2
|
1 chunk |
+37 lines, -0 lines |
0 comments
|
Download
|
 |
A |
blimp/client/core/public/android/java/src/org/chromium/blimp/core_public/BlimpContentsObserver.java
|
View
|
1
2
|
1 chunk |
+19 lines, -0 lines |
0 comments
|
Download
|
 |
A |
blimp/client/core/public/android/java/src/org/chromium/blimp/core_public/BlimpNavigationController.java
|
View
|
1
2
|
1 chunk |
+29 lines, -0 lines |
0 comments
|
Download
|
 |
A |
blimp/client/core/public/android/java/src/org/chromium/blimp/core_public/EmptyBlimpContentsObserver.java
|
View
|
|
1 chunk |
+15 lines, -0 lines |
0 comments
|
Download
|
Total messages: 23 (11 generated)
|