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

Unified Diff: chrome/browser/ui/hung_plugin_tab_helper.h

Issue 11748027: Rename HungPluginTabHelper::InfoBarDelegate to HungPluginInfoBarDelegate for consistency with other… (Closed) Base URL: svn://chrome-svn/chrome/trunk/src/
Patch Set: Created 7 years, 12 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
« no previous file with comments | « no previous file | chrome/browser/ui/hung_plugin_tab_helper.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/browser/ui/hung_plugin_tab_helper.h
===================================================================
--- chrome/browser/ui/hung_plugin_tab_helper.h (revision 175045)
+++ chrome/browser/ui/hung_plugin_tab_helper.h (working copy)
@@ -18,6 +18,7 @@
#include "content/public/browser/web_contents_user_data.h"
class FilePath;
+class InfoBarDelegate;
// Manages per-tab state with regard to hung plugins. This only handles
// Pepper plugins which we know are windowless. Hung NPAPI plugins (which
@@ -49,13 +50,13 @@
const content::NotificationSource& source,
const content::NotificationDetails& details) OVERRIDE;
+ // Called by an infobar when the user selects to kill the plugin.
+ void KillPlugin(int child_id);
+
private:
explicit HungPluginTabHelper(content::WebContents* contents);
friend class content::WebContentsUserData<HungPluginTabHelper>;
- class InfoBarDelegate;
- friend class InfoBarDelegate;
-
// Per-plugin state (since there could be more than one plugin hung). The
// integer key is the child process ID of the plugin process. This maintains
// the state for all plugins on this page that are currently hung, whether or
@@ -85,9 +86,6 @@
};
typedef std::map<int, linked_ptr<PluginState> > PluginStateMap;
- // Called by an infobar when the user selects to kill the plugin.
- void KillPlugin(int child_id);
-
// Called on a timer for a hung plugin to re-show the bar.
void OnReshowTimer(int child_id);
« no previous file with comments | « no previous file | chrome/browser/ui/hung_plugin_tab_helper.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698