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

Unified Diff: chrome/browser/tab_contents/tab_contents.h

Issue 2967007: Disable outdated plugins, block non-sandboxed plugins. (Closed)
Patch Set: '' Created 10 years, 5 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
Index: chrome/browser/tab_contents/tab_contents.h
diff --git a/chrome/browser/tab_contents/tab_contents.h b/chrome/browser/tab_contents/tab_contents.h
index 3b199b205a20379a64f569f0dde1ec9ada67ca39..787d559c8856bf312f4d485c2b4606e2840ee0e2 100644
--- a/chrome/browser/tab_contents/tab_contents.h
+++ b/chrome/browser/tab_contents/tab_contents.h
@@ -67,6 +67,7 @@ class Message;
class AutocompleteHistoryManager;
class AutoFillManager;
+class BlockedPluginManager;
class BlockedPopupContainer;
class DOMUI;
class DownloadItem;
@@ -840,6 +841,8 @@ class TabContents : public PageNavigator,
virtual void OnDidGetApplicationInfo(
int32 page_id,
const webkit_glue::WebApplicationInfo& info);
+ virtual void OnDisabledOutdatedPlugin(const string16& name,
+ const GURL& update_url);
virtual void OnPageContents(const GURL& url,
int renderer_process_id,
int32 page_id,
@@ -890,6 +893,7 @@ class TabContents : public PageNavigator,
virtual RenderViewHostDelegate::FavIcon* GetFavIconDelegate();
virtual RenderViewHostDelegate::Autocomplete* GetAutocompleteDelegate();
virtual RenderViewHostDelegate::AutoFill* GetAutoFillDelegate();
+ virtual RenderViewHostDelegate::BlockedPlugin* GetBlockedPluginDelegate();
virtual AutomationResourceRoutingDelegate*
GetAutomationResourceRoutingDelegate();
virtual TabContents* GetAsTabContents();
@@ -1064,6 +1068,8 @@ class TabContents : public PageNavigator,
// PluginInstaller, lazily created.
scoped_ptr<PluginInstaller> plugin_installer_;
+ scoped_ptr<BlockedPluginManager> blocked_plugin_manager_;
+
// Handles drag and drop event forwarding to extensions.
BookmarkDrag* bookmark_drag_;
« no previous file with comments | « chrome/browser/renderer_host/resource_message_filter.cc ('k') | chrome/browser/tab_contents/tab_contents.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698