|
[Android] Refactor NativeView to be able to use it for AutofillDialog.
Create a new class WindowAndroid that serves the purpose of representing a native (platform specific) view where Chromium code expects to have a cross platform handle to the system view type. As Views are Java objects on Android, ViewAndroid.java and view_android.* will provide the expected abstractions on the C++ side and allow it to be flexibly glued to an actual Android Java View at runtime. It should only be used where access to Android Views is needed from the C++ code as there are easier/better ways to access Views from Java.
This new abstraction will allow to reuse AutofillPopup for regular use in a webpage (using ContentView) as well as for AutofillDialog.
BUG= 229199
Committed: https://src.chromium.org/viewvc/chrome?view=rev&revision=195750
Total comments: 4
Total comments: 46
Total comments: 12
Total comments: 4
|
Unified diffs |
Side-by-side diffs |
Delta from patch set |
Stats (+270 lines, -122 lines) |
Patch |
|
M |
chrome/android/java/src/org/chromium/chrome/browser/autofill/AutofillDialogGlue.java
|
View
|
1
2
3
4
5
6
7
8
9
10
11
12
|
1 chunk |
+5 lines, -5 lines |
0 comments
|
Download
|
|
M |
chrome/android/java/src/org/chromium/chrome/browser/autofill/AutofillPopup.java
|
View
|
1
2
3
4
5
6
7
8
|
5 chunks |
+8 lines, -8 lines |
0 comments
|
Download
|
|
M |
chrome/android/java/src/org/chromium/chrome/browser/autofill/AutofillPopupGlue.java
|
View
|
1
2
3
4
5
6
7
8
|
3 chunks |
+20 lines, -12 lines |
0 comments
|
Download
|
|
M |
chrome/android/javatests/src/org/chromium/chrome/browser/autofill/AutofillTest.java
|
View
|
1
2
3
4
5
6
7
8
|
2 chunks |
+3 lines, -3 lines |
0 comments
|
Download
|
|
M |
chrome/android/javatests/src/org/chromium/chrome/browser/input/SelectPopupOtherContentViewTest.java
|
View
|
1
2
3
4
5
6
7
8
|
1 chunk |
+2 lines, -2 lines |
0 comments
|
Download
|
|
M |
chrome/browser/platform_util_android.cc
|
View
|
|
1 chunk |
+1 line, -1 line |
0 comments
|
Download
|
|
M |
chrome/browser/ui/android/autofill/autofill_popup_view_android.cc
|
View
|
1
2
3
4
5
6
7
8
|
3 chunks |
+22 lines, -25 lines |
0 comments
|
Download
|
|
M |
content/browser/android/content_view_core_impl.h
|
View
|
1
2
3
4
5
6
7
8
9
10
11
|
3 chunks |
+7 lines, -2 lines |
0 comments
|
Download
|
|
M |
content/browser/android/content_view_core_impl.cc
|
View
|
1
2
3
4
5
6
7
8
9
10
11
|
5 chunks |
+13 lines, -10 lines |
0 comments
|
Download
|
|
M |
content/browser/renderer_host/render_widget_host_view_android.cc
|
View
|
1
2
3
4
5
6
7
8
9
10
11
|
1 chunk |
+1 line, -1 line |
0 comments
|
Download
|
|
M |
content/browser/web_contents/web_contents_view_android.cc
|
View
|
1
2
3
4
5
6
7
8
|
1 chunk |
+2 lines, -2 lines |
0 comments
|
Download
|
|
D |
content/public/android/java/src/org/chromium/content/browser/ContainerViewDelegate.java
|
View
|
|
1 chunk |
+0 lines, -31 lines |
0 comments
|
Download
|
|
|
content/public/android/java/src/org/chromium/content/browser/ContentViewCore.java
|
View
|
1
2
3
4
5
6
7
8
9
10
11
|
6 chunks |
+17 lines, -6 lines |
0 comments
|
Download
|
|
M |
content/public/android/java/src/org/chromium/content/browser/JellyBeanContentView.java
|
View
|
1
2
3
4
5
6
7
8
|
1 chunk |
+2 lines, -2 lines |
0 comments
|
Download
|
|
M |
content/public/browser/android/content_view_core.h
|
View
|
|
2 chunks |
+2 lines, -2 lines |
0 comments
|
Download
|
|
M |
content/shell/shell_web_contents_view_delegate_android.cc
|
View
|
1
|
1 chunk |
+1 line, -1 line |
0 comments
|
Download
|
|
A |
ui/android/java/src/org/chromium/ui/ViewAndroid.java
|
View
|
1
2
3
4
5
6
7
8
9
10
|
1 chunk |
+60 lines, -0 lines |
0 comments
|
Download
|
|
A + |
ui/android/java/src/org/chromium/ui/ViewAndroidDelegate.java
|
View
|
1
2
|
1 chunk |
+5 lines, -5 lines |
0 comments
|
Download
|
|
M |
ui/android/ui_jni_registrar.cc
|
View
|
1
2
3
4
5
6
7
8
|
2 chunks |
+2 lines, -0 lines |
0 comments
|
Download
|
|
A |
ui/android/view_android.h
|
View
|
1
2
3
4
5
6
7
8
|
1 chunk |
+41 lines, -0 lines |
0 comments
|
Download
|
|
A |
ui/android/view_android.cc
|
View
|
1
2
3
4
5
6
7
8
|
1 chunk |
+51 lines, -0 lines |
0 comments
|
Download
|
|
M |
ui/gfx/native_widget_types.h
|
View
|
|
2 chunks |
+2 lines, -4 lines |
0 comments
|
Download
|
|
M |
ui/ui.gyp
|
View
|
1
2
3
4
5
6
7
8
|
2 chunks |
+3 lines, -0 lines |
0 comments
|
Download
|
Total messages: 27 (0 generated)
|