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

Issue 2808723002: Remove unneeded calls to plugin.SetParentVisible. (Closed)

Created:
3 years, 8 months ago by joelhockey
Modified:
3 years, 8 months ago
Reviewers:
haraken, dcheng
CC:
blink-reviews, blink-reviews-frames_chromium.org, chromium-reviews
Target Ref:
refs/heads/master
Project:
chromium
Visibility:
Public.

Description

Remove unneeded calls to plugin.SetParentVisible. Plugin (WebPluginContainerImpl) does not keep its own state about visibility of parent, and once it is no longer inheriting from FrameViewBase, it will not implement any ParentVisible methods. If required, it could always call parent_.IsVisible. BUG=637460 Review-Url: https://codereview.chromium.org/2808723002 Cr-Commit-Position: refs/heads/master@{#463409} Committed: https://chromium.googlesource.com/chromium/src/+/e62eb16ec0d97fe0b59d39e3c5f9c0669e6d9cff

Patch Set 1 #

Patch Set 2 : No FrameRectsChanged #

Patch Set 3 : FrameRectsChanged is required #

Unified diffs Side-by-side diffs Delta from patch set Stats (+0 lines, -9 lines) Patch
M third_party/WebKit/Source/core/frame/FrameView.cpp View 1 2 3 chunks +0 lines, -9 lines 0 comments Download

Messages

Total messages: 20 (14 generated)
joelhockey
3 years, 8 months ago (2017-04-10 11:47:59 UTC) #7
haraken
LGTM
3 years, 8 months ago (2017-04-10 13:19:05 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/2808723002/40001
3 years, 8 months ago (2017-04-10 21:40:24 UTC) #15
commit-bot: I haz the power
Committed patchset #3 (id:40001) as https://chromium.googlesource.com/chromium/src/+/e62eb16ec0d97fe0b59d39e3c5f9c0669e6d9cff
3 years, 8 months ago (2017-04-10 21:49:11 UTC) #18
dcheng
LGTM
3 years, 8 months ago (2017-04-11 00:23:59 UTC) #19
joelhockey
3 years, 8 months ago (2017-04-12 04:34:25 UTC) #20
Message was sent while issue was closed.
A revert of this CL (patchset #3 id:40001) has been created in
https://codereview.chromium.org/2809913004/ by joelhockey@chromium.org.

The reason for reverting is: Although no tests failed from this change, and it
seems that pepper plugins do nothing for visibility changes:
https://cs.chromium.org/chromium/src/content/renderer/pepper/pepper_webplugin...

I think that this is still important for browser_plugin:
https://cs.chromium.org/chromium/src/content/renderer/browser_plugin/browser_....

Powered by Google App Engine
This is Rietveld 408576698