summaryrefslogtreecommitdiff
path: root/chromium/chrome/browser/resources/settings/location_page/location_page.js
diff options
context:
space:
mode:
Diffstat (limited to 'chromium/chrome/browser/resources/settings/location_page/location_page.js')
-rw-r--r--chromium/chrome/browser/resources/settings/location_page/location_page.js94
1 files changed, 0 insertions, 94 deletions
diff --git a/chromium/chrome/browser/resources/settings/location_page/location_page.js b/chromium/chrome/browser/resources/settings/location_page/location_page.js
deleted file mode 100644
index 1d8201bb641..00000000000
--- a/chromium/chrome/browser/resources/settings/location_page/location_page.js
+++ /dev/null
@@ -1,94 +0,0 @@
-// Copyright 2015 The Chromium Authors. All rights reserved.
-// Use of this source code is governed by a BSD-style license that can be
-// found in the LICENSE file.
-
-/**
- * @fileoverview
- * 'cr-settings-location-page' is the settings page for location access.
- *
- * Example:
- *
- * <cr-settings-location-page prefs="{{prefs}}">
- * </cr-settings-location-page>
- * ... other pages ...
- *
- * @group Chrome Settings Elements
- * @element cr-settings-location-page
- */
-Polymer({
- is: 'cr-settings-location-page',
-
- properties: {
- /**
- * Preferences state.
- */
- prefs: {
- type: Object,
- notify: true,
- },
-
- /**
- * Route for the page.
- */
- route: String,
-
- /**
- * Whether the page is a subpage.
- */
- subpage: {
- type: Boolean,
- value: true,
- readOnly: true,
- },
-
- /**
- * ID of the page.
- */
- PAGE_ID: {
- type: String,
- value: 'location',
- readOnly: true,
- },
-
- /**
- * Title for the page header and navigation menu.
- */
- pageTitle: {
- type: String,
- value: '',
- },
-
- /**
- * Name of the 'iron-icon' to show.
- */
- icon: {
- type: String,
- value: 'communication:location-on',
- readOnly: true,
- },
-
- /**
- * Array of objects with url members.
- */
- block: {
- type: Array,
- },
-
- /**
- * Array of objects with url members.
- */
- allow: {
- type: Array,
- },
- },
-
- ready: function() {
- this.block = [];
- this.allow = [];
- },
-
- getTitleAndCount_: function(title, count) {
- return loadTimeData.getStringF(
- 'titleAndCount', loadTimeData.getString(title), count);
- },
-});