(GTK only) When a user closes the Website Setting UI after changing at least...

(GTK only) When a user closes the Website Setting UI after changing at least one permission setting, then display an info bar that asks the user to reload the website on order the apply the changed setting.

BUG=140450


Review URL: https://chromiumcodereview.appspot.com/10857032

git-svn-id: svn://svn.chromium.org/chrome/trunk/src@151948 0039d316-1c4b-4281-b951-d872f2087c98
parent 08ea3f0a
......@@ -177,8 +177,10 @@ WebsiteSettingsPopupGtk::~WebsiteSettingsPopupGtk() {
void WebsiteSettingsPopupGtk::BubbleClosing(BubbleGtk* bubble,
bool closed_by_escape) {
if (presenter_.get())
if (presenter_.get()) {
presenter_->OnUIClosing();
presenter_.reset();
}
delete this;
}
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment