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

Unified Diff: chrome/browser/ui/views/website_settings/website_settings_popup_view.cc

Issue 1441143006: Disable Notifications in Incognito (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@innoinherit
Patch Set: Address nits Created 5 years 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 | « chrome/browser/ui/views/website_settings/permission_selector_view.cc ('k') | chrome/chrome_browser.gypi » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/browser/ui/views/website_settings/website_settings_popup_view.cc
diff --git a/chrome/browser/ui/views/website_settings/website_settings_popup_view.cc b/chrome/browser/ui/views/website_settings/website_settings_popup_view.cc
index d17af8419da68627a5606dcb6cea70511e8c35f5..65cc367ae51f02f9ac091b9ee60e1a559d81041c 100644
--- a/chrome/browser/ui/views/website_settings/website_settings_popup_view.cc
+++ b/chrome/browser/ui/views/website_settings/website_settings_popup_view.cc
@@ -638,7 +638,7 @@ void WebsiteSettingsPopupView::SetPermissionInfo(
layout->StartRow(1, content_column);
PermissionSelectorView* selector = new PermissionSelectorView(
web_contents_ ? web_contents_->GetURL() : GURL::EmptyGURL(),
- *permission);
+ *permission, web_contents_->GetBrowserContext()->IsOffTheRecord());
selector->AddObserver(this);
layout->AddView(selector,
1,
« no previous file with comments | « chrome/browser/ui/views/website_settings/permission_selector_view.cc ('k') | chrome/chrome_browser.gypi » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698