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

Issue 11052019: <browser> Make new implementation the default. (Closed)

Created:
8 years, 2 months ago by lazyboy
Modified:
8 years, 2 months ago
CC:
chromium-reviews, joi+watch-content_chromium.org, Aaron Boodman, mihaip-chromium-reviews_chromium.org, darin-cc_chromium.org, jam
Visibility:
Public.

Description

<browser> Make new implementation the default. Old implementation will be togglable by a flag kEnableBrowserPluginOldImplementation. There are two js shims to create shadow DOM for two implementations, since we need to handle src differently in new path. This would also fix src attribute setting behavior in apps for the new path. Pending 1. Write tests to verify set src attribute fix for apps in new implementation path. BUG=153629, 142379 TESTED=BrowserTest tests pending. Checked with platform app: a. set src initially. b. set src later via js using element.src c. set src later via js using elem.setAttribute('src', ...) Committed: http://src.chromium.org/viewvc/chrome?view=rev&revision=160225

Patch Set 1 #

Patch Set 2 : Fix browsertests for browser plugin. #

Total comments: 4

Patch Set 3 : Remove flag from chrome://flags, add platform app check for both implementation. #

Unified diffs Side-by-side diffs Delta from patch set Stats (+39 lines, -28 lines) Patch
M chrome/renderer/chrome_content_renderer_client.cc View 1 2 1 chunk +4 lines, -5 lines 0 comments Download
M chrome/renderer/extensions/dispatcher.cc View 1 chunk +5 lines, -1 line 0 comments Download
M chrome/renderer/resources/extensions/browser_tag.js View 1 chunk +5 lines, -1 line 0 comments Download
A + chrome/renderer/resources/extensions/browser_tag_old.js View 0 chunks +-1 lines, --1 lines 0 comments Download
M chrome/renderer/resources/renderer_resources.grd View 1 chunk +1 line, -0 lines 0 comments Download
M content/browser/renderer_host/render_process_host_impl.cc View 1 chunk +1 line, -0 lines 0 comments Download
M content/public/common/content_constants.h View 1 chunk +0 lines, -3 lines 0 comments Download
M content/public/common/content_constants.cc View 1 chunk +0 lines, -3 lines 0 comments Download
M content/public/common/content_switches.h View 1 chunk +1 line, -0 lines 0 comments Download
M content/public/common/content_switches.cc View 1 chunk +4 lines, -0 lines 0 comments Download
M content/renderer/browser_plugin/browser_plugin_browsertest.cc View 1 4 chunks +5 lines, -5 lines 0 comments Download
M content/renderer/render_view_impl.cc View 1 chunk +11 lines, -8 lines 0 comments Download
M content/test/data/browser_plugin_embedder.html View 1 1 chunk +1 line, -1 line 0 comments Download
M content/test/data/browser_plugin_embedder_crash.html View 1 1 chunk +1 line, -1 line 0 comments Download
M content/test/data/browser_plugin_focus.html View 1 1 chunk +1 line, -1 line 0 comments Download

Messages

Total messages: 8 (0 generated)
lazyboy
Fady can you review this?
8 years, 2 months ago (2012-10-03 21:39:15 UTC) #1
Fady Samuel
LGTM. Please have mihaip@ review this as he wrote the original shim.
8 years, 2 months ago (2012-10-03 21:50:59 UTC) #2
lazyboy
Mihai, can you review this CL? Thanks.
8 years, 2 months ago (2012-10-03 22:24:32 UTC) #3
Mihai Parparita -not on Chrome
LGTM https://chromiumcodereview.appspot.com/11052019/diff/3002/chrome/browser/about_flags.cc File chrome/browser/about_flags.cc (right): https://chromiumcodereview.appspot.com/11052019/diff/3002/chrome/browser/about_flags.cc#newcode911 chrome/browser/about_flags.cc:911: "enable-browser-plugin-old-implementation", This seems pretty obscure, so showing it ...
8 years, 2 months ago (2012-10-03 22:44:00 UTC) #4
lazyboy
John, can you review this for OWNERS? Thanks. https://chromiumcodereview.appspot.com/11052019/diff/3002/chrome/browser/about_flags.cc File chrome/browser/about_flags.cc (right): https://chromiumcodereview.appspot.com/11052019/diff/3002/chrome/browser/about_flags.cc#newcode911 chrome/browser/about_flags.cc:911: "enable-browser-plugin-old-implementation", ...
8 years, 2 months ago (2012-10-03 23:26:57 UTC) #5
jam
lgtm
8 years, 2 months ago (2012-10-04 18:26:46 UTC) #6
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/lazyboy@chromium.org/11052019/1019
8 years, 2 months ago (2012-10-04 18:32:00 UTC) #7
commit-bot: I haz the power
8 years, 2 months ago (2012-10-04 21:01:57 UTC) #8
Change committed as 160225

Powered by Google App Engine
This is Rietveld 408576698