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

Issue 900303002: [WebView] Add unique visual state request ids. (Closed)

Created:
5 years, 10 months ago by Ignacio Solla
Modified:
5 years, 10 months ago
Reviewers:
boliu
CC:
chromium-reviews, mlamouri+watch-content_chromium.org, creis+watch_chromium.org, nasko+codewatch_chromium.org, jam, darin-cc_chromium.org, mkwst+moarreviews-renderer_chromium.org, 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

[WebView] Add unique visual state request ids. Each flushVisualState request returns a unique id that allows callers to match requests with callbacks. The reasoning behind is to potentially allow clients to reuse VisualStateFlushCallback objects to avoid additional java allocations. BUG=455651 Committed: https://crrev.com/d011b93e7c8f966ba068b0c77c8a1400bdedee88 Cr-Commit-Position: refs/heads/master@{#315304}

Patch Set 1 #

Patch Set 2 : Rebase #

Patch Set 3 : Fix weird ident #

Total comments: 2

Patch Set 4 : Address review comments #

Unified diffs Side-by-side diffs Delta from patch set Stats (+66 lines, -45 lines) Patch
M android_webview/java/src/org/chromium/android_webview/AwContents.java View 1 2 3 4 chunks +18 lines, -8 lines 0 comments Download
M android_webview/javatests/src/org/chromium/android_webview/test/VisualStateTest.java View 1 2 3 4 chunks +34 lines, -31 lines 0 comments Download
M android_webview/native/aw_contents.h View 1 2 3 1 chunk +4 lines, -1 line 0 comments Download
M android_webview/native/aw_contents.cc View 1 2 3 1 chunk +10 lines, -5 lines 0 comments Download

Messages

Total messages: 14 (5 generated)
Ignacio Solla
5 years, 10 months ago (2015-02-05 18:11:14 UTC) #2
boliu
Write a CL description pls. code itself lgtm, although might be worthwhile to ask around ...
5 years, 10 months ago (2015-02-06 02:05:13 UTC) #3
Ignacio Solla
I have updated the design doc, hopefully we will get feedback there once you discuss ...
5 years, 10 months ago (2015-02-09 11:35:26 UTC) #5
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/900303002/60001
5 years, 10 months ago (2015-02-09 11:37:47 UTC) #7
commit-bot: I haz the power
Try jobs failed on following builders: ios_dbg_simulator on tryserver.chromium.mac (JOB_TIMED_OUT, no build URL) ios_rel_device_ng on ...
5 years, 10 months ago (2015-02-09 13:38:46 UTC) #9
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/900303002/60001
5 years, 10 months ago (2015-02-09 15:36:58 UTC) #11
commit-bot: I haz the power
Committed patchset #4 (id:60001)
5 years, 10 months ago (2015-02-09 15:37:52 UTC) #12
commit-bot: I haz the power
Patchset 4 (id:??) landed as https://crrev.com/d011b93e7c8f966ba068b0c77c8a1400bdedee88 Cr-Commit-Position: refs/heads/master@{#315304}
5 years, 10 months ago (2015-02-09 15:38:57 UTC) #13
Ignacio Solla
5 years, 10 months ago (2015-02-09 16:25:57 UTC) #14
Message was sent while issue was closed.
A revert of this CL (patchset #4 id:60001) has been created in
https://codereview.chromium.org/907723004/ by igsolla@chromium.org.

The reason for reverting is: This is breaking some bots, see for example:
https://chromegw.corp.google.com/i/chromium.linux/builders/Android%20Arm64%20...

https://chromegw.corp.google.com/i/chromium.linux/builders/Android%20Builder%...

The reason is:
M D ST: Write to static field
org.chromium.android_webview.AwContents.sNextVisualStateRequestId from instance
method
org.chromium.android_webview.AwContents.flushVisualState(AwContents$VisualStateFlushCallback)
 At AwContents.java

.

Powered by Google App Engine
This is Rietveld 408576698