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

Unified Diff: chrome/browser/ui/views/session_crashed_bubble_view.h

Issue 341823005: Collects stats on how user interacts with the bubble. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Addressed comments on histograms.xml Created 6 years, 5 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/ui/views/session_crashed_bubble_view.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/browser/ui/views/session_crashed_bubble_view.h
diff --git a/chrome/browser/ui/views/session_crashed_bubble_view.h b/chrome/browser/ui/views/session_crashed_bubble_view.h
index a2d75bd18911cbf03431718071596d6d2c0a9f47..ea5a904a70778b375d813312f0e5206b4dff828d 100644
--- a/chrome/browser/ui/views/session_crashed_bubble_view.h
+++ b/chrome/browser/ui/views/session_crashed_bubble_view.h
@@ -62,6 +62,7 @@ class SessionCrashedBubbleView
virtual base::string16 GetWindowTitle() const OVERRIDE;
virtual bool ShouldShowWindowTitle() const OVERRIDE;
virtual bool ShouldShowCloseButton() const OVERRIDE;
+ virtual void OnWidgetDestroying(views::Widget* widget) OVERRIDE;
// views::BubbleDelegateView methods.
virtual void Init() OVERRIDE;
@@ -129,6 +130,10 @@ class SessionCrashedBubbleView
// Whether or not a navigation has started on current tab.
bool started_navigation_;
+ // Whether or not the user chose to restore previous session. It is used to
+ // collect bubble usage stats.
+ bool restored_;
+
DISALLOW_COPY_AND_ASSIGN(SessionCrashedBubbleView);
};
« no previous file with comments | « no previous file | chrome/browser/ui/views/session_crashed_bubble_view.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698