commit | 5d51107e1d94a0ea8740b593b333066fbe26d47d | [log] [tgz] |
---|---|---|
author | hcarmona <[email protected]> | Tue Feb 23 23:23:53 2016 |
committer | Commit bot <[email protected]> | Tue Feb 23 23:25:51 2016 |
tree | 447583f47c803a96062f8a24b6200d58d42d3019 | |
parent | a29e29e8f29e26bb8774bf642a2c1fd19957f26e [diff] [blame] |
Allow a bubble that is being closed to know why it was closed. This will be useful for the permission bubbles which sometimes need to requeue the permissions to show themselves again if the tab is switched back to. BUG=554711 Review URL: https://codereview.chromium.org/1728783002 Cr-Commit-Position: refs/heads/master@{#377118}
diff --git a/components/bubble/bubble_controller.h b/components/bubble/bubble_controller.h index 78889be3..f242309 100644 --- a/components/bubble/bubble_controller.h +++ b/components/bubble/bubble_controller.h
@@ -56,7 +56,7 @@ bool OwningFrameIs(const content::RenderFrameHost* frame) const; // Cleans up the delegate and its UI. - void DoClose(); + void DoClose(BubbleCloseReason reason); BubbleManager* manager_; scoped_ptr<BubbleDelegate> delegate_;