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

Unified Diff: chrome/browser/ui/views/confirm_bubble_views.cc

Issue 2802703004: Log creation for many dialog box types. (Closed)
Patch Set: Enums better match class names. 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/confirm_bubble_views.cc
diff --git a/chrome/browser/ui/views/confirm_bubble_views.cc b/chrome/browser/ui/views/confirm_bubble_views.cc
index 95bf4f0627efd25575fd551fb5a6a1e7eb8ff86f..0f8643500283318eb36e8dc49579b03da376ad6a 100644
--- a/chrome/browser/ui/views/confirm_bubble_views.cc
+++ b/chrome/browser/ui/views/confirm_bubble_views.cc
@@ -6,6 +6,7 @@
#include <utility>
+#include "chrome/browser/ui/browser_dialogs.h"
#include "chrome/browser/ui/confirm_bubble.h"
#include "chrome/browser/ui/confirm_bubble_model.h"
#include "components/constrained_window/constrained_window_views.h"
@@ -40,6 +41,8 @@ ConfirmBubbleViews::ConfirmBubbleViews(
link_ = new views::Link(model_->GetLinkText());
link_->set_listener(this);
link_->SetHorizontalAlignment(gfx::ALIGN_LEFT);
+
+ chrome::RecordDialogCreation(chrome::DialogIdentifier::CONFIRM_BUBBLE);
}
ConfirmBubbleViews::~ConfirmBubbleViews() {
« no previous file with comments | « chrome/browser/ui/views/bookmarks/bookmark_editor_view.cc ('k') | chrome/browser/ui/views/conflicting_module_view_win.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698