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

Issue 2738663003: Fix TODOs related to SDK 24 (Closed)

Created:
3 years, 9 months ago by Shimi Zhang
Modified:
3 years, 9 months ago
Reviewers:
boliu, Torne
CC:
chromium-reviews, jam, darin-cc_chromium.org, android-webview-reviews_chromium.org, agrieve+watch_chromium.org
Target Ref:
refs/pending/heads/master
Project:
chromium
Visibility:
Public.

Description

Fix TODOs related to SDK 24 Originally from Issue 2427543003 written by hush BUG=546762, 543272 Review-Url: https://codereview.chromium.org/2738663003 Cr-Commit-Position: refs/heads/master@{#455347} Committed: https://chromium.googlesource.com/chromium/src/+/299bf5a2daf2784c7cdd2917483733e2262efb55

Patch Set 1 : Apply patch and resolve conflicts. #

Total comments: 1

Patch Set 2 : Keep mOffscreenPreRaster remain the same. #

Total comments: 2

Patch Set 3 : Re-revert fix TODOs related to SDK 24 #

Unified diffs Side-by-side diffs Delta from patch set Stats (+21 lines, -39 lines) Patch
M android_webview/apk/java/proguard.flags View 1 chunk +0 lines, -6 lines 0 comments Download
M android_webview/glue/java/src/com/android/webview/chromium/WebViewChromium.java View 1 2 3 chunks +12 lines, -12 lines 0 comments Download
M android_webview/java/src/org/chromium/android_webview/AwContents.java View 1 2 1 chunk +1 line, -3 lines 0 comments Download
M android_webview/java/src/org/chromium/android_webview/AwSettings.java View 1 2 chunks +1 line, -4 lines 0 comments Download
M content/public/android/java/src/org/chromium/content/browser/ContentViewCore.java View 1 2 2 chunks +3 lines, -5 lines 0 comments Download
M ui/android/java/src/org/chromium/ui/base/ViewAndroidDelegate.java View 4 chunks +4 lines, -9 lines 0 comments Download

Messages

Total messages: 30 (16 generated)
Shimi Zhang
Please review this CL, thanks :)
3 years, 9 months ago (2017-03-07 21:17:56 UTC) #5
boliu
Remove the "resolve conflict" part of Cl description lgtm after both comments are fixed https://codereview.chromium.org/2738663003/diff/1/android_webview/java/src/org/chromium/android_webview/AwSettings.java ...
3 years, 9 months ago (2017-03-08 00:02:25 UTC) #6
boliu
I mean drop the "Apply issue 2427543003" part altogether. You can reference that CL in ...
3 years, 9 months ago (2017-03-08 01:21:57 UTC) #13
Shimi Zhang
On 2017/03/08 01:21:57, boliu wrote: > I mean drop the "Apply issue 2427543003" part altogether. ...
3 years, 9 months ago (2017-03-08 01:33:49 UTC) #15
boliu
On 2017/03/08 01:33:49, Shimi Zhang wrote: > On 2017/03/08 01:21:57, boliu wrote: > > I ...
3 years, 9 months ago (2017-03-08 01:40:31 UTC) #16
Shimi Zhang
Ah, I see, so only description field matters for commit, and the first line is ...
3 years, 9 months ago (2017-03-08 02:01:26 UTC) #18
boliu
On 2017/03/08 02:01:26, Shimi Zhang wrote: > Ah, I see, so only description field matters ...
3 years, 9 months ago (2017-03-08 02:03:46 UTC) #19
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/v2/patch-status/codereview.chromium.org/2738663003/20001
3 years, 9 months ago (2017-03-08 02:06:31 UTC) #21
commit-bot: I haz the power
Committed patchset #2 (id:20001) as https://chromium.googlesource.com/chromium/src/+/299bf5a2daf2784c7cdd2917483733e2262efb55
3 years, 9 months ago (2017-03-08 02:17:07 UTC) #24
Torne
https://codereview.chromium.org/2738663003/diff/20001/android_webview/glue/java/src/com/android/webview/chromium/WebViewChromium.java File android_webview/glue/java/src/com/android/webview/chromium/WebViewChromium.java (right): https://codereview.chromium.org/2738663003/diff/20001/android_webview/glue/java/src/com/android/webview/chromium/WebViewChromium.java#newcode2214 android_webview/glue/java/src/com/android/webview/chromium/WebViewChromium.java:2214: mWebViewPrivate.super_startActivityForResult(intent, requestCode); This change caused crbug.com/699972 - this function ...
3 years, 9 months ago (2017-03-10 15:53:42 UTC) #26
boliu
https://codereview.chromium.org/2738663003/diff/20001/android_webview/glue/java/src/com/android/webview/chromium/WebViewChromium.java File android_webview/glue/java/src/com/android/webview/chromium/WebViewChromium.java (right): https://codereview.chromium.org/2738663003/diff/20001/android_webview/glue/java/src/com/android/webview/chromium/WebViewChromium.java#newcode2214 android_webview/glue/java/src/com/android/webview/chromium/WebViewChromium.java:2214: mWebViewPrivate.super_startActivityForResult(intent, requestCode); On 2017/03/10 15:53:42, Torne wrote: > This ...
3 years, 9 months ago (2017-03-10 16:54:47 UTC) #27
Torne
On 2017/03/10 16:54:47, boliu wrote: > https://codereview.chromium.org/2738663003/diff/20001/android_webview/glue/java/src/com/android/webview/chromium/WebViewChromium.java > File > android_webview/glue/java/src/com/android/webview/chromium/WebViewChromium.java > (right): > > ...
3 years, 9 months ago (2017-03-10 16:59:45 UTC) #28
boliu
A revert of this CL (patchset #2 id:20001) has been created in https://codereview.chromium.org/2745623003/ by boliu@chromium.org. ...
3 years, 9 months ago (2017-03-10 17:00:35 UTC) #29
boliu
3 years, 9 months ago (2017-03-10 17:03:45 UTC) #30
Message was sent while issue was closed.
On 2017/03/10 16:59:45, Torne wrote:
> On 2017/03/10 16:54:47, boliu wrote:
> >
>
https://codereview.chromium.org/2738663003/diff/20001/android_webview/glue/ja...
> > File
> >
>
android_webview/glue/java/src/com/android/webview/chromium/WebViewChromium.java
> > (right):
> > 
> >
>
https://codereview.chromium.org/2738663003/diff/20001/android_webview/glue/ja...
> >
>
android_webview/glue/java/src/com/android/webview/chromium/WebViewChromium.java:2214:
> > mWebViewPrivate.super_startActivityForResult(intent, requestCode);
> > On 2017/03/10 15:53:42, Torne wrote:
> > > This change caused crbug.com/699972 - this function only exists on N and
> > above.
> > > On M, we need to keep calling View.startActivityForResult I think? It's
not
> > > clear if the reflection is actually necessary here or not; that function
> > already
> > > existed in M as far as I can tell.
> > 
> > Huh, odd. How did this not throw an exception before then..?
> 
> View.startActivityForResult is already there in M, but is @hide. Calling it by
> reflection works, but we can't reference it directly because it's not in the
> SDK.
> 
> WebViewPrivateAccess.super_startActivityForResult was added to N to enable us
to
> not need the reflection any more, but it's not there in M.
> 
> We'll need to keep using reflection for M.
> 
> > 
> > Revert for now I guess?

That's tricky... need a looong comment then

Powered by Google App Engine
This is Rietveld 408576698