|
Refactor TabBase to give it ownership of ContentViews and NativePages. This CL includes the following:
- Moves ContentView/NativePage object ownership to TabBase.
- TabBase now has the initialization/destruction methods associated with ContentViews and WebContents.
- Creates a TabObserver to pipe out changes to TabBase to listeners.
- Adds helper methods for creating delegates/observers on the WebContents/ContentView.
BUG= 277135
NOTRY=true
Committed: https://src.chromium.org/viewvc/chrome?view=rev&revision=220051
Total comments: 4
Total comments: 24
Total comments: 14
|
Unified diffs |
Side-by-side diffs |
Delta from patch set |
Stats (+818 lines, -255 lines) |
Patch |
 |
A |
chrome/android/java/src/org/chromium/chrome/browser/EmptyTabObserver.java
|
View
|
1
2
3
4
5
6
|
1 chunk |
+23 lines, -0 lines |
0 comments
|
Download
|
 |
A |
chrome/android/java/src/org/chromium/chrome/browser/NativePage.java
|
View
|
1
2
3
4
5
6
|
1 chunk |
+28 lines, -0 lines |
0 comments
|
Download
|
 |
M |
chrome/android/java/src/org/chromium/chrome/browser/TabBase.java
|
View
|
1
2
3
4
5
6
7
8
9
10
11
|
3 chunks |
+515 lines, -8 lines |
0 comments
|
Download
|
 |
A |
chrome/android/java/src/org/chromium/chrome/browser/TabObserver.java
|
View
|
1
2
3
4
|
1 chunk |
+37 lines, -0 lines |
0 comments
|
Download
|
 |
M |
chrome/android/testshell/java/src/org/chromium/chrome/testshell/TestShellTab.java
|
View
|
1
2
3
4
5
|
8 chunks |
+24 lines, -86 lines |
0 comments
|
Download
|
 |
D |
chrome/android/testshell/java/src/org/chromium/chrome/testshell/TestShellTabObserver.java
|
View
|
|
1 chunk |
+0 lines, -35 lines |
0 comments
|
Download
|
 |
M |
chrome/android/testshell/java/src/org/chromium/chrome/testshell/TestShellToolbar.java
|
View
|
1
2
|
5 chunks |
+9 lines, -10 lines |
0 comments
|
Download
|
 |
M |
chrome/android/testshell/javatests/src/org/chromium/chrome/testshell/TabShellTabUtils.java
|
View
|
1
2
3
4
|
3 chunks |
+10 lines, -4 lines |
0 comments
|
Download
|
 |
M |
chrome/android/testshell/testshell_stubs.cc
|
View
|
1
|
2 chunks |
+0 lines, -6 lines |
0 comments
|
Download
|
 |
M |
chrome/android/testshell/testshell_tab.h
|
View
|
1
2
3
4
5
6
|
3 chunks |
+1 line, -14 lines |
0 comments
|
Download
|
 |
M |
chrome/android/testshell/testshell_tab.cc
|
View
|
1
2
3
4
5
6
|
4 chunks |
+4 lines, -31 lines |
0 comments
|
Download
|
 |
M |
chrome/browser/android/shortcut_helper.cc
|
View
|
1
2
3
4
5
6
7
8
9
10
11
12
13
|
1 chunk |
+1 line, -1 line |
0 comments
|
Download
|
 |
M |
chrome/browser/android/tab_android.h
|
View
|
1
2
3
4
5
6
|
3 chunks |
+56 lines, -13 lines |
0 comments
|
Download
|
 |
M |
chrome/browser/android/tab_android.cc
|
View
|
1
2
3
4
5
6
|
5 chunks |
+109 lines, -26 lines |
0 comments
|
Download
|
 |
M |
chrome/browser/android/tab_android_test_stubs.cc
|
View
|
1
|
1 chunk |
+0 lines, -10 lines |
0 comments
|
Download
|
 |
M |
chrome/browser/sync/glue/synced_tab_delegate_android.cc
|
View
|
1
2
3
4
5
6
7
8
9
10
11
|
1 chunk |
+1 line, -1 line |
0 comments
|
Download
|
 |
M |
chrome/browser/ui/android/tab_model/tab_model.h
|
View
|
1
|
1 chunk |
+0 lines, -3 lines |
0 comments
|
Download
|
 |
M |
chrome/browser/ui/android/tab_model/tab_model.cc
|
View
|
1
|
1 chunk |
+0 lines, -7 lines |
0 comments
|
Download
|
Total messages: 13 (0 generated)
|