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

Issue 29303004: Make WindowAndroid constructor takes context as param. (Closed)

Created:
7 years, 2 months ago by michaelbai
Modified:
7 years, 1 month ago
Reviewers:
joth, newt (away)
CC:
chromium-reviews, benquan, browser-components-watch_chromium.org, Dane Wallinga, dyu1, estade+watch_chromium.org, Ilya Sherman, rouslan+autofillwatch_chromium.org
Base URL:
https://chromium.googlesource.com/chromium/src.git@master
Visibility:
Public.

Description

Make WindowAndroid constructor takes context as param. BUG=309104 TBR=yfriedman Committed: https://src.chromium.org/viewvc/chrome?view=rev&revision=233774

Patch Set 1 #

Patch Set 2 : #

Total comments: 14

Patch Set 3 : address comments #

Total comments: 10

Patch Set 4 : #

Total comments: 2

Patch Set 5 : #

Total comments: 2

Patch Set 6 : #

Total comments: 2

Messages

Total messages: 21 (0 generated)
michaelbai
7 years, 2 months ago (2013-10-18 22:45:03 UTC) #1
joth__google
Feels this would be clearer if windowAndroid was abstract and we had different subclasses for ...
7 years, 2 months ago (2013-10-20 17:02:58 UTC) #2
joth
From correct address On Sunday, 20 October 2013, Jonathan Dixon <joth@google.com> wrote: > > Feels ...
7 years, 2 months ago (2013-10-20 17:02:59 UTC) #3
michaelbai
As joth's suggestion, splited WindowAndroid into WindowAndroid and ActivityWindowAndroid.
7 years, 1 month ago (2013-10-25 22:23:21 UTC) #4
Yaron
Newton can you review instead?
7 years, 1 month ago (2013-10-25 23:24:12 UTC) #5
newt (away)
I'm a bit confused. You've separated WindowAndroid into WindowAndroid and ActivityWindowAndroid, which makes the internals ...
7 years, 1 month ago (2013-10-27 19:57:50 UTC) #6
michaelbai
Because of webview, we can't pass ActivityWindowAndroid as parameter in some cases even the Activity ...
7 years, 1 month ago (2013-10-28 17:40:38 UTC) #7
michaelbai
ping
7 years, 1 month ago (2013-11-01 18:04:08 UTC) #8
joth
mostly looks good now, just a quibble on how we handle this in AutofillPopupGlue https://codereview.chromium.org/29303004/diff/130001/chrome/android/java/src/org/chromium/chrome/browser/autofill/AutofillPopupGlue.java ...
7 years, 1 month ago (2013-11-01 18:45:00 UTC) #9
michaelbai
PTAL https://codereview.chromium.org/29303004/diff/130001/chrome/android/java/src/org/chromium/chrome/browser/autofill/AutofillPopupGlue.java File chrome/android/java/src/org/chromium/chrome/browser/autofill/AutofillPopupGlue.java (right): https://codereview.chromium.org/29303004/diff/130001/chrome/android/java/src/org/chromium/chrome/browser/autofill/AutofillPopupGlue.java#newcode31 chrome/android/java/src/org/chromium/chrome/browser/autofill/AutofillPopupGlue.java:31: mAutofillPopup = new AutofillPopup(context, containerViewDelegate, this); I am ...
7 years, 1 month ago (2013-11-01 21:27:04 UTC) #10
joth
lgtm https://codereview.chromium.org/29303004/diff/210001/ui/android/java/src/org/chromium/ui/WindowAndroid.java File ui/android/java/src/org/chromium/ui/WindowAndroid.java (right): https://codereview.chromium.org/29303004/diff/210001/ui/android/java/src/org/chromium/ui/WindowAndroid.java#newcode60 ui/android/java/src/org/chromium/ui/WindowAndroid.java:60: logActivityRequiredWarning(); I think you'd be better having a ...
7 years, 1 month ago (2013-11-01 23:12:17 UTC) #11
michaelbai
@newt, Do you want to take another look? @yfriedman, Needs your owner approval for all ...
7 years, 1 month ago (2013-11-07 21:10:03 UTC) #12
newt (away)
I'd prefer not having the stub implementations in WindowAndroid. If callers need to use methods ...
7 years, 1 month ago (2013-11-07 21:55:12 UTC) #13
michaelbai
The WindowAndroid or ActivityWindowAndroid is not a WebView API, what we got from app is ...
7 years, 1 month ago (2013-11-07 22:18:23 UTC) #14
newt (away)
On 2013/11/07 22:18:23, michaelbai wrote: > The WindowAndroid or ActivityWindowAndroid is not a WebView API, ...
7 years, 1 month ago (2013-11-07 22:30:42 UTC) #15
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/michaelbai@chromium.org/29303004/320001
7 years, 1 month ago (2013-11-07 22:55:06 UTC) #16
commit-bot: I haz the power
Change committed as 233774
7 years, 1 month ago (2013-11-08 05:31:23 UTC) #17
frankf
On 2013/11/08 05:31:23, I haz the power (commit-bot) wrote: > Change committed as 233774 This ...
7 years, 1 month ago (2013-11-09 00:33:57 UTC) #18
joth
https://codereview.chromium.org/29303004/diff/320001/ui/android/java/src/org/chromium/ui/WindowAndroid.java File ui/android/java/src/org/chromium/ui/WindowAndroid.java (right): https://codereview.chromium.org/29303004/diff/320001/ui/android/java/src/org/chromium/ui/WindowAndroid.java#newcode41 ui/android/java/src/org/chromium/ui/WindowAndroid.java:41: assert context == context.getApplicationContext(); Can this just be removed?
7 years, 1 month ago (2013-11-09 02:22:10 UTC) #19
michaelbai
https://codereview.chromium.org/29303004/diff/320001/ui/android/java/src/org/chromium/ui/WindowAndroid.java File ui/android/java/src/org/chromium/ui/WindowAndroid.java (right): https://codereview.chromium.org/29303004/diff/320001/ui/android/java/src/org/chromium/ui/WindowAndroid.java#newcode41 ui/android/java/src/org/chromium/ui/WindowAndroid.java:41: assert context == context.getApplicationContext(); I think this make the ...
7 years, 1 month ago (2013-11-09 06:05:53 UTC) #20
joth
7 years, 1 month ago (2013-11-09 06:27:07 UTC) #21
Ah gotcha. Thanks.

On Friday, 8 November 2013, wrote:

>
> https://codereview.chromium.org/29303004/diff/320001/ui/
> android/java/src/org/chromium/ui/WindowAndroid.java
> File ui/android/java/src/org/chromium/ui/WindowAndroid.java (right):
>
> https://codereview.chromium.org/29303004/diff/320001/ui/
> android/java/src/org/chromium/ui/WindowAndroid.java#newcode41
> ui/android/java/src/org/chromium/ui/WindowAndroid.java:41: assert
> context == context.getApplicationContext();
> I think this make the people use the right class, I found there are 2
> places need to change, and will have patch soon.
>
> On 2013/11/09 02:22:11, joth wrote:
>
>> Can this just be removed?
>>
>
> https://codereview.chromium.org/29303004/
>

To unsubscribe from this group and stop receiving emails from it, send an email
to chromium-reviews+unsubscribe@chromium.org.

Powered by Google App Engine
This is Rietveld 408576698