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

Issue 1569643002: Reland Pull the Activity context from WindowAndroid if possible (Closed)

Created:
4 years, 11 months ago by Yusuf
Modified:
4 years, 11 months ago
CC:
chromium-reviews, darin-cc_chromium.org, jam, android-webview-reviews_chromium.org
Base URL:
https://chromium.googlesource.com/chromium/src.git@master
Target Ref:
refs/pending/heads/master
Project:
chromium
Visibility:
Public.

Description

Reland Pull the Activity context from WindowAndroid if possible WebView uses ContentViewCore's context for displaying dialogs and wraps it at construction time. This change makes sure that if there is an activity that can be reached through WindowAndroid, we use that as the context inside ColorChooser. Also make sure if there is no activity, we dont attempt to create a color chooser and try to show it. Update ActivityWindowAndroid to take a Context type so that in Android WebView, the activity context can remain wrapped. BUG=550410, 570429 Committed: https://crrev.com/235c2e05a35759c50b0f106ab1f7aec3142eebb1 Cr-Commit-Position: refs/heads/master@{#368702}

Patch Set 1 #

Patch Set 2 : Added landmine #

Total comments: 1

Patch Set 3 : Fix ChromeWindow constructor #

Patch Set 4 : Revert the changes in ChromeWindow as they are not needed anymore #

Messages

Total messages: 30 (8 generated)
Yusuf
PTAL, I will try to reland this with a landmine as a last resort over ...
4 years, 11 months ago (2016-01-08 23:52:46 UTC) #2
Yusuf
Reverted CL here https://codereview.chromium.org/1528733002
4 years, 11 months ago (2016-01-08 23:53:41 UTC) #3
jbudorick
https://codereview.chromium.org/1569643002/diff/20001/build/get_landmines.py File build/get_landmines.py (right): https://codereview.chromium.org/1569643002/diff/20001/build/get_landmines.py#newcode27 build/get_landmines.py:27: # DO NOT add landmines as part of a ...
4 years, 11 months ago (2016-01-08 23:54:35 UTC) #4
newt (away)
Are there any changes from the previous CL besides the addition of the landmine? Also, ...
4 years, 11 months ago (2016-01-08 23:54:50 UTC) #5
Yusuf
On 2016/01/08 23:54:50, newt wrote: > Are there any changes from the previous CL besides ...
4 years, 11 months ago (2016-01-08 23:57:48 UTC) #6
Yusuf
On 2016/01/08 23:54:35, jbudorick wrote: > https://codereview.chromium.org/1569643002/diff/20001/build/get_landmines.py > File build/get_landmines.py (right): > > https://codereview.chromium.org/1569643002/diff/20001/build/get_landmines.py#newcode27 > ...
4 years, 11 months ago (2016-01-08 23:59:19 UTC) #7
boliu
On 2016/01/08 23:59:19, Yusuf wrote: > On 2016/01/08 23:54:35, jbudorick wrote: > > https://codereview.chromium.org/1569643002/diff/20001/build/get_landmines.py > ...
4 years, 11 months ago (2016-01-09 00:04:32 UTC) #8
boliu
lgtm for my parts while we debate the landmine thing..
4 years, 11 months ago (2016-01-09 00:05:43 UTC) #9
Yusuf
Thanks to jbudorick's help, I found the real culprit. No need for landmines now. Actually ...
4 years, 11 months ago (2016-01-10 19:24:46 UTC) #11
boliu
On 2016/01/10 19:24:46, Yusuf wrote: > Thanks to jbudorick's help, I found the real culprit. ...
4 years, 11 months ago (2016-01-10 19:30:05 UTC) #12
Yusuf
On 2016/01/10 19:30:05, boliu wrote: > On 2016/01/10 19:24:46, Yusuf wrote: > > Thanks to ...
4 years, 11 months ago (2016-01-10 19:50:36 UTC) #13
boliu
On 2016/01/10 19:50:36, Yusuf wrote: > On 2016/01/10 19:30:05, boliu wrote: > > On 2016/01/10 ...
4 years, 11 months ago (2016-01-10 20:02:19 UTC) #14
boliu
Talked to Yusuf offline, then tested more.. Any white-space change to ChromeWindow.java would have fixed ...
4 years, 11 months ago (2016-01-10 22:21:31 UTC) #15
jbudorick
On 2016/01/10 22:21:31, boliu wrote: > Talked to Yusuf offline, then tested more.. Any white-space ...
4 years, 11 months ago (2016-01-10 23:30:09 UTC) #18
boliu
On 2016/01/10 23:30:09, jbudorick wrote: > On 2016/01/10 22:21:31, boliu wrote: > > Talked to ...
4 years, 11 months ago (2016-01-11 01:18:15 UTC) #19
boliu
On 2016/01/11 01:18:15, boliu wrote: > On 2016/01/10 23:30:09, jbudorick wrote: > > On 2016/01/10 ...
4 years, 11 months ago (2016-01-11 01:49:13 UTC) #20
boliu
On 2016/01/11 01:49:13, boliu wrote: > On 2016/01/11 01:18:15, boliu wrote: > > On 2016/01/10 ...
4 years, 11 months ago (2016-01-11 02:27:55 UTC) #21
jbudorick
On 2016/01/11 01:49:13, boliu wrote: > On 2016/01/11 01:18:15, boliu wrote: > > On 2016/01/10 ...
4 years, 11 months ago (2016-01-11 15:19:25 UTC) #22
Ted C
lgtm
4 years, 11 months ago (2016-01-11 21:50:03 UTC) #23
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1569643002/60001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1569643002/60001
4 years, 11 months ago (2016-01-11 21:51:24 UTC) #26
commit-bot: I haz the power
Committed patchset #4 (id:60001)
4 years, 11 months ago (2016-01-11 23:08:36 UTC) #28
commit-bot: I haz the power
4 years, 11 months ago (2016-01-11 23:10:07 UTC) #30
Message was sent while issue was closed.
Patchset 4 (id:??) landed as
https://crrev.com/235c2e05a35759c50b0f106ab1f7aec3142eebb1
Cr-Commit-Position: refs/heads/master@{#368702}

Powered by Google App Engine
This is Rietveld 408576698