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

Unified Diff: chrome/browser/ui/chrome_pages.cc

Issue 1266583003: Fix the links in the media bubble pointing to the media UI. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Rename Show[Default]ContentSettings[Exceptions] Created 5 years, 5 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/chrome_pages.cc
diff --git a/chrome/browser/ui/chrome_pages.cc b/chrome/browser/ui/chrome_pages.cc
index 7faf5a7167c6fe76295fc1129a5dbb8df775708e..d75d548ff35f10f3e65690a7ad80d80403757dd4 100644
--- a/chrome/browser/ui/chrome_pages.cc
+++ b/chrome/browser/ui/chrome_pages.cc
@@ -295,11 +295,20 @@ void ShowSettingsSubPageInTabbedBrowser(Browser* browser,
ShowSingletonTabOverwritingNTP(browser, params);
}
+void ShowContentSettingsExceptions(Browser* browser,
+ ContentSettingsType content_settings_type) {
+ ShowSettingsSubPage(
+ browser,
+ kContentSettingsExceptionsSubPage + std::string(kHashMark) +
+ options::ContentSettingsHandler::ContentSettingsTypeToGroupName(
+ content_settings_type));
+}
+
void ShowContentSettings(Browser* browser,
ContentSettingsType content_settings_type) {
ShowSettingsSubPage(
browser,
- kContentSettingsExceptionsSubPage + std::string(kHashMark) +
+ kContentSettingsSubPage + std::string(kHashMark) +
options::ContentSettingsHandler::ContentSettingsTypeToGroupName(
content_settings_type));
}

Powered by Google App Engine
This is Rietveld 408576698