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

Unified Diff: chrome/browser/ui/views/toolbar/toolbar_actions_bar_bubble_views.cc

Issue 2833603003: Log the creation of more dialog box types. (Closed)
Patch Set: Fix simple merge conflict. Created 3 years, 8 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/toolbar/toolbar_actions_bar_bubble_views.cc
diff --git a/chrome/browser/ui/views/toolbar/toolbar_actions_bar_bubble_views.cc b/chrome/browser/ui/views/toolbar/toolbar_actions_bar_bubble_views.cc
index 298654030d87dea886bf0f82dcd2edb352acb586..2f59d3dbafe19b88f4141403d843babedf7a9305 100644
--- a/chrome/browser/ui/views/toolbar/toolbar_actions_bar_bubble_views.cc
+++ b/chrome/browser/ui/views/toolbar/toolbar_actions_bar_bubble_views.cc
@@ -4,6 +4,7 @@
#include "chrome/browser/ui/views/toolbar/toolbar_actions_bar_bubble_views.h"
+#include "chrome/browser/ui/browser_dialogs.h"
#include "chrome/browser/ui/views/harmony/chrome_layout_provider.h"
#include "chrome/grit/locale_settings.h"
#include "ui/base/resource/resource_bundle.h"
@@ -34,6 +35,7 @@ ToolbarActionsBarBubbleViews::ToolbarActionsBarBubbleViews(
set_close_on_deactivate(delegate_->ShouldCloseOnDeactivate());
if (!anchor_view)
SetAnchorRect(gfx::Rect(anchor_point, gfx::Size()));
+ chrome::RecordDialogCreation(chrome::DialogIdentifier::TOOLBAR_ACTIONS_BAR);
}
ToolbarActionsBarBubbleViews::~ToolbarActionsBarBubbleViews() {}
« no previous file with comments | « chrome/browser/ui/views/payments/payment_request_dialog_view.cc ('k') | tools/metrics/histograms/histograms.xml » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698