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

Issue 904453002: Feed back to the ServiceTabLauncher when the tab has been created. (Closed)

Created:
5 years, 10 months ago by Peter Beverloo
Modified:
5 years, 10 months ago
CC:
chromium-reviews
Base URL:
https://chromium.googlesource.com/chromium/src.git@a-open-window
Target Ref:
refs/pending/heads/master
Project:
chromium
Visibility:
Public.

Description

Feed back to the ServiceTabLauncher when the tab has been created. This is the second part of being able to open new windows on Android from a background service, where no Activity may be available. New tabs are launched with a request ID, which will be used to feed back creation of the tab to the ServiceTabLauncher. TBR=jbudorick@chromium.org BUG=454809 Committed: https://crrev.com/244c761f6ef763dabf708ac6794afd39b1ea7b5e Cr-Commit-Position: refs/heads/master@{#317313}

Patch Set 1 #

Total comments: 6

Patch Set 2 : #

Total comments: 5

Patch Set 3 : #

Total comments: 4

Patch Set 4 : add findbugs line #

Messages

Total messages: 27 (11 generated)
Peter Beverloo
+mlamouri for opening window semantics +bauerb, tedchoc and dfalcantara for the Android tab bits. This ...
5 years, 10 months ago (2015-02-04 17:45:45 UTC) #2
Bernhard Bauer
lgtm https://codereview.chromium.org/904453002/diff/1/chrome/browser/android/service_tab_launcher.cc File chrome/browser/android/service_tab_launcher.cc (right): https://codereview.chromium.org/904453002/diff/1/chrome/browser/android/service_tab_launcher.cc#newcode45 chrome/browser/android/service_tab_launcher.cc:45: content::BrowserContext* browser_context, You don't really seem to need ...
5 years, 10 months ago (2015-02-04 18:09:12 UTC) #3
gone
+Maria, David Honestly not sure. Downstream you have to deal with the DocumentTabModel or the ...
5 years, 10 months ago (2015-02-06 01:04:24 UTC) #5
Ted C
I agree with Dan that if this could be in charge of creating the web ...
5 years, 10 months ago (2015-02-06 01:18:19 UTC) #6
mlamouri (slow - plz ping)
https://codereview.chromium.org/904453002/diff/20001/chrome/android/shell/java/src/org/chromium/chrome/shell/ChromeShellActivity.java File chrome/android/shell/java/src/org/chromium/chrome/shell/ChromeShellActivity.java (right): https://codereview.chromium.org/904453002/diff/20001/chrome/android/shell/java/src/org/chromium/chrome/shell/ChromeShellActivity.java#newcode254 chrome/android/shell/java/src/org/chromium/chrome/shell/ChromeShellActivity.java:254: Tab newTab = mTabManager.createTab(url, TabLaunchType.FROM_EXTERNAL_APP); FROM_EXTERNAL_APP isn't quite right... ...
5 years, 10 months ago (2015-02-19 14:51:17 UTC) #8
Bernhard Bauer
https://codereview.chromium.org/904453002/diff/20001/chrome/browser/android/service_tab_launcher.h File chrome/browser/android/service_tab_launcher.h (right): https://codereview.chromium.org/904453002/diff/20001/chrome/browser/android/service_tab_launcher.h#newcode56 chrome/browser/android/service_tab_launcher.h:56: std::map<int, TabLaunchedCallback> tab_launched_callbacks_; On 2015/02/19 14:51:17, Mounir Lamouri wrote: ...
5 years, 10 months ago (2015-02-19 15:03:05 UTC) #9
Peter Beverloo
Thanks for your responses, everyone. The patch is now in better shape. I'll send an ...
5 years, 10 months ago (2015-02-19 16:03:07 UTC) #10
mlamouri (slow - plz ping)
lgtm
5 years, 10 months ago (2015-02-19 18:56:57 UTC) #11
Ted C
lgtm https://codereview.chromium.org/904453002/diff/40001/chrome/browser/android/service_tab_launcher.cc File chrome/browser/android/service_tab_launcher.cc (right): https://codereview.chromium.org/904453002/diff/40001/chrome/browser/android/service_tab_launcher.cc#newcode89 chrome/browser/android/service_tab_launcher.cc:89: TabLaunchedCallback* callback = tab_launched_callbacks_.Lookup(request_id); the one gotcha here ...
5 years, 10 months ago (2015-02-19 21:55:22 UTC) #12
Maria
lgtm https://codereview.chromium.org/904453002/diff/40001/chrome/browser/android/service_tab_launcher.h File chrome/browser/android/service_tab_launcher.h (right): https://codereview.chromium.org/904453002/diff/40001/chrome/browser/android/service_tab_launcher.h#newcode27 chrome/browser/android/service_tab_launcher.h:27: using TabLaunchedCallback = base::Callback<void(content::WebContents*)>; is this C++ feature ...
5 years, 10 months ago (2015-02-19 22:50:50 UTC) #13
Peter Beverloo
https://codereview.chromium.org/904453002/diff/40001/chrome/browser/android/service_tab_launcher.cc File chrome/browser/android/service_tab_launcher.cc (right): https://codereview.chromium.org/904453002/diff/40001/chrome/browser/android/service_tab_launcher.cc#newcode89 chrome/browser/android/service_tab_launcher.cc:89: TabLaunchedCallback* callback = tab_launched_callbacks_.Lookup(request_id); On 2015/02/19 21:55:22, Ted C ...
5 years, 10 months ago (2015-02-20 12:09:19 UTC) #14
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/904453002/40001
5 years, 10 months ago (2015-02-20 12:10:39 UTC) #16
commit-bot: I haz the power
Try jobs failed on following builders: android_arm64_dbg_recipe on tryserver.chromium.linux (JOB_FAILED, http://build.chromium.org/p/tryserver.chromium.linux/builders/android_arm64_dbg_recipe/builds/48967)
5 years, 10 months ago (2015-02-20 13:46:09 UTC) #18
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/904453002/60001
5 years, 10 months ago (2015-02-20 13:49:11 UTC) #25
commit-bot: I haz the power
Committed patchset #4 (id:60001)
5 years, 10 months ago (2015-02-20 14:13:32 UTC) #26
commit-bot: I haz the power
5 years, 10 months ago (2015-02-20 14:14:24 UTC) #27
Message was sent while issue was closed.
Patchset 4 (id:??) landed as
https://crrev.com/244c761f6ef763dabf708ac6794afd39b1ea7b5e
Cr-Commit-Position: refs/heads/master@{#317313}

Powered by Google App Engine
This is Rietveld 408576698