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

Issue 2116663002: Test for BrowserPlugin-based WebView Focus (Closed)

Created:
4 years, 5 months ago by wjmaclean
Modified:
4 years, 5 months ago
Reviewers:
kenrb, Charlie Reis
CC:
chromium-reviews, darin-cc_chromium.org, nasko+codewatch_chromium.org, jam, creis+watch_chromium.org
Base URL:
https://chromium.googlesource.com/chromium/src.git@master
Target Ref:
refs/pending/heads/master
Project:
chromium
Visibility:
Public.

Description

Test for BrowserPlugin-based WebView Focus This test accompanies https://codereview.chromium.org/2101663002/ but was landed after to (1) allow the original CL to land sooner, and (2) to facilitate merging the original CL to M52. BUG=619906 CQ_INCLUDE_TRYBOTS=tryserver.chromium.linux:linux_site_isolation Committed: https://crrev.com/b65ea7939693ae12a9134d9caaf33b2cc10a2f61 Cr-Commit-Position: refs/heads/master@{#404252}

Patch Set 1 #

Patch Set 2 : Add missing test files. #

Patch Set 3 : Rebase, fix some DCHECKS. #

Total comments: 7

Patch Set 4 : Address comments. #

Total comments: 13

Patch Set 5 : Address creis@ comments. #

Patch Set 6 : Revise surface waiting. #

Total comments: 2

Messages

