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

Issue 1710213002: Consolidate/clarify TabLaunchTypes (Closed)

Created:
4 years, 10 months ago by gone
Modified:
4 years, 10 months ago
Reviewers:
newt (away)
CC:
chromium-reviews, Ted C
Base URL:
https://chromium.googlesource.com/chromium/src.git@master
Target Ref:
refs/pending/heads/master
Project:
chromium
Visibility:
Public.

Description

Consolidate/clarify TabLaunchTypes A bunch of these don't incur specific behavior, are not being used, or aren't even being used properly. * FROM_CHROME_UI replaces FROM_MENU_OR_OVERVIEW and FROM_KEYBOARD, and is overloaded to account for tabs created by other Chrome UI, like Push Notifications. * FROM_KEYBOARD was being used by tests when creating new tabs when FROM_MENU_OR_OVERVIEW worked fine. It was removed entirely because nothing was actually checking it specifically: it was even grouped in with FROM_MENU_OR_OVERVIEW in switch statements. * FROM_INSTANT wasn't being set anywhere, but was being checked in two places. I straight deleted it. BUG=582539 Committed: https://crrev.com/63d6410809958054a570c783680a3a175eafa624 Cr-Commit-Position: refs/heads/master@{#376342}

Patch Set 1 #

Patch Set 2 : Rebasing #

Patch Set 3 : Rebasing #

Unified diffs Side-by-side diffs Delta from patch set Stats (+72 lines, -51 lines) Patch
M chrome/android/java/src/org/chromium/chrome/browser/ChromeServiceTabLauncher.java View 1 chunk +1 line, -1 line 0 comments Download
M chrome/android/java/src/org/chromium/chrome/browser/ChromeTabbedActivity.java View 1 6 chunks +6 lines, -9 lines 0 comments Download
M chrome/android/java/src/org/chromium/chrome/browser/compositor/layouts/LayoutManagerChrome.java View 2 chunks +3 lines, -4 lines 0 comments Download
M chrome/android/java/src/org/chromium/chrome/browser/document/DocumentActivity.java View 2 chunks +2 lines, -2 lines 0 comments Download
M chrome/android/java/src/org/chromium/chrome/browser/tabmodel/ChromeTabCreator.java View 1 chunk +1 line, -2 lines 0 comments Download
M chrome/android/java/src/org/chromium/chrome/browser/tabmodel/TabCreatorManager.java View 1 chunk +1 line, -1 line 0 comments Download
M chrome/android/java/src/org/chromium/chrome/browser/tabmodel/TabModel.java View 1 chunk +45 lines, -19 lines 0 comments Download
M chrome/android/java/src/org/chromium/chrome/browser/tabmodel/TabModelJniBridge.java View 1 chunk +1 line, -1 line 0 comments Download
M chrome/android/java/src/org/chromium/chrome/browser/tabmodel/document/TabDelegate.java View 1 chunk +1 line, -1 line 0 comments Download
M chrome/android/java/src/org/chromium/chrome/browser/webapps/FullScreenActivity.java View 1 chunk +1 line, -1 line 0 comments Download
M chrome/android/javatests/src/org/chromium/chrome/browser/BindingManagerIntegrationTest.java View 6 chunks +7 lines, -7 lines 0 comments Download
M chrome/android/javatests/src/org/chromium/chrome/browser/ChromeActivityTest.java View 1 chunk +1 line, -1 line 0 comments Download
M chrome/android/javatests/src/org/chromium/chrome/browser/tabmodel/OffTheRecordTabModelTest.java View 1 chunk +1 line, -1 line 0 comments Download
M chrome/android/javatests/src/org/chromium/chrome/browser/tabmodel/UndoTabModelTest.java View 1 chunk +1 line, -1 line 0 comments Download

Messages

Total messages: 14 (8 generated)
gone
4 years, 10 months ago (2016-02-18 21:20:34 UTC) #2
newt (away)
It'd be helpful to mention which launch types you've removed in the commit message. Otherwise ...
4 years, 10 months ago (2016-02-18 22:05:18 UTC) #4
gone
Updated the message; thanks!
4 years, 10 months ago (2016-02-19 00:57:03 UTC) #7
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1710213002/30001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1710213002/30001
4 years, 10 months ago (2016-02-19 01:05:34 UTC) #10
commit-bot: I haz the power
Committed patchset #3 (id:30001)
4 years, 10 months ago (2016-02-19 01:56:40 UTC) #12
commit-bot: I haz the power
4 years, 10 months ago (2016-02-19 01:57:40 UTC) #14
Message was sent while issue was closed.
Patchset 3 (id:??) landed as
https://crrev.com/63d6410809958054a570c783680a3a175eafa624
Cr-Commit-Position: refs/heads/master@{#376342}

Powered by Google App Engine
This is Rietveld 408576698