|
Refactor the Android port to allow access to the chrome layer.
While in desktop chrome the main WebContentsDelegate is implemented in the
chrome layer by the Browser class, the Android port implements it in the
content layer in its ContentViewClient class. However, because of the content
layering limitations this renders the chrome layer out of reach.
This patch splits the WebContentsDelegate implementation in ContentViewClient
into a separate class named WebContentsDelegateAndroid in the first chrome browser component "web_contents_delegate_android".
Also, this patch introduces stubs for Chrome-specific and WebView-specific extensions of WebContentsDelegateAndroid in order to set the foundations for later patches.
BUG= 137967
TEST=existing tests
Committed: https://src.chromium.org/viewvc/chrome?view=rev&revision=152598
Total comments: 8
Total comments: 6
Total comments: 2
|
Unified diffs |
Side-by-side diffs |
Delta from patch set |
Stats (+1141 lines, -768 lines) |
Patch |
 |
M |
android_webview/DEPS
|
View
|
1
2
|
1 chunk |
+2 lines, -0 lines |
0 comments
|
Download
|
 |
A |
android_webview/build/install_binary
|
View
|
1
2
|
1 chunk |
+23 lines, -0 lines |
0 comments
|
Download
|
 |
A |
android_webview/java/src/org/chromium/android_webview/AwWebContentsDelegate.java
|
View
|
1
2
3
|
1 chunk |
+18 lines, -0 lines |
0 comments
|
Download
|
 |
M |
android_webview/lib/android_webview.gyp
|
View
|
1
2
3
|
2 chunks |
+30 lines, -0 lines |
0 comments
|
Download
|
 |
M |
android_webview/lib/main/webview_entry_point.cc
|
View
|
1
2
|
2 chunks |
+5 lines, -2 lines |
0 comments
|
Download
|
 |
A |
android_webview/native/android_webview_jni_registrar.h
|
View
|
1
2
|
1 chunk |
+17 lines, -0 lines |
0 comments
|
Download
|
 |
A |
android_webview/native/android_webview_jni_registrar.cc
|
View
|
1
2
3
|
1 chunk |
+17 lines, -0 lines |
0 comments
|
Download
|
 |
A |
android_webview/native/aw_web_contents_delegate.h
|
View
|
1
2
3
|
1 chunk |
+26 lines, -0 lines |
0 comments
|
Download
|
 |
A |
android_webview/native/aw_web_contents_delegate.cc
|
View
|
1
2
3
|
1 chunk |
+18 lines, -0 lines |
0 comments
|
Download
|
 |
A |
android_webview/native/webview_native.gyp
|
View
|
1
2
3
4
5
|
1 chunk |
+40 lines, -0 lines |
0 comments
|
Download
|
 |
M |
base/android/jni_generator/jni_generator.py
|
View
|
1
2
|
1 chunk |
+3 lines, -1 line |
0 comments
|
Download
|
 |
A |
chrome/android/java/src/org/chromium/chrome/browser/ChromeWebContentsDelegateAndroid.java
|
View
|
1
2
|
1 chunk |
+16 lines, -0 lines |
0 comments
|
Download
|
 |
A |
chrome/android/java/src/org/chromium/chrome/browser/ContentViewUtil.java
|
View
|
1
2
|
1 chunk |
+25 lines, -0 lines |
0 comments
|
Download
|
 |
A |
chrome/android/java/src/org/chromium/chrome/browser/component/web_contents_delegate_android/WebContentsDelegateAndroid.java
|
View
|
1
2
3
|
1 chunk |
+110 lines, -0 lines |
0 comments
|
Download
|
 |
M |
chrome/browser/android/chrome_jni_registrar.cc
|
View
|
1
2
3
|
1 chunk |
+4 lines, -0 lines |
0 comments
|
Download
|
 |
A |
chrome/browser/android/chrome_web_contents_delegate_android.h
|
View
|
1
2
3
|
1 chunk |
+37 lines, -0 lines |
0 comments
|
Download
|
 |
A |
chrome/browser/android/chrome_web_contents_delegate_android.cc
|
View
|
1
2
|
1 chunk |
+37 lines, -0 lines |
0 comments
|
Download
|
 |
A |
chrome/browser/android/content_view_util.h
|
View
|
1
2
|
1 chunk |
+14 lines, -0 lines |
0 comments
|
Download
|
 |
A |
chrome/browser/android/content_view_util.cc
|
View
|
1
2
|
1 chunk |
+29 lines, -0 lines |
0 comments
|
Download
|
 |
