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

Issue 2927703003: Move ObjectContentType entirely to HTMLPlugInElement (Closed)

Created:
3 years, 6 months ago by Nate Chapin
Modified:
3 years, 6 months ago
Reviewers:
Stephen Chennney
CC:
chromium-reviews, blink-reviews-html_chromium.org, dglazkov+blink, blink-reviews, blink-reviews-frames_chromium.org, kinuko+watch, platform-architecture-syd+reviews-web_chromium.org
Target Ref:
refs/heads/master
Project:
chromium
Visibility:
Public.

Description

Move ObjectContentType entirely to HTMLPlugInElement There's no need to go to LocalFrameClientImpl to determine how to load a plugin element, that was a purely pre-blink necessity. Simplify a bunch of logic around HTMLPlugInElement to assume that url_ and service_type_ are always set and correct by the time the ObjectContentType is being determined. BUG= Review-Url: https://codereview.chromium.org/2927703003 Cr-Commit-Position: refs/heads/master@{#478683} Committed: https://chromium.googlesource.com/chromium/src/+/2718186cc8ac74b38b9a7304764642f05c76bb81

Patch Set 1 #

Patch Set 2 : More #

Total comments: 2
Unified diffs Side-by-side diffs Delta from patch set Stats (+84 lines, -180 lines) Patch
M third_party/WebKit/Source/core/frame/LocalFrameClient.h View 1 1 chunk +0 lines, -5 lines 0 comments Download
M third_party/WebKit/Source/core/html/HTMLEmbedElement.cpp View 1 1 chunk +1 line, -1 line 0 comments Download
M third_party/WebKit/Source/core/html/HTMLObjectElement.h View 1 1 chunk +1 line, -3 lines 0 comments Download
M third_party/WebKit/Source/core/html/HTMLObjectElement.cpp View 1 5 chunks +20 lines, -48 lines 2 comments Download
M third_party/WebKit/Source/core/html/HTMLPlugInElement.h View 1 2 chunks +10 lines, -14 lines 0 comments Download
M third_party/WebKit/Source/core/html/HTMLPlugInElement.cpp View 1 6 chunks +52 lines, -50 lines 0 comments Download
M third_party/WebKit/Source/core/loader/EmptyClients.h View 1 chunk +0 lines, -6 lines 0 comments Download
M third_party/WebKit/Source/core/loader/FrameLoaderTypes.h View 1 chunk +0 lines, -7 lines 0 comments Download
M third_party/WebKit/Source/web/LocalFrameClientImpl.h View 1 1 chunk +0 lines, -4 lines 0 comments Download
M third_party/WebKit/Source/web/LocalFrameClientImpl.cpp View 1 2 chunks +0 lines, -42 lines 0 comments Download

Dependent Patchsets:

Messages

Total messages: 20 (13 generated)
Nate Chapin
Hi schenney@, would you mind reviewing this cleanup? I'm not actually fixing any of your ...
3 years, 6 months ago (2017-06-08 18:07:02 UTC) #11
Stephen Chennney
I'm not a real expert here, but it does look OK to me. Browser tests ...
3 years, 6 months ago (2017-06-12 15:31:30 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/2927703003/20001
3 years, 6 months ago (2017-06-12 16:23:05 UTC) #14
commit-bot: I haz the power
Committed patchset #2 (id:20001) as https://chromium.googlesource.com/chromium/src/+/2718186cc8ac74b38b9a7304764642f05c76bb81
3 years, 6 months ago (2017-06-12 18:14:29 UTC) #17
huangs
Look's like controls-cast-overlay-slow-fade.html is consistently failing after this patch; PTAL?
3 years, 6 months ago (2017-06-12 21:45:23 UTC) #18
Nate Chapin
On 2017/06/12 21:45:23, huangs wrote: > Look's like controls-cast-overlay-slow-fade.html is consistently failing after > this ...
3 years, 6 months ago (2017-06-12 21:51:29 UTC) #19
Devlin
3 years, 6 months ago (2017-06-12 21:53:25 UTC) #20
Message was sent while issue was closed.
A revert of this CL (patchset #2 id:20001) has been created in
https://codereview.chromium.org/2933213002/ by rdevlin.cronin@chromium.org.

The reason for reverting is: Looks like schenney's unavailable at the moment;
speculatively reverting for layout test
virtual/new-remote-playback-pipeline/media/controls/controls-cast-overlay-slow-fade.html
failures (e.g.
https://build.chromium.org/p/chromium.linux/builders/Linux%20Tests/builds/57955).

Powered by Google App Engine
This is Rietveld 408576698