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

Unified Diff: ash/system/toast/toast_overlay.h

Issue 1841563003: ARC Toast: Prevent onClosed event from being called multiple times (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 4 years, 9 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 | ash/system/toast/toast_overlay.cc » ('j') | ash/system/toast/toast_overlay.cc » ('J')
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: ash/system/toast/toast_overlay.h
diff --git a/ash/system/toast/toast_overlay.h b/ash/system/toast/toast_overlay.h
index 4bb3c5522c7540ef05917435db8d36dc5016f181..d01d98adf7bc37ca6526dbdf04cbd5a8ed352ade 100644
--- a/ash/system/toast/toast_overlay.h
+++ b/ash/system/toast/toast_overlay.h
@@ -56,6 +56,7 @@ class ASH_EXPORT ToastOverlay : public ui::LayerAnimationObserver {
void ClickDismissButtonForTesting(const ui::Event& event);
bool is_visible_ = false;
+ bool close_event_fired_ = false;
Delegate* const delegate_;
const std::string text_;
scoped_ptr<views::Widget> overlay_widget_;
« no previous file with comments | « no previous file | ash/system/toast/toast_overlay.cc » ('j') | ash/system/toast/toast_overlay.cc » ('J')

Powered by Google App Engine
This is Rietveld 408576698