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

Issue 117403003: Add support for closing Android Shell instances from Java. (Closed)

Created:
6 years, 12 months ago by Ted C
Modified:
6 years, 11 months ago
CC:
chromium-reviews, joi+watch-content_chromium.org, darin-cc_chromium.org, jam, jochen+watch_chromium.org
Visibility:
Public.

Description

Add support for closing Android Shell instances from Java. This also fixes an issue where the java side would be deleted when calling launchShell, but the native counter part was not being cleaned up. BUG=330902 TBR=avi@chromium.org Committed: https://src.chromium.org/viewvc/chrome?view=rev&revision=244022

Patch Set 1 #

Patch Set 2 : Rebased #

Patch Set 3 : Changed to allow full closing of Shells from java. #

Total comments: 2

Patch Set 4 : Convert to longs for content shell #

Patch Set 5 : Rebased #

Patch Set 6 : Rebased #

Unified diffs Side-by-side diffs Delta from patch set Stats (+107 lines, -13 lines) Patch
M content/content_shell.gypi View 1 2 3 1 chunk +1 line, -0 lines 0 comments Download
M content/shell/android/java/src/org/chromium/content_shell/Shell.java View 1 2 3 3 chunks +34 lines, -1 line 0 comments Download
M content/shell/android/java/src/org/chromium/content_shell/ShellManager.java View 1 2 3 4 5 4 chunks +6 lines, -5 lines 0 comments Download
A content/shell/android/javatests/src/org/chromium/content_shell_apk/ContentShellShellManagementTest.java View 1 2 1 chunk +47 lines, -0 lines 0 comments Download
M content/shell/android/shell_manager.h View 1 2 1 chunk +2 lines, -2 lines 0 comments Download
M content/shell/android/shell_manager.cc View 1 2 1 chunk +6 lines, -3 lines 0 comments Download
M content/shell/browser/shell_android.cc View 1 2 3 3 chunks +11 lines, -2 lines 0 comments Download

Messages

Total messages: 17 (0 generated)
Ted C
PTAL
6 years, 12 months ago (2013-12-27 22:40:27 UTC) #1
cjhopman
lgtm
6 years, 11 months ago (2013-12-30 17:29:48 UTC) #2
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/tedchoc@chromium.org/117403003/1
6 years, 11 months ago (2013-12-30 18:34:40 UTC) #3
commit-bot: I haz the power
Retried try job too often on chromium_presubmit for step(s) presubmit http://build.chromium.org/p/tryserver.chromium/buildstatus?builder=chromium_presubmit&number=42908
6 years, 11 months ago (2013-12-30 18:50:38 UTC) #4
Ted C
+pfeldman for OWNERS on shell_android.cc
6 years, 11 months ago (2013-12-30 18:52:01 UTC) #5
pfeldman
rslgtm
6 years, 11 months ago (2014-01-08 10:50:36 UTC) #6
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/tedchoc@chromium.org/117403003/200001
6 years, 11 months ago (2014-01-08 22:38:21 UTC) #7
Ted C
On 2014/01/08 22:38:21, I haz the power (commit-bot) wrote: > CQ is trying da patch. ...
6 years, 11 months ago (2014-01-09 01:04:28 UTC) #8
cjhopman
https://codereview.chromium.org/117403003/diff/460001/content/shell/browser/shell_android.cc File content/shell/browser/shell_android.cc (right): https://codereview.chromium.org/117403003/diff/460001/content/shell/browser/shell_android.cc#newcode100 content/shell/browser/shell_android.cc:100: void CloseShell(JNIEnv* env, jclass clazz, jlong nativeShell) { This ...
6 years, 11 months ago (2014-01-09 02:12:44 UTC) #9
Ted C
https://codereview.chromium.org/117403003/diff/460001/content/shell/browser/shell_android.cc File content/shell/browser/shell_android.cc (right): https://codereview.chromium.org/117403003/diff/460001/content/shell/browser/shell_android.cc#newcode100 content/shell/browser/shell_android.cc:100: void CloseShell(JNIEnv* env, jclass clazz, jlong nativeShell) { On ...
6 years, 11 months ago (2014-01-09 02:46:31 UTC) #10
cjhopman
On 2014/01/09 02:46:31, Ted C wrote: > https://codereview.chromium.org/117403003/diff/460001/content/shell/browser/shell_android.cc > File content/shell/browser/shell_android.cc (right): > > https://codereview.chromium.org/117403003/diff/460001/content/shell/browser/shell_android.cc#newcode100 ...
6 years, 11 months ago (2014-01-09 02:48:58 UTC) #11
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/tedchoc@chromium.org/117403003/620001
6 years, 11 months ago (2014-01-09 02:55:09 UTC) #12
commit-bot: I haz the power
Failed to apply patch for content/shell/android/java/src/org/chromium/content_shell/ShellManager.java: While running patch -p1 --forward --force --no-backup-if-mismatch; patching file ...
6 years, 11 months ago (2014-01-09 02:55:13 UTC) #13
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/tedchoc@chromium.org/117403003/700001
6 years, 11 months ago (2014-01-09 18:32:51 UTC) #14
commit-bot: I haz the power
Retried try job too often on win_rel for step(s) browser_tests http://build.chromium.org/p/tryserver.chromium/buildstatus?builder=win_rel&number=244295
6 years, 11 months ago (2014-01-09 22:15:44 UTC) #15
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/tedchoc@chromium.org/117403003/700001
6 years, 11 months ago (2014-01-09 22:29:57 UTC) #16
commit-bot: I haz the power
6 years, 11 months ago (2014-01-10 00:04:03 UTC) #17
Message was sent while issue was closed.
Change committed as 244022

Powered by Google App Engine
This is Rietveld 408576698