Index: chrome/browser/ui/permission_bubble/permission_prompt.h |
diff --git a/chrome/browser/ui/permission_bubble/permission_prompt.h b/chrome/browser/ui/permission_bubble/permission_prompt.h |
index ec5b65e9dcabcce0e7c49701bb1be83a018a7e0b..488fcbda51b1efadbaf19bc6743a22d1b8bc0b83 100644 |
--- a/chrome/browser/ui/permission_bubble/permission_prompt.h |
+++ b/chrome/browser/ui/permission_bubble/permission_prompt.h |
@@ -62,6 +62,10 @@ class PermissionPrompt { |
// is being shown and the mouse is not over the view area (!IsMouseHovered). |
virtual bool CanAcceptRequestUpdate() = 0; |
+ // Returns true the prompt UI will manage hiding itself when the user resolves |
tapted
2017/04/11 05:21:25
nit: true the -> true if the
Timothy Loh
2017/04/11 05:34:52
Done.
|
+ // the prompt, on page navigation/destruction, and on tab switching. |
+ virtual bool HidesAutomatically() = 0; |
+ |
// Hides the permission prompt. |
virtual void Hide() = 0; |