Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(692)

Issue 1416093004: Remove CustomTab and have all CustomTabActivity using Tab (Closed)

Created:
5 years, 2 months ago by Yusuf
Modified:
5 years, 1 month ago
CC:
chromium-reviews
Base URL:
https://chromium.googlesource.com/chromium/src.git@master
Target Ref:
refs/pending/heads/master
Project:
chromium
Visibility:
Public.

Description

Remove CustomTab and have all CustomTabActivity using Tab *Adds a TabDelegateFactory that handles the creating of various delegates for Tab. *Adds child classes for the delegate factory in DocumentTab and FullscreenActivityTab and Custom tabs. *Removes the class CustomTab and gets the activity to handle initialization. BUG=546182 Committed: https://crrev.com/5dbc149bebecea186b693b3d780b6965eeffed0f Cr-Commit-Position: refs/heads/master@{#356385}

Patch Set 1 #

Total comments: 32

Patch Set 2 : Addressed initial comments #

Total comments: 4

Patch Set 3 : Fixed clang build error #

Total comments: 2

Patch Set 4 : Fixed tests and nits #

Unified diffs Side-by-side diffs Delta from patch set Stats (+666 lines, -572 lines) Patch
M chrome/android/java/src/org/chromium/chrome/browser/ChromeActivity.java View 1 2 3 2 chunks +1 line, -2 lines 0 comments Download
D chrome/android/java/src/org/chromium/chrome/browser/customtabs/CustomTab.java View 1 chunk +0 lines, -371 lines 0 comments Download
M chrome/android/java/src/org/chromium/chrome/browser/customtabs/CustomTabActivity.java View 1 2 3 7 chunks +61 lines, -17 lines 0 comments Download
A chrome/android/java/src/org/chromium/chrome/browser/customtabs/CustomTabDelegateFactory.java View 1 1 chunk +240 lines, -0 lines 0 comments Download
A chrome/android/java/src/org/chromium/chrome/browser/customtabs/CustomTabObserver.java View 1 chunk +117 lines, -0 lines 0 comments Download
M chrome/android/java/src/org/chromium/chrome/browser/document/DocumentTab.java View 3 chunks +8 lines, -6 lines 0 comments Download
M chrome/android/java/src/org/chromium/chrome/browser/tab/Tab.java View 1 2 3 10 chunks +15 lines, -34 lines 0 comments Download
A chrome/android/java/src/org/chromium/chrome/browser/tab/TabDelegateFactory.java View 1 2 3 1 chunk +58 lines, -0 lines 0 comments Download
M chrome/android/java/src/org/chromium/chrome/browser/tab/TabWebContentsDelegateAndroid.java View 1 chunk +1 line, -1 line 0 comments Download
M chrome/android/java/src/org/chromium/chrome/browser/tabmodel/ChromeTabCreator.java View 1 2 3 7 chunks +8 lines, -5 lines 0 comments Download
M chrome/android/java/src/org/chromium/chrome/browser/webapps/FullScreenActivityTab.java View 5 chunks +2 lines, -127 lines 0 comments Download
A chrome/android/java/src/org/chromium/chrome/browser/webapps/FullScreenDelegateFactory.java View 1 2 3 1 chunk +144 lines, -0 lines 0 comments Download
M chrome/android/javatests/src/org/chromium/chrome/browser/customtabs/CustomTabExternalNavigationTest.java View 2 chunks +7 lines, -5 lines 0 comments Download
M chrome/android/javatests/src/org/chromium/chrome/browser/tab/TabUmaTest.java View 1 2 3 4 chunks +4 lines, -4 lines 0 comments Download

Messages