A |
chrome/browser/component/DEPS
|
View
|
1
2
3
|
1 chunk |
+4 lines, -0 lines |
0 comments
|
Download
|
 |
A + |
chrome/browser/component/OWNERS
|
View
|
1
2
3
|
0 chunks |
+-1 lines, --1 lines |
0 comments
|
Download
|
 |
A |
chrome/browser/component/components.gyp
|
View
|
1
2
3
4
5
|
1 chunk |
+29 lines, -0 lines |
0 comments
|
Download
|
 |
A |
chrome/browser/component/web_contents_delegate_android/DEPS
|
View
|
1
2
3
|
1 chunk |
+3 lines, -0 lines |
0 comments
|
Download
|
 |
A |
chrome/browser/component/web_contents_delegate_android/component_jni_registrar.h
|
View
|
1
2
3
|
1 chunk |
+19 lines, -0 lines |
0 comments
|
Download
|
 |
A |
chrome/browser/component/web_contents_delegate_android/component_jni_registrar.cc
|
View
|
1
2
3
4
5
|
1 chunk |
+23 lines, -0 lines |
0 comments
|
Download
|
 |
A |
chrome/browser/component/web_contents_delegate_android/web_contents_delegate_android.h
|
View
|
1
2
3
4
5
6
|
1 chunk |
+128 lines, -0 lines |
0 comments
|
Download
|
 |
A |
chrome/browser/component/web_contents_delegate_android/web_contents_delegate_android.cc
|
View
|
1
2
3
|
1 chunk |
+357 lines, -0 lines |
0 comments
|
Download
|
 |
A |
chrome/browser/component/web_contents_delegate_android/web_contents_delegate_android.gypi
|
View
|
1
2
3
4
5
|
1 chunk |
+34 lines, -0 lines |
0 comments
|
Download
|
 |
M |
chrome/chrome_browser.gypi
|
View
|
1
2
3
4
5
|
3 chunks |
+6 lines, -0 lines |
0 comments
|
Download
|
 |
D |
content/browser/android/content_util.h
|
View
|
|
1 chunk |
+0 lines, -30 lines |
0 comments
|
Download
|
 |
D |
content/browser/android/content_util.cc
|
View
|
|
1 chunk |
+0 lines, -81 lines |
0 comments
|
Download
|
 |
M |
content/browser/android/content_view_client.h
|
View
|
1
2
|
5 chunks |
+10 lines, -86 lines |
0 comments
|
Download
|
 |
M |
content/browser/android/content_view_client.cc
|
View
|
1
2
|
8 chunks |
+37 lines, -328 lines |
0 comments
|
Download
|
 |
M |
content/browser/android/content_view_core_impl.h
|
View
|
1
2
|
1 chunk |
+0 lines, -1 line |
0 comments
|
Download
|
 |
M |
content/browser/android/content_view_core_impl.cc
|
View
|
1
2
|
2 chunks |
+0 lines, -10 lines |
0 comments
|
Download
|
 |
D |
content/browser/android/ime_utils.h
|
View
|
|
1 chunk |
+0 lines, -31 lines |
0 comments
|
Download
|
 |
D |
content/browser/android/ime_utils.cc
|
View
|
|
1 chunk |
+0 lines, -31 lines |
0 comments
|
Download
|
 |
M |
content/content_browser.gypi
|
View
|
1
2
3
|
2 chunks |
+0 lines, -4 lines |
0 comments
|
Download
|
 |
M |
content/public/android/java/src/org/chromium/content/browser/ContentView.java
|
View
|
1
2
|
1 chunk |
+0 lines, -7 lines |
0 comments
|
Download
|
 |
M |
content/public/android/java/src/org/chromium/content/browser/ContentViewClient.java
|
View
|
1
|
6 chunks |
+0 lines, -68 lines |
0 comments
|
Download
|
 |
M |
content/public/android/java/src/org/chromium/content/browser/ContentViewCore.java
|
View
|
1
2
|
4 chunks |
+9 lines, -12 lines |
0 comments
|
Download
|
 |
D |
content/public/android/java/src/org/chromium/content/browser/FileChooserParams.java
|
View
|
|
1 chunk |
+0 lines, -77 lines |
0 comments
|
Download
|
 |
M |
content/public/browser/web_contents_delegate.h
|
View
|
1
|
1 chunk |
+6 lines, -0 lines |
0 comments
|
Download
|
 |
M |
content/public/browser/web_contents_delegate.cc
|
View
|
1
|
1 chunk |
+6 lines, -0 lines |
0 comments
|
Download
|
Total messages: 31 (0 generated)
|