|
|
[Hera] Excise a bunch of document mode code
Deprecated document mode code is hindering efforts to refactor
other classes. Excise as much DocumentActivity related code
as possible in one swoop so that it's easy to find later, if
for some reason it's needed.
* Force all users entering DocumentActivity through the migration
pathway without checking if they're in document mode. There
should be no valid way to trigger a DocumentActivity, short of
being inside Recents when migration is completed and reselecting
an old Document tab.
* Delete practically everything inside the DocumentActivity class
to make it easier to determine dead dependencies in classes that
are being refactored.
* Delete all DocumentActivity-launching related functions from
ChromeLauncherActivity, and things that spiral out from there.
* Delete most of the document mode tests.
* Deletes a bunch of DocumentTabModel related code. Migration
pathways still seem to be intact.
BUG= 582539
Committed: https://crrev.com/35eb7ce0cd77f420076b796bb50a96c4958992ff
Cr-Commit-Position: refs/heads/master@{#396062}
Total comments: 6
|
Unified diffs |
Side-by-side diffs |
Delta from patch set |
Stats (+71 lines, -6064 lines) |
Patch |
 |
M |
chrome/android/java/src/org/chromium/chrome/browser/ChromeTabbedActivity.java
|
View
|
1
2
|
2 chunks |
+0 lines, -5 lines |
0 comments
|
Download
|
 |
M |
chrome/android/java/src/org/chromium/chrome/browser/document/ChromeLauncherActivity.java
|
View
|
1
2
3
4
|
13 chunks |
+17 lines, -456 lines |
0 comments
|
Download
|
 |
M |
chrome/android/java/src/org/chromium/chrome/browser/document/DocumentActivity.java
|
View
|
|
3 chunks |
+18 lines, -806 lines |
0 comments
|
Download
|
 |
D |
chrome/android/java/src/org/chromium/chrome/browser/document/DocumentTabDelegateFactory.java
|
View
|
|
1 chunk |
+0 lines, -44 lines |
0 comments
|
Download
|
 |
D |
chrome/android/java/src/org/chromium/chrome/browser/document/DocumentUma.java
|
View
|
|
1 chunk |
+0 lines, -98 lines |
0 comments
|
Download
|
 |
M |
chrome/android/java/src/org/chromium/chrome/browser/document/IncognitoDocumentActivity.java
|
View
|
|
1 chunk |
+1 line, -91 lines |
0 comments
|
Download
|
 |
D |
chrome/android/java/src/org/chromium/chrome/browser/ntp/DocumentRecentTabsManager.java
|
View
|
|
1 chunk |
+0 lines, -227 lines |
0 comments
|
Download
|
 |
M |
chrome/android/java/src/org/chromium/chrome/browser/ntp/NativePageFactory.java
|
View
|
|
2 chunks |
+2 lines, -4 lines |
0 comments
|
Download
|
 |
M |
chrome/android/java/src/org/chromium/chrome/browser/ntp/NewTabPage.java
|
View
|
1
2
|
6 chunks |
+7 lines, -42 lines |
0 comments
|
Download
|
 |
D |
chrome/android/java/src/org/chromium/chrome/browser/tabmodel/document/AsyncDocumentLauncher.java
|
View
|
|
1 chunk |
+0 lines, -136 lines |
0 comments
|
Download
|
 |
M |
chrome/android/java/src/org/chromium/chrome/browser/tabmodel/document/DocumentTabModel.java
|
View
|
1
2
|
2 chunks |
+0 lines, -135 lines |
0 comments
|
Download
|
 |
M |
chrome/android/java/src/org/chromium/chrome/browser/tabmodel/document/DocumentTabModelImpl.java
|
View
|
1
2
3
|
10 chunks |
+8 lines, -597 lines |
0 comments
|
Download
|
 |
M |
chrome/android/java/src/org/chromium/chrome/browser/tabmodel/document/DocumentTabModelSelector.java
|
View
|
1
2
3
|
7 chunks |
+4 lines, -68 lines |
0 comments
|
Download
|
 |
M |
chrome/android/java/src/org/chromium/chrome/browser/tabmodel/document/OffTheRecordDocumentTabModel.java
|
View
|
1
2
|
2 chunks |
+0 lines, -98 lines |
0 comments
|
Download
|
 |
M |
chrome/android/java/src/org/chromium/chrome/browser/upgrade/UpgradeActivity.java
|
View
|
|
1 chunk |
+1 line, -1 line |
0 comments
|
Download
|
 |
M |
chrome/android/java_sources.gni
|
View
|
1
2
|
8 chunks |
+0 lines, -15 lines |
0 comments
|
Download
|
 |
D |
chrome/android/javatests/src/org/chromium/chrome/browser/BindingManagerInDocumentModeIntegrationTest.java
|
View
|
|
1 chunk |
+0 lines, -336 lines |
0 comments
|
Download
|
 |
D |
chrome/android/javatests/src/org/chromium/chrome/browser/ChromeTabbedActivityLollipopAndAboveTest.java
|
View
|
|
1 chunk |
+0 lines, -86 lines |
0 comments
|
Download
|
 |
D |
chrome/android/javatests/src/org/chromium/chrome/browser/document/DocumentModeLowEndTest.java
|
View
|
|
1 chunk |
+0 lines, -124 lines |
0 comments
|
Download
|
 |
D |
chrome/android/javatests/src/org/chromium/chrome/browser/document/DocumentModeReferrerTest.java
|
View
|
|
1 chunk |
+0 lines, -259 lines |
0 comments
|
Download
|
 |
D |
chrome/android/javatests/src/org/chromium/chrome/browser/document/DocumentModeTest.java
|
View
|
|
1 chunk |
+0 lines, -761 lines |
0 comments
|
Download
|
 |
D |
chrome/android/javatests/src/org/chromium/chrome/browser/document/DocumentModeTestBase.java
|
View
|
|
1 chunk |
+0 lines, -353 lines |
0 comments
|
Download
|
 |
D |
chrome/android/javatests/src/org/chromium/chrome/browser/hardware_acceleration/DocumentActivityHWATest.java
|
View
|
|
1 chunk |
+0 lines, -51 lines |
0 comments
|
Download
|
 |
D |
chrome/android/javatests/src/org/chromium/chrome/browser/ntp/DocumentModeRecentlyClosedTest.java
|
View
|
|
1 chunk |
+0 lines, -269 lines |
0 comments
|
Download
|
 |
D |
chrome/android/javatests/src/org/chromium/chrome/browser/tabmodel/document/AsyncDocumentLauncherTest.java
|
View
|
|
1 chunk |
+0 lines, -136 lines |
0 comments
|
Download
|
 |
D |
chrome/android/javatests/src/org/chromium/chrome/browser/tabmodel/document/DocumentTabModelImplTest.java
|
View
|
1
2
|
1 chunk |
+0 lines, -458 lines |
0 comments
|
Download
|
 |
M |
chrome/android/javatests/src/org/chromium/chrome/browser/tabmodel/document/MockDocumentTabModel.java
|
View
|
1
2
|
2 chunks |
+0 lines, -87 lines |
0 comments
|
Download
|
 |
D |
chrome/android/javatests/src/org/chromium/chrome/browser/tabmodel/document/OffTheRecordDocumentTabModelTest.java
|
View
|
1
2
|
1 chunk |
+0 lines, -224 lines |
0 comments
|
Download
|
 |
M |
chrome/test/android/BUILD.gn
|
View
|
1
2
|
1 chunk |
+0 lines, -1 line |
0 comments
|
Download
|
 |
M |
chrome/test/android/javatests/src/org/chromium/chrome/test/ChromeActivityTestCaseBase.java
|
View
|
|
2 chunks |
+7 lines, -36 lines |
0 comments
|
Download
|
 |
D |
chrome/test/android/javatests/src/org/chromium/chrome/test/util/browser/tabmodel/document/TestInitializationObserver.java
|
View
|
1
2
|
1 chunk |
+0 lines, -60 lines |
0 comments
|
Download
|
 |
M |
tools/metrics/histograms/histograms.xml
|
View
|
1
2
3
4
|
2 chunks |
+6 lines, -0 lines |
0 comments
|
Download
|
Total messages: 22 (7 generated)
|