| Index: chrome/renderer/blocked_plugin.cc
|
| diff --git a/chrome/renderer/blocked_plugin.cc b/chrome/renderer/blocked_plugin.cc
|
| index d4e84e6389fce0b7fd6ff17d9d6fe65183aa2565..c72ca7c3aea782f599a244cbe6c75ad098886d29 100644
|
| --- a/chrome/renderer/blocked_plugin.cc
|
| +++ b/chrome/renderer/blocked_plugin.cc
|
| @@ -165,13 +165,16 @@ void BlockedPlugin::OnMenuItemSelected(
|
| const webkit_glue::CustomContextMenuContext& /* ignored */,
|
| unsigned id) {
|
| if (id == kMenuActionLoad) {
|
| + Send(new ViewHostMsg_UserMetricsRecordAction("Plugin_Load_Menu"));
|
| LoadPlugin();
|
| } else if (id == kMenuActionRemove) {
|
| + Send(new ViewHostMsg_UserMetricsRecordAction("Plugin_Hide_Menu"));
|
| HidePlugin();
|
| }
|
| }
|
|
|
| void BlockedPlugin::OnLoadBlockedPlugins() {
|
| + Send(new ViewHostMsg_UserMetricsRecordAction("Plugin_Load_UI"));
|
| LoadPlugin();
|
| }
|
|
|
| @@ -209,10 +212,12 @@ void BlockedPlugin::LoadPlugin() {
|
| }
|
|
|
| void BlockedPlugin::Load(const CppArgumentList& args, CppVariant* result) {
|
| + Send(new ViewHostMsg_UserMetricsRecordAction("Plugin_Load_Click"));
|
| LoadPlugin();
|
| }
|
|
|
| void BlockedPlugin::Hide(const CppArgumentList& args, CppVariant* result) {
|
| + Send(new ViewHostMsg_UserMetricsRecordAction("Plugin_Hide_Click"));
|
| HidePlugin();
|
| }
|
|
|
|
|