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

Unified Diff: chrome/browser/ui/views/frame/browser_view.cc

Issue 10917062: Add bookmark entry point histogram for bookmark prompt experiment (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Update chrome/tools/chromeactions.txt for BookmarkAdded Created 8 years, 3 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/ui/views/frame/browser_view.cc
diff --git a/chrome/browser/ui/views/frame/browser_view.cc b/chrome/browser/ui/views/frame/browser_view.cc
index b10999d50311c864d81719c0d2cc5a1a7ef23f88..a37788c9bb010a5d4cc0e6b6498aa897bba6dcca 100644
--- a/chrome/browser/ui/views/frame/browser_view.cc
+++ b/chrome/browser/ui/views/frame/browser_view.cc
@@ -2403,6 +2403,11 @@ void BrowserView::UpdateAcceleratorMetrics(
if (command_id == IDC_HELP_PAGE_VIA_KEYBOARD && key_code == ui::VKEY_F1)
content::RecordAction(UserMetricsAction("ShowHelpTabViaF1"));
+ if (command_id == IDC_BOOKMARK_PAGE)
+ UMA_HISTOGRAM_ENUMERATION("Bookmarks.EntryPoint",
+ bookmark_utils::ENTRY_POINT_ACCELERATOR,
+ bookmark_utils::ENTRY_POINT_LIMIT);
+
#if defined(OS_CHROMEOS)
// Collect information about the relative popularity of various accelerators
// on Chrome OS.

Powered by Google App Engine
This is Rietveld 408576698