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

Unified Diff: chrome/browser/previews/previews_infobar_delegate.h

Issue 2820793003: Track Previews infobar dismissals due to tab closure (Closed)
Patch Set: 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
« no previous file with comments | « no previous file | chrome/browser/previews/previews_infobar_delegate.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/browser/previews/previews_infobar_delegate.h
diff --git a/chrome/browser/previews/previews_infobar_delegate.h b/chrome/browser/previews/previews_infobar_delegate.h
index cc35b24bd614e54eb96743b107a7609a0af19ed0..f362be5c2a58d71a574dda0d2228860e1cc085b7 100644
--- a/chrome/browser/previews/previews_infobar_delegate.h
+++ b/chrome/browser/previews/previews_infobar_delegate.h
@@ -37,6 +37,7 @@ class PreviewsInfoBarDelegate : public ConfirmInfoBarDelegate {
INFOBAR_DISMISSED_BY_USER = 2,
INFOBAR_DISMISSED_BY_NAVIGATION = 3,
INFOBAR_DISMISSED_BY_RELOAD = 4,
+ INFOBAR_DISMISSED_BY_TAB_CLOSURE = 5,
INFOBAR_INDEX_BOUNDARY
};
@@ -68,6 +69,7 @@ class PreviewsInfoBarDelegate : public ConfirmInfoBarDelegate {
bool LinkClicked(WindowOpenDisposition disposition) override;
PreviewsInfoBarType infobar_type_;
+ mutable PreviewsInfoBarAction infobar_dismissed_action_;
const base::string16 message_text_;
« no previous file with comments | « no previous file | chrome/browser/previews/previews_infobar_delegate.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698