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

Unified Diff: chrome/browser/content_settings/host_content_settings_map.cc

Issue 8549011: Content settings UI for mouse lock (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Strings from Brian used Created 9 years, 1 month 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/content_settings/host_content_settings_map.cc
diff --git a/chrome/browser/content_settings/host_content_settings_map.cc b/chrome/browser/content_settings/host_content_settings_map.cc
index 37045489edb3856fee86e2a59ce809f859b2ddea..82815fc5d988b35d64c32229b33d5e704a9fdafe 100644
--- a/chrome/browser/content_settings/host_content_settings_map.cc
+++ b/chrome/browser/content_settings/host_content_settings_map.cc
@@ -332,6 +332,7 @@ bool HostContentSettingsMap::IsSettingAllowedForType(
case CONTENT_SETTINGS_TYPE_GEOLOCATION:
case CONTENT_SETTINGS_TYPE_NOTIFICATIONS:
case CONTENT_SETTINGS_TYPE_INTENTS:
+ case CONTENT_SETTINGS_TYPE_MOUSELOCK:
return setting == CONTENT_SETTING_ASK;
default:
return false;

Powered by Google App Engine
This is Rietveld 408576698