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

Issue 6350010: Put some plug-ins behind an infobar, where they have:... (Closed)

Created:
9 years, 11 months ago by Chris Evans
Modified:
9 years, 6 months ago
CC:
chromium-reviews, darin-cc_chromium.org, brettw-cc_chromium.org
Visibility:
Public.

Description

Put some plug-ins behind an infobar, where they have: - Been targeted by mass malware. - Do not yet have a good sandboxing story. BUG=60458 TEST=http://java.sun.com/products/plugin/1.4/demos/applets/Blink/example1.html with default plug-in settings. Committed: http://src.chromium.org/viewvc/chrome?view=rev&revision=72766

Patch Set 1 #

Total comments: 4

Patch Set 2 : '' #

Patch Set 3 : '' #

Total comments: 1

Patch Set 4 : '' #

Total comments: 1
Unified diffs Side-by-side diffs Delta from patch set Stats (+259 lines, -82 lines) Patch
M chrome/app/generated_resources.grd View 1 2 3 2 chunks +6 lines, -0 lines 0 comments Download
M chrome/browser/content_settings/host_content_settings_map.cc View 1 2 3 1 chunk +2 lines, -1 line 0 comments Download
M chrome/browser/renderer_host/browser_render_process_host.cc View 1 2 3 1 chunk +1 line, -0 lines 0 comments Download
M chrome/browser/tab_contents/tab_contents.cc View 1 2 3 3 chunks +155 lines, -35 lines 1 comment Download
M chrome/common/chrome_switches.h View 1 2 3 1 chunk +1 line, -0 lines 0 comments Download
M chrome/common/chrome_switches.cc View 1 2 3 1 chunk +4 lines, -0 lines 0 comments Download
M chrome/renderer/render_view.cc View 1 2 3 1 chunk +17 lines, -0 lines 0 comments Download
M webkit/plugins/npapi/plugin_group.h View 1 2 3 4 chunks +9 lines, -0 lines 0 comments Download
M webkit/plugins/npapi/plugin_group.cc View 1 2 3 4 chunks +15 lines, -1 line 0 comments Download
M webkit/plugins/npapi/plugin_group_unittest.cc View 1 2 3 4 chunks +12 lines, -10 lines 0 comments Download
M webkit/plugins/npapi/plugin_list.cc View 1 2 3 4 chunks +37 lines, -35 lines 0 comments Download

Messages

Total messages: 15 (0 generated)
Chris Evans
As discussed at length recently, we're going to move forward with plug-in security. We decided ...
9 years, 11 months ago (2011-01-24 11:19:57 UTC) #1
Bernhard Bauer
http://codereview.chromium.org/6350010/diff/1/chrome/browser/tab_contents/tab_contents.cc File chrome/browser/tab_contents/tab_contents.cc (right): http://codereview.chromium.org/6350010/diff/1/chrome/browser/tab_contents/tab_contents.cc#newcode380 chrome/browser/tab_contents/tab_contents.cc:380: UserMetrics::RecordAction(UserMetricsAction(uma.c_str())); The problem with this is if you don't ...
9 years, 11 months ago (2011-01-24 12:56:33 UTC) #2
Chris Evans
On 2011/01/24 12:56:33, Bernhard Bauer wrote: > http://codereview.chromium.org/6350010/diff/1/chrome/browser/tab_contents/tab_contents.cc > File chrome/browser/tab_contents/tab_contents.cc (right): > > http://codereview.chromium.org/6350010/diff/1/chrome/browser/tab_contents/tab_contents.cc#newcode380 ...
9 years, 11 months ago (2011-01-25 05:12:46 UTC) #3
Bernhard Bauer
On Tue, Jan 25, 2011 at 05:12, <cevans@chromium.org> wrote: > On 2011/01/24 12:56:33, Bernhard Bauer ...
9 years, 11 months ago (2011-01-25 10:15:38 UTC) #4
Chris Evans
On 2011/01/25 10:15:38, Bernhard Bauer wrote: > On Tue, Jan 25, 2011 at 05:12, <mailto:cevans@chromium.org> ...
9 years, 11 months ago (2011-01-26 05:02:42 UTC) #5
Bernhard Bauer
On 2011/01/26 05:02:42, Chris Evans wrote: > On 2011/01/25 10:15:38, Bernhard Bauer wrote: > > ...
9 years, 11 months ago (2011-01-26 12:49:25 UTC) #6
cevans
On Wed, Jan 26, 2011 at 4:49 AM, <bauerb@chromium.org> wrote: > On 2011/01/26 05:02:42, Chris ...
9 years, 11 months ago (2011-01-26 23:02:45 UTC) #7
jam
http://codereview.chromium.org/6350010/diff/34001/chrome/browser/tab_contents/tab_contents.cc File chrome/browser/tab_contents/tab_contents.cc (right): http://codereview.chromium.org/6350010/diff/34001/chrome/browser/tab_contents/tab_contents.cc#newcode251 chrome/browser/tab_contents/tab_contents.cc:251: // PluginInfoBar -------------------------------------------------------------- TabContents is not the place to ...
9 years, 11 months ago (2011-01-27 20:41:58 UTC) #8
brettw
On 2011/01/27 20:41:58, John Abd-El-Malek wrote: > http://codereview.chromium.org/6350010/diff/34001/chrome/browser/tab_contents/tab_contents.cc > File chrome/browser/tab_contents/tab_contents.cc (right): > > http://codereview.chromium.org/6350010/diff/34001/chrome/browser/tab_contents/tab_contents.cc#newcode251 ...
9 years, 11 months ago (2011-01-27 20:45:31 UTC) #9
jam
On Thu, Jan 27, 2011 at 12:41 PM, <jam@chromium.org> wrote: > > > http://codereview.chromium.org/6350010/diff/34001/chrome/browser/tab_contents/tab_contents.cc > ...
9 years, 11 months ago (2011-01-27 20:52:38 UTC) #10
cevans
On Thu, Jan 27, 2011 at 12:48 PM, John Abd-El-Malek <jam@chromium.org>wrote: > > > On ...
9 years, 11 months ago (2011-01-27 20:59:31 UTC) #11
brettw at google
On Thu, Jan 27, 2011 at 12:59 PM, Chris Evans <cevans@google.com> wrote: > On Thu, ...
9 years, 11 months ago (2011-01-27 21:07:14 UTC) #12
jam
On Thu, Jan 27, 2011 at 12:59 PM, Chris Evans <cevans@google.com> wrote: > On Thu, ...
9 years, 11 months ago (2011-01-27 21:20:30 UTC) #13
Bernhard Bauer
I'll do it tomorrow; I've got some free cycles anyway. Sorry for the mess. On ...
9 years, 11 months ago (2011-01-27 21:23:38 UTC) #14
jam
9 years, 11 months ago (2011-01-27 21:31:31 UTC) #15
Thanks, appreciate it.

