diff options
author | pfeldman@chromium.org <pfeldman@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2009-11-23 15:31:57 +0000 |
---|---|---|
committer | pfeldman@chromium.org <pfeldman@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2009-11-23 15:31:57 +0000 |
commit | 99105c310a87b3a7d22a97ef3a5b47ea53ca9fbb (patch) | |
tree | 99be7552be7a7e9723561439cb8ced6146cc9bba /chrome/browser | |
parent | e3e076552549213c3d432a6b2d9fbe1ac3ba31b4 (diff) | |
download | chromium_src-99105c310a87b3a7d22a97ef3a5b47ea53ca9fbb.zip chromium_src-99105c310a87b3a7d22a97ef3a5b47ea53ca9fbb.tar.gz chromium_src-99105c310a87b3a7d22a97ef3a5b47ea53ca9fbb.tar.bz2 |
DevTools: Add UMA entry for inspect element action.
BUG=28563
Review URL: http://codereview.chromium.org/431009
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@32803 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'chrome/browser')
-rw-r--r-- | chrome/browser/browser.cc | 4 | ||||
-rw-r--r-- | chrome/browser/tab_contents/render_view_context_menu.cc | 1 |
2 files changed, 3 insertions, 2 deletions
diff --git a/chrome/browser/browser.cc b/chrome/browser/browser.cc index 805d726..c0c23c9 100644 --- a/chrome/browser/browser.cc +++ b/chrome/browser/browser.cc @@ -1182,9 +1182,9 @@ void Browser::OpenCreateShortcutsDialog() { void Browser::ToggleDevToolsWindow(bool open_console) { if (open_console) - UserMetrics::RecordAction("ToggleDevToolsConsole", profile_); + UserMetrics::RecordAction("DevTools_ToggleConsole", profile_); else - UserMetrics::RecordAction("ToggleDevTools", profile_); + UserMetrics::RecordAction("DevTools_ToggleWindow", profile_); DevToolsManager::GetInstance()->ToggleDevToolsWindow( GetSelectedTabContents()->render_view_host(), open_console); } diff --git a/chrome/browser/tab_contents/render_view_context_menu.cc b/chrome/browser/tab_contents/render_view_context_menu.cc index 841e770..3b6baa5 100644 --- a/chrome/browser/tab_contents/render_view_context_menu.cc +++ b/chrome/browser/tab_contents/render_view_context_menu.cc @@ -814,6 +814,7 @@ void RenderViewContextMenu::CopyImageAt(int x, int y) { } void RenderViewContextMenu::Inspect(int x, int y) { + UserMetrics::RecordAction("DevTools_InspectElement", profile_); DevToolsManager::GetInstance()->InspectElement( source_tab_contents_->render_view_host(), x, y); } |