Total messages: 32 (11 generated)
wjmaclean
Test for https://codereview.chromium.org/2101663002/ I may want to iterate on this, but if you have any ...
4 years, 5 months ago (2016-06-30 20:58:21 UTC) #4
Charlie Reis
Can you have someone more familiar with BrowserPlugin tests review this first? I'm happy to ...
4 years, 5 months ago (2016-06-30 21:20:56 UTC) #5
wjmaclean
kenrb@ ?
4 years, 5 months ago (2016-06-30 21:37:11 UTC) #7
commit-bot: I haz the power
Dry run: CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/v2/patch-status/codereview.chromium.org/2116663002/40001
4 years, 5 months ago (2016-07-01 15:18:12 UTC) #9
commit-bot: I haz the power
Dry run: This issue passed the CQ dry run.
4 years, 5 months ago (2016-07-01 16:28:38 UTC) #11
kenrb
https://codereview.chromium.org/2116663002/diff/40001/content/browser/frame_host/render_widget_host_view_child_frame.cc File content/browser/frame_host/render_widget_host_view_child_frame.cc (right): https://codereview.chromium.org/2116663002/diff/40001/content/browser/frame_host/render_widget_host_view_child_frame.cc#newcode357 content/browser/frame_host/render_widget_host_view_child_frame.cc:357: frame_count_++; Should this be reset to zero when a ...
4 years, 5 months ago (2016-07-05 14:30:57 UTC) #12
wjmaclean
See comments below, PTAL? https://codereview.chromium.org/2116663002/diff/40001/content/browser/frame_host/render_widget_host_view_child_frame.cc File content/browser/frame_host/render_widget_host_view_child_frame.cc (right): https://codereview.chromium.org/2116663002/diff/40001/content/browser/frame_host/render_widget_host_view_child_frame.cc#newcode357 content/browser/frame_host/render_widget_host_view_child_frame.cc:357: frame_count_++; On 2016/07/05 14:30:56, kenrb ...
4 years, 5 months ago (2016-07-05 15:04:22 UTC) #13
kenrb
lgtm https://codereview.chromium.org/2116663002/diff/40001/content/public/test/browser_test_utils.cc File content/public/test/browser_test_utils.cc (right): https://codereview.chromium.org/2116663002/diff/40001/content/public/test/browser_test_utils.cc#newcode1050 content/public/test/browser_test_utils.cc:1050: void WaitForSurfaceReady(content::WebContents* web_contents) { On 2016/07/05 15:04:22, wjmaclean ...
4 years, 5 months ago (2016-07-05 15:32:02 UTC) #14
wjmaclean
On 2016/07/05 15:32:02, kenrb wrote: > lgtm > > https://codereview.chromium.org/2116663002/diff/40001/content/public/test/browser_test_utils.cc > File content/public/test/browser_test_utils.cc (right): > ...
4 years, 5 months ago (2016-07-05 15:39:35 UTC) #15
Charlie Reis
Thanks. Mainly some requests for documentation below. https://codereview.chromium.org/2116663002/diff/60001/content/browser/frame_host/render_widget_host_view_child_frame.h File content/browser/frame_host/render_widget_host_view_child_frame.h (right): https://codereview.chromium.org/2116663002/diff/60001/content/browser/frame_host/render_widget_host_view_child_frame.h#newcode221 content/browser/frame_host/render_widget_host_view_child_frame.h:221: uint32_t surface_frame_count_; ...
4 years, 5 months ago (2016-07-06 18:28:50 UTC) #16
wjmaclean
I've attempted to address your comments, let me know if this is better? PTAL https://codereview.chromium.org/2116663002/diff/60001/content/browser/frame_host/render_widget_host_view_child_frame.h ...
4 years, 5 months ago (2016-07-06 19:49:31 UTC) #17
Charlie Reis
Ok, LGTM with one simplifying suggestion below. https://codereview.chromium.org/2116663002/diff/60001/content/browser/frame_host/render_widget_host_view_child_frame.h File content/browser/frame_host/render_widget_host_view_child_frame.h (right): https://codereview.chromium.org/2116663002/diff/60001/content/browser/frame_host/render_widget_host_view_child_frame.h#newcode221 content/browser/frame_host/render_widget_host_view_child_frame.h:221: uint32_t surface_frame_count_; ...
4 years, 5 months ago (2016-07-06 20:17:13 UTC) #18
commit-bot: I haz the power
Dry run: CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/v2/patch-status/codereview.chromium.org/2116663002/100001
4 years, 5 months ago (2016-07-07 16:24:27 UTC) #20
wjmaclean
After removing the un-tested first time through the loop, I started seeing some occasional failures, ...
4 years, 5 months ago (2016-07-07 16:24:44 UTC) #21
Charlie Reis
New approach LGTM. Ken, does it look correct? https://codereview.chromium.org/2116663002/diff/100001/content/browser/frame_host/render_widget_host_view_child_frame.cc File content/browser/frame_host/render_widget_host_view_child_frame.cc (right): https://codereview.chromium.org/2116663002/diff/100001/content/browser/frame_host/render_widget_host_view_child_frame.cc#newcode355 content/browser/frame_host/render_widget_host_view_child_frame.cc:355: nit: ...
4 years, 5 months ago (2016-07-07 17:22:09 UTC) #22
kenrb
lgtm
4 years, 5 months ago (2016-07-07 17:24:32 UTC) #23
commit-bot: I haz the power
Dry run: Try jobs failed on following builders: linux_site_isolation on tryserver.chromium.linux (JOB_FAILED, http://build.chromium.org/p/tryserver.chromium.linux/builders/linux_site_isolation/builds/2480)
4 years, 5 months ago (2016-07-07 18:22:14 UTC) #25
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/2116663002/100001
4 years, 5 months ago (2016-07-07 18:24:47 UTC) #27
commit-bot: I haz the power
Committed patchset #6 (id:100001)
4 years, 5 months ago (2016-07-07 22:17:21 UTC) #29
commit-bot: I haz the power
CQ bit was unchecked.
4 years, 5 months ago (2016-07-07 22:17:32 UTC) #30
commit-bot: I haz the power
4 years, 5 months ago (2016-07-07 22:19:34 UTC) #32
Message was sent while issue was closed.
Patchset 6 (id:??) landed as
https://crrev.com/b65ea7939693ae12a9134d9caaf33b2cc10a2f61
Cr-Commit-Position: refs/heads/master@{#404252}

Powered by Google App Engine
This is Rietveld 408576698