Please give it a generic plugin related name as it should handle all the
plugin messages currently being dispatched in TC, i.e.
ViewHostMsg_MissingPluginStatus/ViewHostMsg_CrashedPlugin/ViewHostMsg_BlockedOutdatedPlugin

On Thu, Jan 27, 2011 at 1:23 PM, Bernhard Bauer <bauerb@chromium.org> wrote:

> I'll do it tomorrow; I've got some free cycles anyway.
>
> Sorry for the mess.
>
> On Thursday, January 27, 2011, John Abd-El-Malek <jam@chromium.org> wrote:
> >
> >
> > On Thu, Jan 27, 2011 at 12:59 PM, Chris Evans <cevans@google.com> wrote:
> >
> > On Thu, Jan 27, 2011 at 12:48 PM, John Abd-El-Malek <jam@chromium.org>
> wrote:
> >
> >
> >
> >
> > On Thu, Jan 27, 2011 at 12:41 PM,  <jam@chromium.org> wrote:
> >
> >
> >
> >
> >
>
http://codereview.chromium.org/6350010/diff/34001/chrome/browser/tab_contents...
> >
> >
> >
> > File chrome/browser/tab_contents/tab_contents.cc (right):
> >
> >
>
http://codereview.chromium.org/6350010/diff/34001/chrome/browser/tab_contents...
> > chrome/browser/tab_contents/tab_contents.cc:251: // PluginInfoBar
> > --------------------------------------------------------------
> > TabContents is not the place to put dump all these infobar delegates!
> > We're working on making it smaller and more focused on just displaying a
> > page, and this is taking it in the opposite direction.
> >
> > Please create a new WebNavigationObserver that filters these plugin
> > related messages and has the info bar there.
> > btw there was a message sent about this to chromium-dev about this two
> days ago (titled " Project Carnitas - Code Cleanup").  I don't mind going
> through and cleaning up the code that was added before we started pushing
> for a smaller TabContents, but I can't also move code afterwards since it
> should have been done the suggested way.  Otherwise we'll never finish the
> cleanup.
> >
> >
> >
> > If this isn't moved out in a day or two we'll have to revert it and it
> can be committed later using the more modular way.
> > I refactored an existing infobar (that has been there for a while) into
> two variants with a common base class. So I'm not sure a revert is necessary
> :) That said, I'll file a bug right away to fix this and Berhard and I will
> draw straws.
> >
> > Thanks.  Like Brett said, the old info bar didn't belong there, and this
> change made 100 lines that didn't belong here into 200 lines.  Will whoever
> draw the straw prioritize this real soon?
> >
> >
> >
> > CheersChris
> >
> >
> >
> >
> >
> >
> >
> > http://codereview.chromium.org/6350010/
> >
> >
> >
> >
>

Powered by Google App Engine
This is Rietveld 408576698