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

Unified Diff: chrome/browser/ui/views/bookmarks/bookmark_bar_view.cc

Issue 2512903002: Add bookmark bar/manager actions to track drag and drop. (Closed)
Patch Set: own BookmarkBar_DragEnd Created 4 years, 1 month 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 | « chrome/browser/resources/bookmark_manager/js/dnd.js ('k') | tools/metrics/actions/actions.xml » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/browser/ui/views/bookmarks/bookmark_bar_view.cc
diff --git a/chrome/browser/ui/views/bookmarks/bookmark_bar_view.cc b/chrome/browser/ui/views/bookmarks/bookmark_bar_view.cc
index 361c0a90a5eab2b270127cf475608aa5d6412326..659cf24d630d5bb9650c000ed3693d773bb1bf91 100644
--- a/chrome/browser/ui/views/bookmarks/bookmark_bar_view.cc
+++ b/chrome/browser/ui/views/bookmarks/bookmark_bar_view.cc
@@ -1202,6 +1202,8 @@ int BookmarkBarView::OnPerformDrop(const DropTargetEvent& event) {
DCHECK(data.is_valid());
bool copy = drop_info_->location.operation == ui::DragDropTypes::DRAG_COPY;
drop_info_.reset();
+
+ content::RecordAction(base::UserMetricsAction("BookmarkBar_DragEnd"));
return chrome::DropBookmarks(
browser_->profile(), data, parent_node, index, copy);
}
« no previous file with comments | « chrome/browser/resources/bookmark_manager/js/dnd.js ('k') | tools/metrics/actions/actions.xml » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698