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

Issue 2886013002: Enable WebViewTest.NestedGuestContainerBounds for --site-per-process (Closed)

Created:
3 years, 7 months ago by EhsanK
Modified:
3 years, 7 months ago
Reviewers:
lfg
CC:
chromium-reviews, jam, darin-cc_chromium.org, site_isolation_reviews_chromium.org
Target Ref:
refs/heads/master
Project:
chromium
Visibility:
Public.

Description

Enable WebViewTest.NestedGuestContainerBounds for --site-per-process The current implementation of BrowserPluginGuest::GetCoordinatesInEmbedderWebContents transforms guest_view_rect_.origin() to root view coordinates, which is incorrect when the guest is inside another guest. This is specifically true when PDF is embedded inside a <webview>. This CL will add the logic to properly modify GetCoordinatsInEmbedderWebContents such that the returned value is correctly within the coordinate of embedder. BUG=581898 TBR=wjmaclean@chromium.org Review-Url: https://codereview.chromium.org/2886013002 Cr-Commit-Position: refs/heads/master@{#472512} Committed: https://chromium.googlesource.com/chromium/src/+/0f41f67e8aad5ed714486a40555eae4cbb88a759

Patch Set 1 #

Total comments: 2
Unified diffs Side-by-side diffs Delta from patch set Stats (+8 lines, -4 lines) Patch
M chrome/browser/apps/guest_view/web_view_browsertest.cc View 1 chunk +0 lines, -4 lines 0 comments Download
M content/browser/browser_plugin/browser_plugin_guest.cc View 1 chunk +8 lines, -0 lines 2 comments Download

Messages

Total messages: 16 (9 generated)
EhsanK
Hello Lucas! PTAL. +[site-isolation-reviews] because the original patch related to PDFs inside OOPIFs.
3 years, 7 months ago (2017-05-17 15:16:13 UTC) #6
lfg
https://codereview.chromium.org/2886013002/diff/1/content/browser/browser_plugin/browser_plugin_guest.cc File content/browser/browser_plugin/browser_plugin_guest.cc (right): https://codereview.chromium.org/2886013002/diff/1/content/browser/browser_plugin/browser_plugin_guest.cc#newcode494 content/browser/browser_plugin/browser_plugin_guest.cc:494: .OffsetFromOrigin(); Is this plus the transformation above the same ...
3 years, 7 months ago (2017-05-17 18:03:25 UTC) #7
EhsanK
Thanks Lucas. Responded to the comment. PTAL. https://codereview.chromium.org/2886013002/diff/1/content/browser/browser_plugin/browser_plugin_guest.cc File content/browser/browser_plugin/browser_plugin_guest.cc (right): https://codereview.chromium.org/2886013002/diff/1/content/browser/browser_plugin/browser_plugin_guest.cc#newcode494 content/browser/browser_plugin/browser_plugin_guest.cc:494: .OffsetFromOrigin(); On ...
3 years, 7 months ago (2017-05-17 18:22:50 UTC) #8
lfg
lgtm On 2017/05/17 18:22:50, EhsanK wrote: > Thanks Lucas. Responded to the comment. PTAL. > ...
3 years, 7 months ago (2017-05-17 18:28:53 UTC) #9
EhsanK
Thanks!
3 years, 7 months ago (2017-05-17 18:30:40 UTC) #11
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/2886013002/1
3 years, 7 months ago (2017-05-17 18:33:21 UTC) #13
commit-bot: I haz the power
3 years, 7 months ago (2017-05-17 18:45:12 UTC) #16
Message was sent while issue was closed.
Committed patchset #1 (id:1) as
https://chromium.googlesource.com/chromium/src/+/0f41f67e8aad5ed714486a40555e...

Powered by Google App Engine
This is Rietveld 408576698