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

Issue 2759063002: Remove most of Widget (FrameViewBase) class from HTMLPlugInElement. (Closed)

Created:
3 years, 9 months ago by joelhockey
Modified:
3 years, 9 months ago
Reviewers:
haraken, slangley, dcheng
CC:
blink-reviews, blink-reviews-frames_chromium.org, blink-reviews-html_chromium.org, chromium-reviews, dglazkov+blink, kinuko+watch
Target Ref:
refs/heads/master
Project:
chromium
Visibility:
Public.

Description

Remove most of Widget (FrameViewBase) class from HTMLPlugInElement. * Replace references to FrameViewBase with PluginView subclass. * Create stub setPlugin/releasePlugin/ownedPlugin methods which redirect to HTMLFrameOwnerElement *Widget* methods for now. * Next step will be to remove the inheritance from PluginView to FrameViewBase and provide implementation of the new stub methods. BUG=637460 Review-Url: https://codereview.chromium.org/2759063002 Cr-Commit-Position: refs/heads/master@{#458571} Committed: https://chromium.googlesource.com/chromium/src/+/0c51a5fdf9f27c4758e4ae2b2b54dff2b8890181

Patch Set 1 #

Total comments: 9

Patch Set 2 : Move setPlugin/releasePlugin/ownedPlugin to HTMLPlugInElement. #

Patch Set 3 : null check for ownedPlugin() #

Patch Set 4 : y #

Patch Set 5 : null check for ownedPlugin() #

Patch Set 6 : Add comments #

Patch Set 7 : Fix shouldAccelerate #

Patch Set 8 : Fix shouldAccelerate #

Messages

Total messages: 45 (31 generated)
joelhockey
3 years, 9 months ago (2017-03-20 02:54:05 UTC) #6
slangley
lgtm https://codereview.chromium.org/2759063002/diff/1/third_party/WebKit/Source/core/html/HTMLFrameOwnerElement.h File third_party/WebKit/Source/core/html/HTMLFrameOwnerElement.h (right): https://codereview.chromium.org/2759063002/diff/1/third_party/WebKit/Source/core/html/HTMLFrameOwnerElement.h#newcode63 third_party/WebKit/Source/core/html/HTMLFrameOwnerElement.h:63: void setWidget(FrameViewBase*); Do we need a TODO here ...
3 years, 9 months ago (2017-03-20 03:05:43 UTC) #7
haraken
LGTM This looks like a good way forward. https://codereview.chromium.org/2759063002/diff/1/third_party/WebKit/Source/core/html/HTMLFrameOwnerElement.cpp File third_party/WebKit/Source/core/html/HTMLFrameOwnerElement.cpp (right): https://codereview.chromium.org/2759063002/diff/1/third_party/WebKit/Source/core/html/HTMLFrameOwnerElement.cpp#newcode296 third_party/WebKit/Source/core/html/HTMLFrameOwnerElement.cpp:296: DCHECK(!m_widget ...
3 years, 9 months ago (2017-03-20 03:06:35 UTC) #9
joelhockey
https://codereview.chromium.org/2759063002/diff/1/third_party/WebKit/Source/core/html/HTMLFrameOwnerElement.cpp File third_party/WebKit/Source/core/html/HTMLFrameOwnerElement.cpp (right): https://codereview.chromium.org/2759063002/diff/1/third_party/WebKit/Source/core/html/HTMLFrameOwnerElement.cpp#newcode296 third_party/WebKit/Source/core/html/HTMLFrameOwnerElement.cpp:296: DCHECK(!m_widget || m_widget->isPluginView()); On 2017/03/20 at 03:06:35, haraken wrote: ...
3 years, 9 months ago (2017-03-20 03:54:29 UTC) #12
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/2759063002/1
3 years, 9 months ago (2017-03-20 03:54:47 UTC) #14
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/2759063002/40001
3 years, 9 months ago (2017-03-20 07:05:36 UTC) #21
commit-bot: I haz the power
Try jobs failed on following builders: mac_chromium_rel_ng on master.tryserver.chromium.mac (JOB_FAILED, http://build.chromium.org/p/tryserver.chromium.mac/builders/mac_chromium_rel_ng/builds/410096)
3 years, 9 months ago (2017-03-20 07:53:15 UTC) #23
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/2759063002/60001
3 years, 9 months ago (2017-03-21 06:48:24 UTC) #26
dcheng
(adding myself as a reviewer so I remember to look tomorrow morning in PST AM)
3 years, 9 months ago (2017-03-21 07:12:51 UTC) #28
commit-bot: I haz the power
Try jobs failed on following builders: win_chromium_rel_ng on master.tryserver.chromium.win (JOB_FAILED, http://build.chromium.org/p/tryserver.chromium.win/builders/win_chromium_rel_ng/builds/404579)
3 years, 9 months ago (2017-03-21 08:37:08 UTC) #30
joelhockey
On 2017/03/21 at 07:12:51, dcheng wrote: > (adding myself as a reviewer so I remember ...
3 years, 9 months ago (2017-03-21 21:47:25 UTC) #37
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/2759063002/140001
3 years, 9 months ago (2017-03-21 21:48:05 UTC) #40
dcheng
No objections from me. lgtm
3 years, 9 months ago (2017-03-21 21:56:01 UTC) #42
commit-bot: I haz the power
3 years, 9 months ago (2017-03-21 22:00:36 UTC) #45
Message was sent while issue was closed.
Committed patchset #8 (id:140001) as
https://chromium.googlesource.com/chromium/src/+/0c51a5fdf9f27c4758e4ae2b2b54...

Powered by Google App Engine
This is Rietveld 408576698