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

Unified Diff: chrome/browser/resources/options/content_settings.html

Issue 15716012: Add a Preference for Google Services to Use the User's Location (Closed) Base URL: https://src.chromium.org/chrome/trunk/src/
Patch Set: Created 7 years, 6 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/resources/options/content_settings.html
===================================================================
--- chrome/browser/resources/options/content_settings.html (revision 204675)
+++ chrome/browser/resources/options/content_settings.html (working copy)
@@ -285,6 +285,24 @@
</span>
</span>
</div>
+ <if expr="pp_ifdef('enable_google_now')">
+ <div class="checkbox" id="geolocationCheckbox" hidden>
+ <span class="controlled-setting-with-label">
+ <input id="googleGeolocationAccessEnabled"
+ pref="googlegeolocationaccess.enabled"
+ metric="Options_GoogleGeolocationAccessCheckbox"
+ type="checkbox">
+ <span>
+ <label for="googleGeolocationAccessEnabled"
+ i18n-content="googleGeolocationAccessEnable">
+ </label>
+ <span class="controlled-setting-indicator"
+ pref="googlegeolocationaccess.enabled">
+ </span>
+ </span>
+ </span>
+ </div>
+ </if>
<div class="settings-row">
<button class="exceptions-list-button" contentType="location"
i18n-content="manageExceptions"></button>

Powered by Google App Engine
This is Rietveld 408576698