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

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

Issue 2850403002: Fix crash under ExclusiveAccessBubbleViews::AnimationProgressed(). (Closed)
Patch Set: Fix lifetime, clang 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/exclusive_access_bubble_views_context.h
diff --git a/chrome/browser/ui/views/exclusive_access_bubble_views_context.h b/chrome/browser/ui/views/exclusive_access_bubble_views_context.h
index d2300ea5f678a7ebfd51380b3d9fd7f6a98e2a6a..f8c631b0be459323609515e6319efcb4f59ba5db 100644
--- a/chrome/browser/ui/views/exclusive_access_bubble_views_context.h
+++ b/chrome/browser/ui/views/exclusive_access_bubble_views_context.h
@@ -47,6 +47,9 @@ class ExclusiveAccessBubbleViewsContext {
// Returns the bounds of the top level View in screen coordinate system.
virtual gfx::Rect GetTopContainerBoundsInScreen() = 0;
+
+ // Destroy any exclusive active bubble.
msw 2017/05/03 18:48:33 nit: "access", maybe describe why this is needed a
tapted 2017/05/04 06:42:07 Done.
+ virtual void DestroyAnyExclusiveAccessBubble() = 0;
};
#endif // CHROME_BROWSER_UI_VIEWS_EXCLUSIVE_ACCESS_BUBBLE_VIEWS_CONTEXT_H_

Powered by Google App Engine
This is Rietveld 408576698