Total messages: 25 (9 generated)
Yusuf
5 years, 2 months ago (2015-10-21 21:49:38 UTC) #2
gone
Added a bunch of annotations for myself since the CL seems to be mostly moving ...
5 years, 2 months ago (2015-10-22 17:16:54 UTC) #3
David Trainor- moved to gerrit
a few nits. but dan's comments covered most of it :). https://chromiumcodereview.appspot.com/1416093004/diff/1/chrome/android/java/src/org/chromium/chrome/browser/customtabs/CustomTabActivity.java File chrome/android/java/src/org/chromium/chrome/browser/customtabs/CustomTabActivity.java (right): ...
5 years, 1 month ago (2015-10-26 21:04:40 UTC) #4
Yusuf
https://chromiumcodereview.appspot.com/1416093004/diff/1/chrome/android/java/src/org/chromium/chrome/browser/customtabs/CustomTabActivity.java File chrome/android/java/src/org/chromium/chrome/browser/customtabs/CustomTabActivity.java (right): https://chromiumcodereview.appspot.com/1416093004/diff/1/chrome/android/java/src/org/chromium/chrome/browser/customtabs/CustomTabActivity.java#newcode237 chrome/android/java/src/org/chromium/chrome/browser/customtabs/CustomTabActivity.java:237: private void createTab() { On 2015/10/22 17:16:53, dfalcantara wrote: ...
5 years, 1 month ago (2015-10-26 21:28:30 UTC) #5
commit-bot: I haz the power
Dry run: CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1416093004/20001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1416093004/20001
5 years, 1 month ago (2015-10-26 21:33:21 UTC) #7
commit-bot: I haz the power
Dry run: Try jobs failed on following builders: android_clang_dbg_recipe on tryserver.chromium.linux (JOB_FAILED, http://build.chromium.org/p/tryserver.chromium.linux/builders/android_clang_dbg_recipe/builds/138094)
5 years, 1 month ago (2015-10-26 22:05:18 UTC) #9
commit-bot: I haz the power
Dry run: CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1416093004/40001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1416093004/40001
5 years, 1 month ago (2015-10-26 22:17:50 UTC) #11
commit-bot: I haz the power
Dry run: Try jobs failed on following builders: linux_android_rel_ng on tryserver.chromium.linux (JOB_FAILED, http://build.chromium.org/p/tryserver.chromium.linux/builders/linux_android_rel_ng/builds/87094)
5 years, 1 month ago (2015-10-26 23:58:17 UTC) #13
gone
lgtm % dtrainor's comments https://chromiumcodereview.appspot.com/1416093004/diff/20001/chrome/android/java/src/org/chromium/chrome/browser/customtabs/CustomTabActivity.java File chrome/android/java/src/org/chromium/chrome/browser/customtabs/CustomTabActivity.java (right): https://chromiumcodereview.appspot.com/1416093004/diff/20001/chrome/android/java/src/org/chromium/chrome/browser/customtabs/CustomTabActivity.java#newcode315 chrome/android/java/src/org/chromium/chrome/browser/customtabs/CustomTabActivity.java:315: /* (non-Javadoc) Eh, this should ...
5 years, 1 month ago (2015-10-27 17:40:00 UTC) #14
Yusuf
https://chromiumcodereview.appspot.com/1416093004/diff/20001/chrome/android/java/src/org/chromium/chrome/browser/customtabs/CustomTabActivity.java File chrome/android/java/src/org/chromium/chrome/browser/customtabs/CustomTabActivity.java (right): https://chromiumcodereview.appspot.com/1416093004/diff/20001/chrome/android/java/src/org/chromium/chrome/browser/customtabs/CustomTabActivity.java#newcode315 chrome/android/java/src/org/chromium/chrome/browser/customtabs/CustomTabActivity.java:315: /* (non-Javadoc) On 2015/10/27 17:40:00, dfalcantara wrote: > Eh, ...
5 years, 1 month ago (2015-10-27 18:40:08 UTC) #15
commit-bot: I haz the power
Dry run: CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1416093004/60001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1416093004/60001
5 years, 1 month ago (2015-10-27 18:41:47 UTC) #17
commit-bot: I haz the power
Dry run: This issue passed the CQ dry run.
5 years, 1 month ago (2015-10-27 20:21:56 UTC) #19
David Trainor- moved to gerrit
lgtm
5 years, 1 month ago (2015-10-27 20:27:54 UTC) #20
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1416093004/60001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1416093004/60001
5 years, 1 month ago (2015-10-27 20:29:18 UTC) #23
commit-bot: I haz the power
Committed patchset #4 (id:60001)
5 years, 1 month ago (2015-10-27 20:36:18 UTC) #24
commit-bot: I haz the power
5 years, 1 month ago (2015-10-27 20:37:54 UTC) #25
Message was sent while issue was closed.
Patchset 4 (id:??) landed as
https://crrev.com/5dbc149bebecea186b693b3d780b6965eeffed0f
Cr-Commit-Position: refs/heads/master@{#356385}

Powered by Google App Engine
This is Rietveld 408576698