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

Issue 22035002: Android WebView: Make a custom Picture subclass (Closed)

Created:
7 years, 4 months ago by joth
Modified:
7 years, 4 months ago
CC:
chromium-reviews, android-webview-reviews_chromium.org
Visibility:
Public.

Description

Android WebView: Make a custom Picture subclass This allows the capturePicture path to work fully even when using mismatched skia version to the system. AwCreatePictureFunction is now obsolete and can be removed in a followup. BUG=b/9814370 Committed: https://src.chromium.org/viewvc/chrome?view=rev&revision=216667

Patch Set 1 #

Patch Set 2 : missing java file #

Patch Set 3 : native #

Patch Set 4 : simpler #

Patch Set 5 : versioning bug #

Patch Set 6 : rebase #

Total comments: 6

Patch Set 7 : review comment + fix clang. #

Patch Set 8 : remove dead IsSkiaVersionCompatible #

Patch Set 9 : endRecording is OK #

Unified diffs Side-by-side diffs Delta from patch set Stats (+278 lines, -100 lines) Patch
M android_webview/browser/browser_view_renderer.h View 1 2 3 4 5 6 7 3 chunks +3 lines, -4 lines 0 comments Download
M android_webview/browser/in_process_view_renderer.h View 1 2 3 4 5 6 2 chunks +12 lines, -3 lines 0 comments Download
M android_webview/browser/in_process_view_renderer.cc View 1 2 3 4 5 6 7 10 chunks +40 lines, -75 lines 0 comments Download
M android_webview/java/src/org/chromium/android_webview/AwContents.java View 1 2 3 4 5 6 2 chunks +4 lines, -4 lines 0 comments Download
A android_webview/java/src/org/chromium/android_webview/AwPicture.java View 1 2 3 4 5 6 7 8 1 chunk +95 lines, -0 lines 0 comments Download
M android_webview/native/android_webview_jni_registrar.cc View 2 chunks +4 lines, -2 lines 0 comments Download
M android_webview/native/aw_contents.h View 1 2 3 4 5 1 chunk +1 line, -4 lines 0 comments Download
M android_webview/native/aw_contents.cc View 1 2 3 4 5 4 chunks +9 lines, -8 lines 0 comments Download
A android_webview/native/aw_picture.h View 1 2 3 4 5 6 1 chunk +42 lines, -0 lines 0 comments Download
A android_webview/native/aw_picture.cc View 1 2 3 4 5 6 1 chunk +56 lines, -0 lines 0 comments Download
M android_webview/native/java_browser_view_renderer_helper.h View 1 chunk +2 lines, -0 lines 0 comments Download
M android_webview/native/java_browser_view_renderer_helper.cc View 1 chunk +7 lines, -0 lines 0 comments Download
M android_webview/native/webview_native.gyp View 2 chunks +3 lines, -0 lines 0 comments Download

Messages

Total messages: 13 (0 generated)
joth
7 years, 4 months ago (2013-08-03 07:15:51 UTC) #1
joth
(notes from the author) https://codereview.chromium.org/22035002/diff/14001/android_webview/browser/in_process_view_renderer.h File android_webview/browser/in_process_view_renderer.h (right): https://codereview.chromium.org/22035002/diff/14001/android_webview/browser/in_process_view_renderer.h#newcode39 android_webview/browser/in_process_view_renderer.h:39: // TODO(joth): consider extracting this ...
7 years, 4 months ago (2013-08-03 17:38:12 UTC) #2
joth
+sgurun as kristianm is ignoring me.
7 years, 4 months ago (2013-08-08 20:59:31 UTC) #3
Kristian Monsen
lgtm https://codereview.chromium.org/22035002/diff/14001/android_webview/java/src/org/chromium/android_webview/AwPicture.java File android_webview/java/src/org/chromium/android_webview/AwPicture.java (right): https://codereview.chromium.org/22035002/diff/14001/android_webview/java/src/org/chromium/android_webview/AwPicture.java#newcode107 android_webview/java/src/org/chromium/android_webview/AwPicture.java:107: } On 2013/08/03 17:38:12, joth wrote: > else ...
7 years, 4 months ago (2013-08-08 21:28:58 UTC) #4
sgurun-gerrit only
https://codereview.chromium.org/22035002/diff/14001/android_webview/java/src/org/chromium/android_webview/AwPicture.java File android_webview/java/src/org/chromium/android_webview/AwPicture.java (right): https://codereview.chromium.org/22035002/diff/14001/android_webview/java/src/org/chromium/android_webview/AwPicture.java#newcode85 android_webview/java/src/org/chromium/android_webview/AwPicture.java:85: Rect mClipBoundsTemporary = new Rect(); Is this intentional? why ...
7 years, 4 months ago (2013-08-08 22:11:19 UTC) #5
joth
Thanks! On 8 August 2013 15:11, <sgurun@chromium.org> wrote: > > https://codereview.chromium.**org/22035002/diff/14001/** > android_webview/java/src/org/**chromium/android_webview/**AwPicture.java<https://codereview.chromium.org/22035002/diff/14001/android_webview/java/src/org/chromium/android_webview/AwPicture.java> > File ...
7 years, 4 months ago (2013-08-08 22:13:15 UTC) #6
sgurun-gerrit only
lgtm k
7 years, 4 months ago (2013-08-08 22:14:31 UTC) #7
joth
Thanks +boliu for a committer stamp of approval https://codereview.chromium.org/22035002/diff/14001/android_webview/java/src/org/chromium/android_webview/AwPicture.java File android_webview/java/src/org/chromium/android_webview/AwPicture.java (right): https://codereview.chromium.org/22035002/diff/14001/android_webview/java/src/org/chromium/android_webview/AwPicture.java#newcode107 android_webview/java/src/org/chromium/android_webview/AwPicture.java:107: } ...
7 years, 4 months ago (2013-08-08 22:39:01 UTC) #8
boliu
lgtm https://codereview.chromium.org/22035002/diff/14001/android_webview/java/src/org/chromium/android_webview/AwPicture.java File android_webview/java/src/org/chromium/android_webview/AwPicture.java (right): https://codereview.chromium.org/22035002/diff/14001/android_webview/java/src/org/chromium/android_webview/AwPicture.java#newcode107 android_webview/java/src/org/chromium/android_webview/AwPicture.java:107: } On 2013/08/08 22:39:01, joth wrote: > On ...
7 years, 4 months ago (2013-08-08 23:05:10 UTC) #9
joth
On 8 August 2013 16:05, <boliu@chromium.org> wrote: > lgtm > > > > > > ...
7 years, 4 months ago (2013-08-08 23:10:10 UTC) #10
boliu
sg
7 years, 4 months ago (2013-08-08 23:11:35 UTC) #11
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/joth@chromium.org/22035002/36001
7 years, 4 months ago (2013-08-09 00:48:41 UTC) #12
commit-bot: I haz the power
7 years, 4 months ago (2013-08-09 12:35:14 UTC) #13
Message was sent while issue was closed.
Change committed as 216667

Powered by Google App Engine
This is Rietveld 408576698