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

Issue 974483002: [WebView] Remove onFailure from VisualStateCallback. (Closed)

Created:
5 years, 9 months ago by Tobias Sargeant
Modified:
5 years, 9 months ago
Reviewers:
boliu, piman
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, piman+watch_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] Remove onFailure from VisualStateCallback. onFailure is only invoked when the render frame has been destroyed, but it is not really useful to distinguish onComplete from onFailure in that case. This also addresses the feedback that we received from API Council. This is a resubmit of CL 943633003 BUG=459539, 457184 Committed: https://crrev.com/8d503c0ae4a52ef7c935f98ae97f9582efdb660e Cr-Commit-Position: refs/heads/master@{#319068}

Patch Set 1 #

Total comments: 1

Patch Set 2 : Do not send visual state responses on COMMIT_FAILS #

Patch Set 3 : #

Total comments: 2

Patch Set 4 : #

Patch Set 5 : Test fix #

Unified diffs Side-by-side diffs Delta from patch set Stats (+46 lines, -61 lines) Patch
M android_webview/java/src/org/chromium/android_webview/AwContents.java View 2 chunks +6 lines, -9 lines 0 comments Download
M android_webview/javatests/src/org/chromium/android_webview/test/VisualStateTest.java View 8 chunks +0 lines, -40 lines 0 comments Download
M android_webview/native/aw_contents.cc View 2 1 chunk +4 lines, -4 lines 0 comments Download
M content/renderer/gpu/frame_swap_message_queue.cc View 1 1 chunk +6 lines, -2 lines 0 comments Download
M content/renderer/gpu/frame_swap_message_queue_unittest.cc View 1 1 chunk +2 lines, -4 lines 0 comments Download
M content/renderer/gpu/queue_message_swap_promise_unittest.cc View 1 2 3 4 1 chunk +28 lines, -2 lines 0 comments Download

Messages

Total messages: 15 (5 generated)
Tobias Sargeant
This CL also handles the propagation of swap failure information as requested by +piman in ...
5 years, 9 months ago (2015-03-02 18:20:26 UTC) #2
boliu
This is not what Antoine suggested in https://codereview.chromium.org/943633003#msg13 Let me rephrase it, and we can ...
5 years, 9 months ago (2015-03-02 18:43:59 UTC) #3
Tobias Sargeant
Reverted IPC-based implementation and replaced with simpler solution from https://codereview.chromium.org/943633003#msg13. Needs testing.
5 years, 9 months ago (2015-03-03 12:39:12 UTC) #4
boliu
lgtm https://codereview.chromium.org/974483002/diff/40001/content/public/browser/render_frame_host.h File content/public/browser/render_frame_host.h (left): https://codereview.chromium.org/974483002/diff/40001/content/public/browser/render_frame_host.h#oldcode100 content/public/browser/render_frame_host.h:100: // the supplied |callback| with a value of ...
5 years, 9 months ago (2015-03-03 15:06:51 UTC) #5
Tobias Sargeant
https://codereview.chromium.org/974483002/diff/40001/content/public/browser/render_frame_host.h File content/public/browser/render_frame_host.h (left): https://codereview.chromium.org/974483002/diff/40001/content/public/browser/render_frame_host.h#oldcode100 content/public/browser/render_frame_host.h:100: // the supplied |callback| with a value of true ...
5 years, 9 months ago (2015-03-03 15:15:51 UTC) #6
piman
LGTM, thanks
5 years, 9 months ago (2015-03-04 00:40:37 UTC) #7
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/974483002/60001
5 years, 9 months ago (2015-03-04 10:30:48 UTC) #10
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/974483002/80001
5 years, 9 months ago (2015-03-04 13:42:09 UTC) #13
commit-bot: I haz the power
Committed patchset #5 (id:80001)
5 years, 9 months ago (2015-03-04 14:41:30 UTC) #14
commit-bot: I haz the power
5 years, 9 months ago (2015-03-04 14:42:33 UTC) #15
Message was sent while issue was closed.
Patchset 5 (id:??) landed as
https://crrev.com/8d503c0ae4a52ef7c935f98ae97f9582efdb660e
Cr-Commit-Position: refs/heads/master@{#319068}

Powered by Google App Engine
This is Rietveld 408576698